Increase DTM idle cycle hint to 8 cycles -- see #6

This commit is contained in:
Luke Wren 2022-10-19 21:11:18 +01:00
parent 1953773ca5
commit dff278ea05
2 changed files with 8 additions and 2 deletions

View File

@ -77,8 +77,13 @@ hazard3_reset_sync dmi_reset_sync_u (
.rst_n_out (rst_n_dmi)
);
// Note the idle hint of 8 cycles was empirically found to be the correct
// value for a 1:2 TCK:clk_dmi ratio. OpenOCD doesn't particularly care
// because it will just increase idle cycles until it stops seeing BUSY.
hazard3_jtag_dtm #(
.IDCODE (IDCODE)
.IDCODE (IDCODE),
.DTMCS_IDLE_HINT (8)
) inst_hazard3_jtag_dtm (
.tck (tck),
.trst_n (trst_n),

View File

@ -78,7 +78,8 @@ hazard3_reset_sync dmi_reset_sync_u (
);
hazard3_jtag_dtm #(
.IDCODE (IDCODE)
.IDCODE (IDCODE),
.DTMCS_IDLE_HINT (8)
) inst_hazard3_jtag_dtm (
.tck (tck),
.trst_n (trst_n),