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:
Noah Boorstin 2021-01-30 19:52:47 +00:00
parent cca60ed06d
commit a82f8977c6
2 changed files with 3 additions and 1 deletions

View File

@ -130,6 +130,6 @@ add wave /testbench_busybear/InstrWName
#set DefaultRadix hexadecimal
#
#-- Run the Simulation
run 621530
run 1483850
#run -all
##quit

View File

@ -180,6 +180,8 @@ module testbench_busybear();
PCtext = {PCtext, " ", PCtext2};
end
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
scan_file_PC = $fscanf(data_file_PC, "%x\n", pcExpected);
if (instrs <= 10 || (instrs <= 100 && instrs % 10 == 0) ||