Skip to content
Snippets Groups Projects
Verified Commit cfedc8ce authored by Minyong Li's avatar Minyong Li :speech_balloon:
Browse files

testbench/CanCore.tb.v: add reset and delays before $stop

This stops at the middle of memory write back.
parent fb03c4c0
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,10 @@ initial begin
$readmemh("../../../../firmware/test/test.prog.hex", canCore.programMemory.mem);
$readmemh("../../../../firmware/test/test.data.hex", canCore.dataMemory.mem);
$stop;
#2 reset <= 0;
// Refer to test.prog.hex for the number of steps
#59 $stop;
end
endmodule
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment