mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-03 02:05:21 +00:00
All regression tests which matter are running!
This commit is contained in:
parent
1b59182d59
commit
70d0169019
@ -360,8 +360,6 @@ module testbench;
|
|||||||
StartIndex = begin_signature_addr >> LogXLEN;
|
StartIndex = begin_signature_addr >> LogXLEN;
|
||||||
EndIndex = (end_signature_addr >> LogXLEN) + 8;
|
EndIndex = (end_signature_addr >> LogXLEN) + 8;
|
||||||
BaseIndex = P.UNCORE_RAM_BASE >> LogXLEN;
|
BaseIndex = P.UNCORE_RAM_BASE >> LogXLEN;
|
||||||
$display("Copying from uncore RAM to shadow RAM. begin_signature_addr = %x, end_signature_addr = %x, StartIndex = %x, EndIndex = %x, BaseIndex = %x, LogXLEN = %x",
|
|
||||||
begin_signature_addr, end_signature_addr, StartIndex, EndIndex, BaseIndex, LogXLEN);
|
|
||||||
for(ShadowIndex = StartIndex; ShadowIndex <= EndIndex; ShadowIndex++) begin
|
for(ShadowIndex = StartIndex; ShadowIndex <= EndIndex; ShadowIndex++) begin
|
||||||
testbench.DCacheFlushFSM.ShadowRAM[ShadowIndex] = dut.uncore.uncore.ram.ram.memory.RAM[ShadowIndex - BaseIndex];
|
testbench.DCacheFlushFSM.ShadowRAM[ShadowIndex] = dut.uncore.uncore.ram.ram.memory.RAM[ShadowIndex - BaseIndex];
|
||||||
end
|
end
|
||||||
@ -379,8 +377,6 @@ module testbench;
|
|||||||
StartIndex = begin_signature_addr >> LogXLEN;
|
StartIndex = begin_signature_addr >> LogXLEN;
|
||||||
EndIndex = (end_signature_addr >> LogXLEN) + 8;
|
EndIndex = (end_signature_addr >> LogXLEN) + 8;
|
||||||
BaseIndex = P.UNCORE_RAM_BASE >> LogXLEN;
|
BaseIndex = P.UNCORE_RAM_BASE >> LogXLEN;
|
||||||
$display("Copying from uncore RAM to shadow RAM. begin_signature_addr = %x, end_signature_addr = %x, StartIndex = %x, EndIndex = %x, BaseIndex = %x, LogXLEN = %x",
|
|
||||||
begin_signature_addr, end_signature_addr, StartIndex, EndIndex, BaseIndex, LogXLEN);
|
|
||||||
for(ShadowIndex = StartIndex; ShadowIndex <= EndIndex; ShadowIndex++) begin
|
for(ShadowIndex = StartIndex; ShadowIndex <= EndIndex; ShadowIndex++) begin
|
||||||
testbench.DCacheFlushFSM.ShadowRAM[ShadowIndex] = dut.core.lsu.dtim.dtim.ram.RAM[ShadowIndex - BaseIndex];
|
testbench.DCacheFlushFSM.ShadowRAM[ShadowIndex] = dut.core.lsu.dtim.dtim.ram.RAM[ShadowIndex - BaseIndex];
|
||||||
end
|
end
|
||||||
|
@ -917,4 +917,7 @@ RVMODEL_DATA_BEGIN
|
|||||||
# signature output
|
# signature output
|
||||||
wally_signature:
|
wally_signature:
|
||||||
.fill 0x200, 8, 0x00000000
|
.fill 0x200, 8, 0x00000000
|
||||||
|
sig_end_canary:
|
||||||
|
.int 0x0
|
||||||
|
rvtest_sig_end:
|
||||||
RVMODEL_DATA_END
|
RVMODEL_DATA_END
|
||||||
|
Loading…
Reference in New Issue
Block a user