fix(ctrl): 删除无用信号

This commit is contained in:
Liphen 2024-02-25 16:06:27 +08:00
parent 78d0912fb2
commit 59db6ed7cd
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class Ctrl(implicit val cpuConfig: CpuConfig) extends Module {
io.decodeUnit.allow_to_go := !(lw_stall || longest_stall)
io.executeUnit.allow_to_go := !longest_stall
io.memoryUnit.allow_to_go := !longest_stall
io.writeBackUnit.allow_to_go := !longest_stall || io.memoryUnit.flush
io.writeBackUnit.allow_to_go := !longest_stall
io.fetchUnit.do_flush := false.B
io.decodeUnit.do_flush := io.memoryUnit.flush || io.executeUnit.flush || io.decodeUnit.branch