File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed
Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -44,12 +44,13 @@ class AddrTransStage
4444 AddrTransNdPort .default,
4545 Some (new AddrTransPeerPort )
4646 ) {
47- val selectedIn = io.in.bits
48- val selectedInVirtAddr = Cat (selectedIn.memRequest.addr(wordLength - 1 , 2 ), 0 .U (2 .W ))
49- val peer = io.peer.get
50- val resultOut = WireDefault (0 .U .asTypeOf(Valid (new MemReqNdPort )))
51- val out = resultOut.bits
52- resultOutReg := resultOut
47+ val selectedIn = io.in.bits
48+ val peer = io.peer.get
49+ val out = if (isNoPrivilege) io.out.bits else resultOutReg.bits
50+ if (isNoPrivilege) {
51+ io.in.ready := io.out.ready
52+ io.out.valid := io.in.valid
53+ }
5354
5455 val tlbBlockingReg = RegInit (false .B )
5556 tlbBlockingReg := tlbBlockingReg
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- ARGS=' -O=release --dedup --disable-annotation-unknown --add-vivado-ram-address-conflict-synthesis-bug-workaround --disable-all-randomization -- lowering-options disallowLocalVariables'
3+ ARGS=' -O=release --dedup --disable-annotation-unknown --add-vivado-ram-address-conflict-synthesis-bug-workaround --lowering-options disallowLocalVariables'
44
55# Workaround
66for arg do
@@ -12,7 +12,7 @@ for arg do
1212done
1313
1414if [[ " $OSTYPE " == " darwin" * ]]; then
15- firtool_darwin -O=release --dedup --disable-annotation-unknown --add-vivado-ram-address-conflict-synthesis-bug-workaround --disable-all-randomization -- lowering-options disallowLocalVariables " $@ "
15+ firtool_darwin -O=release --dedup --disable-annotation-unknown --add-vivado-ram-address-conflict-synthesis-bug-workaround --lowering-options disallowLocalVariables " $@ "
1616else
17- firtool_ubuntu2004 -O=release --dedup --disable-annotation-unknown --add-vivado-ram-address-conflict-synthesis-bug-workaround --disable-all-randomization -- lowering-options disallowLocalVariables " $@ "
17+ firtool_ubuntu2004 -O=release --dedup --disable-annotation-unknown --add-vivado-ram-address-conflict-synthesis-bug-workaround --lowering-options disallowLocalVariables " $@ "
1818fi
You can’t perform that action at this time.
0 commit comments