Skip to content

Commit

Permalink
Fix CharCount RoCC example bug
Browse files Browse the repository at this point in the history
Reset recv_beat
  • Loading branch information
jerryz123 committed Mar 14, 2023
1 parent 8b52a6f commit f19a90a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/scala/tile/LazyRoCC.scala
Expand Up @@ -314,6 +314,7 @@ class CharacterCountExampleModuleImp(outer: CharacterCountExample)(implicit p: P
when (recv_beat === cacheDataBeats.U) {
addr := next_addr
state := Mux(zero_found || finished, s_resp, s_acq)
recv_beat := 0.U
} .otherwise {
state := s_gnt
}
Expand Down

0 comments on commit f19a90a

Please sign in to comment.