mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
testbench now understands lw not aligned to 8 bytes
also busybear now has first 500 instead of 100 instrs and prints current instrs less
This commit is contained in:
parent
e19af0a52a
commit
632fecf43a
@ -130,6 +130,6 @@ add wave /testbench_busybear/InstrWName
|
||||
#set DefaultRadix hexadecimal
|
||||
#
|
||||
#-- Run the Simulation
|
||||
run 1300
|
||||
run 2220
|
||||
#run -all
|
||||
##quit
|
||||
|
@ -163,7 +163,9 @@ module testbench_busybear();
|
||||
scan_file_PC = $fscanf(data_file_PC, "%x\n", InstrF);
|
||||
// then expected PC value
|
||||
scan_file_PC = $fscanf(data_file_PC, "%x\n", pcExpected);
|
||||
$display("loaded %0d instructions", instrs);
|
||||
if (instrs > 175 || instrs % 10 == 0) begin
|
||||
$display("loaded %0d instructions", instrs);
|
||||
end
|
||||
instrs += 1;
|
||||
// are we at a branch/jump?
|
||||
case (lastInstrF[6:0]) //todo: add C versions of these
|
||||
|
Loading…
Reference in New Issue
Block a user