Skip to content

Commit 5ae248c

Browse files
committed
tb: extend binary preload by one word
1 parent 9ce7f5d commit 5ae248c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rtl/tb_croc_soc.sv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,8 @@ module tb_croc_soc #(
281281
end
282282
end
283283
end
284+
// Write one extra word to prevent the core from fetching uninitialized instructions
285+
jtag_write(dm::SBData0, 32'h0);
284286
jtag_dbg.write_dmi(dm::SBCS, JtagInitSbcs);
285287
$fclose(file);
286288
endtask

0 commit comments

Comments
 (0)