diff --git a/vsrc/jtag_vpi.v b/vsrc/jtag_vpi.v index c9b53aef..45d426b1 100644 --- a/vsrc/jtag_vpi.v +++ b/vsrc/jtag_vpi.v @@ -42,7 +42,8 @@ module JTAGVPI #( parameter DEBUG_INFO = 0, parameter TP = 1, 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, @@ -89,7 +90,7 @@ begin // Small delay to get past reset instability // before checking for init_done - #200 + #INIT_DELAY wait(init_done) if($test$plusargs("jtag_vpi_enable")) main;