We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e96393 commit 9ad7339Copy full SHA for 9ad7339
rtl/tc_l2/src/main/scala/core/inst/PCReg.scala
@@ -17,12 +17,13 @@ class PCReg() extends Module with AXI4Config with InstConfig {
17
18
// now we dont handle this resp info to check if the read oper is right
19
// tmp
20
+ protected val tmpStall = if (SoCEna) RegNext(~io.ctrl2pc.maStall) else ~io.ctrl2pc.maStall
21
io.axi.req := 0.U // 0: read 1: write
22
io.axi.wdata := DontCare
23
io.axi.resp := DontCare
24
io.axi.addr := pc
25
io.axi.id := 0.U
- io.axi.valid := ~io.ctrl2pc.maStall // TODO: maybe this code lead to cycle
26
+ io.axi.valid := tmpStall // TODO: maybe this code lead to cycle
27
io.axi.size := AXI4Bridge.SIZE_W
28
29
when(io.ctrl2pc.jump) {
0 commit comments