forked from Github_Repos/cvw
Switched coremark to RV64IM
This commit is contained in:
parent
d2fe42d6d0
commit
57f1ca5259
@ -111,6 +111,6 @@ set DefaultRadix hexadecimal
|
|||||||
-- Run the Simulation
|
-- Run the Simulation
|
||||||
#run 7402000
|
#run 7402000
|
||||||
#run 12750
|
#run 12750
|
||||||
#run -all
|
run -all
|
||||||
run 5000
|
#run 21400
|
||||||
#quit
|
#quit
|
||||||
|
@ -48,7 +48,7 @@ module testbench();
|
|||||||
|
|
||||||
// pick tests based on modes supported
|
// pick tests based on modes supported
|
||||||
initial
|
initial
|
||||||
tests = {"../../imperas-riscv-tests/riscv-ovpsim-plus/examples/CoreMark/coremark.RV64I.bare.elf.memfile", "1000"};
|
tests = {"../../imperas-riscv-tests/riscv-ovpsim-plus/examples/CoreMark/coremark.RV64IM.bare.elf.memfile", "1000"};
|
||||||
string signame, memfilename;
|
string signame, memfilename;
|
||||||
logic [31:0] GPIOPinsIn, GPIOPinsOut, GPIOPinsEn;
|
logic [31:0] GPIOPinsIn, GPIOPinsOut, GPIOPinsEn;
|
||||||
logic UARTSin, UARTSout;
|
logic UARTSin, UARTSout;
|
||||||
@ -76,8 +76,8 @@ module testbench();
|
|||||||
$readmemh(memfilename, dut.uncore.dtim.RAM);
|
$readmemh(memfilename, dut.uncore.dtim.RAM);
|
||||||
for(j=268437829; j < 268566528; j = j+1)
|
for(j=268437829; j < 268566528; j = j+1)
|
||||||
dut.uncore.dtim.RAM[j] = 64'b0;
|
dut.uncore.dtim.RAM[j] = 64'b0;
|
||||||
// ProgramAddrMapFile = "../../imperas-riscv-tests/riscv-ovpsim-plus/examples/CoreMark/coremark.RV64I.bare.elf.objdump.addr";
|
// ProgramAddrMapFile = "../../imperas-riscv-tests/riscv-ovpsim-plus/examples/CoreMark/coremark.RV64IM.bare.elf.objdump.addr";
|
||||||
// ProgramAddrMapFile = "../../imperas-riscv-tests/riscv-ovpsim-plus/examples/CoreMark/coremark.RV64I.bare.elf.objdump.lab";
|
// ProgramAddrMapFile = "../../imperas-riscv-tests/riscv-ovpsim-plus/examples/CoreMark/coremark.RV64IM.bare.elf.objdump.lab";
|
||||||
reset = 1; # 22; reset = 0;
|
reset = 1; # 22; reset = 0;
|
||||||
end
|
end
|
||||||
// generate clock to sequence tests
|
// generate clock to sequence tests
|
||||||
|
Loading…
Reference in New Issue
Block a user