jtag_vpi: Use a parameter for INIT_DELAY vs constant
This commit is contained in:
parent
19eabb6728
commit
f68390e458
@ -42,7 +42,8 @@ module JTAGVPI
|
|||||||
#( parameter DEBUG_INFO = 0,
|
#( parameter DEBUG_INFO = 0,
|
||||||
parameter TP = 1,
|
parameter TP = 1,
|
||||||
parameter TCK_HALF_PERIOD = 2,// 50, // Clock half period (Clock period = 100 ns => 10 MHz)
|
parameter TCK_HALF_PERIOD = 2,// 50, // Clock half period (Clock period = 100 ns => 10 MHz)
|
||||||
parameter CMD_DELAY = 2 // 1000
|
parameter CMD_DELAY = 2, // 1000
|
||||||
|
parameter INIT_DELAY = 200
|
||||||
)
|
)
|
||||||
(
|
(
|
||||||
output jtag_TMS,
|
output jtag_TMS,
|
||||||
@ -89,7 +90,7 @@ begin
|
|||||||
|
|
||||||
// Small delay to get past reset instability
|
// Small delay to get past reset instability
|
||||||
// before checking for init_done
|
// before checking for init_done
|
||||||
#200
|
#INIT_DELAY
|
||||||
|
|
||||||
wait(init_done)
|
wait(init_done)
|
||||||
if($test$plusargs("jtag_vpi_enable")) main;
|
if($test$plusargs("jtag_vpi_enable")) main;
|
||||||
|
Loading…
Reference in New Issue
Block a user