mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-09 05:05:25 +00:00
busybear: NOP out floating point instructions for now
Why does linux even try to do float stuff doing booting?? also, now runs the first 100k instructions!
This commit is contained in:
parent
cca60ed06d
commit
a82f8977c6
@ -130,6 +130,6 @@ add wave /testbench_busybear/InstrWName
|
|||||||
#set DefaultRadix hexadecimal
|
#set DefaultRadix hexadecimal
|
||||||
#
|
#
|
||||||
#-- Run the Simulation
|
#-- Run the Simulation
|
||||||
run 621530
|
run 1483850
|
||||||
#run -all
|
#run -all
|
||||||
##quit
|
##quit
|
||||||
|
@ -180,6 +180,8 @@ module testbench_busybear();
|
|||||||
PCtext = {PCtext, " ", PCtext2};
|
PCtext = {PCtext, " ", PCtext2};
|
||||||
end
|
end
|
||||||
scan_file_PC = $fscanf(data_file_PC, "%x\n", InstrF);
|
scan_file_PC = $fscanf(data_file_PC, "%x\n", InstrF);
|
||||||
|
if(InstrF[6:0] == 7'b1010011) // for now, NOP out any float instrs
|
||||||
|
InstrF = 32'b0010011;
|
||||||
// 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);
|
||||||
if (instrs <= 10 || (instrs <= 100 && instrs % 10 == 0) ||
|
if (instrs <= 10 || (instrs <= 100 && instrs % 10 == 0) ||
|
||||||
|
Loading…
Reference in New Issue
Block a user