Administrator approval is now required for registering new accounts. If you are registering a new account, and are external to the University, please ask the repository owner to contact ServiceLine to request your account be approved. Repository owners must include the newly registered email address, and specific repository in the request for approval.

Verified Commit cfedc8ce authored by Minyong Li's avatar Minyong Li 💬
Browse files

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

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