1
0
Fork 0

jtag_vpi: Use a parameter for INIT_DELAY vs constant

This commit is contained in:
Megan Wachs 2017-09-07 09:06:07 -07:00 committed by GitHub
parent 19eabb6728
commit f68390e458
1 changed files with 3 additions and 2 deletions

View File

@ -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;