mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Added spoof of uart addresses +0x2 and +0x6.
This commit is contained in:
parent
cec7625d91
commit
80d376877a
@ -475,7 +475,7 @@ module testbench;
|
|||||||
end \
|
end \
|
||||||
if(`"STAGE`"=="M") begin \
|
if(`"STAGE`"=="M") begin \
|
||||||
// override on special conditions \
|
// override on special conditions \
|
||||||
if (dut.core.lsu.LSUPAdrM == 'h10000005) \
|
if ((dut.core.lsu.LSUPAdrM == 'h10000002) | (dut.core.lsu.LSUPAdrM == 'h10000005) | (dut.core.lsu.LSUPAdrM == 'h10000006)) \
|
||||||
//$display("%tns, %d instrs: Overwrite UART's LSR in memory stage.", $time, InstrCountW-1); \
|
//$display("%tns, %d instrs: Overwrite UART's LSR in memory stage.", $time, InstrCountW-1); \
|
||||||
force dut.core.ieu.dp.ReadDataM = ExpectedMemReadDataM; \
|
force dut.core.ieu.dp.ReadDataM = ExpectedMemReadDataM; \
|
||||||
else \
|
else \
|
||||||
|
Loading…
Reference in New Issue
Block a user