forked from Github_Repos/cvw
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
a2598b2b30
commit
27142f0fef
@ -130,6 +130,6 @@ add wave /testbench_busybear/InstrWName
|
|||||||
#set DefaultRadix hexadecimal
|
#set DefaultRadix hexadecimal
|
||||||
#
|
#
|
||||||
#-- Run the Simulation
|
#-- Run the Simulation
|
||||||
run 1300
|
run 2220
|
||||||
#run -all
|
#run -all
|
||||||
##quit
|
##quit
|
||||||
|
@ -163,7 +163,9 @@ module testbench_busybear();
|
|||||||
scan_file_PC = $fscanf(data_file_PC, "%x\n", InstrF);
|
scan_file_PC = $fscanf(data_file_PC, "%x\n", InstrF);
|
||||||
// then expected PC value
|
// then expected PC value
|
||||||
scan_file_PC = $fscanf(data_file_PC, "%x\n", pcExpected);
|
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;
|
instrs += 1;
|
||||||
// are we at a branch/jump?
|
// are we at a branch/jump?
|
||||||
case (lastInstrF[6:0]) //todo: add C versions of these
|
case (lastInstrF[6:0]) //todo: add C versions of these
|
||||||
|
Loading…
Reference in New Issue
Block a user