calib delay?
This commit is contained in:
@@ -53,21 +53,14 @@ int main(int argc, char **argv) {
|
||||
const unsigned int db_clk_Hz = 10; // 10 ms -> 10 Hz
|
||||
const unsigned int db_ticks = main_clk_Hz / db_clk_Hz;
|
||||
|
||||
// tb->i_calib_delay = 20;
|
||||
// start pulse
|
||||
|
||||
tb->i_startN = 0;
|
||||
tick(++tickcount, tb, tfp);
|
||||
tb->i_startN = 1;
|
||||
|
||||
for (int k = 0; k < 394; k++)
|
||||
// for (int k = 0; k < tb->i_calib_delay + 10; k++)
|
||||
tick(++tickcount, tb, tfp);
|
||||
for (int k = 0; k < (1<<17); k++)
|
||||
tick(++tickcount, tb, tfp);
|
||||
|
||||
// stop pulse
|
||||
tb->i_stopN = 0;
|
||||
tick(++tickcount, tb, tfp);
|
||||
tb->i_stopN = 1;
|
||||
|
||||
for (int k = 0; k < (1<<16); k++)
|
||||
tick(++tickcount, tb, tfp);
|
||||
|
||||
Reference in New Issue
Block a user