Skip to content

Commit

Permalink
fix(Uncache): grammar error
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxpicca-Li committed Jan 26, 2025
1 parent 37d3869 commit 091dacf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/scala/xiangshan/cache/dcache/Uncache.scala
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,9 @@ class UncacheImp(outer: Uncache)extends LazyModuleImp(outer)
val do_uarch_drain = RegInit(false.B)
when((f1_needDrain || io.flush.valid) && !empty){
do_uarch_drain := true.B
}.otherwise(empty){
}.elsewhen(empty){
do_uarch_drain := false.B
}.otherwise{
do_uarch_drain := false.B
}

Expand Down

0 comments on commit 091dacf

Please sign in to comment.