Skip to content

Commit

Permalink
fix(DCache): remove csr io ports
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4e committed Dec 16, 2024
1 parent 8d5d91d commit d9feb6d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/main/scala/xiangshan/backend/MemBlock.scala
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,6 @@ class MemBlockInlinedImp(outer: MemBlockInlined) extends LazyModuleImp(outer)
//val delayedDcacheRefill = RegNext(dcache.io.lsu.lsq)

val csrCtrl = DelayN(io.ooo_to_mem.csrCtrl, 2)
dcache.io.csr.distribute_csr <> csrCtrl.distribute_csr
dcache.io.l2_pf_store_only := RegNext(io.ooo_to_mem.csrCtrl.l2_pf_store_only, false.B)
io.error <> DelayNWithValid(dcache.io.error, 2)
when(!csrCtrl.cache_error_enable){
Expand Down
1 change: 0 additions & 1 deletion src/main/scala/xiangshan/cache/dcache/DCacheWrapper.scala
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,6 @@ class DCacheIO(implicit p: Parameters) extends DCacheBundle {
val hartId = Input(UInt(hartIdLen.W))
val l2_pf_store_only = Input(Bool())
val lsu = new DCacheToLsuIO
val csr = new L1CacheToCsrIO
val error = ValidIO(new L1CacheErrorInfo)
val mshrFull = Output(Bool())
val memSetPattenDetected = Output(Bool())
Expand Down

0 comments on commit d9feb6d

Please sign in to comment.