diff --git a/sim/wally-batch.do b/sim/wally-batch.do index 127cb9ec7..1b157ffed 100644 --- a/sim/wally-batch.do +++ b/sim/wally-batch.do @@ -83,13 +83,12 @@ if {$2 eq "configOptions"} { vopt wkdir/work_${1}_${2}.testbench -work wkdir/work_${1}_${2} -G TEST=$2 -o testbenchopt +cover=sbecf vsim -lib wkdir/work_${1}_${2} testbenchopt -fatal 7 -suppress 3829 -coverage } else { - vopt +acc wkdir/work_${1}_${2}.testbench -work wkdir/work_${1}_${2} -G TEST=$2 -o testbenchopt + vopt wkdir/work_${1}_${2}.testbench -work wkdir/work_${1}_${2} -G TEST=$2 -o testbenchopt vsim -lib wkdir/work_${1}_${2} testbenchopt -fatal 7 -suppress 3829 } # vsim -lib wkdir/work_${1}_${2} testbenchopt -fatal 7 -suppress 3829 # power add generates the logging necessary for said generation. # power add -r /dut/core/* - do wave.do run -all # power off -r /dut/core/* } diff --git a/testbench/testbench.sv b/testbench/testbench.sv index 04ec74407..feec06c01 100644 --- a/testbench/testbench.sv +++ b/testbench/testbench.sv @@ -384,10 +384,10 @@ module testbench; if (LoadMem) begin if (TEST == "buildroot") begin memFile = $fopen(bootmemfilename, "rb"); - readResult = $fread(dut.uncore.uncore.ram.ram.memory.RAM, memFile); + readResult = $fread(dut.uncore.uncore.bootrom.bootrom.memory.ROM, memFile); $fclose(memFile); memFile = $fopen(memfilename, "rb"); - readResult = $fread(dut.uncore.uncore.bootrom.bootrom.memory.ROM, memFile); + readResult = $fread(dut.uncore.uncore.ram.ram.memory.RAM, memFile); $fclose(memFile); end else $readmemh(memfilename, dut.uncore.uncore.ram.ram.memory.RAM);