Skip to content

Commit

Permalink
fix #75 vadbad scope probe on writeback
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolu1990 committed Jan 15, 2024
1 parent b312da8 commit c2cbc58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/scala/naxriscv/platform/litex/NaxSoc.scala
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ class NaxSoc(c : NaxSocConfig) extends Component{
case p: FetchCachePlugin => add(p.logic.refill.fire, i * 0x80 + 0x000)
case p: DataCachePlugin => {
add(p.logic.cache.refill.push.fire, i * 0x80 + 0x010)
add(p.logic.cache.writeback.push.fire, i * 0x80 + 0x014)
add(p.logic.cache.writeback.push.fire && p.logic.cache.writeback.push.dirty, i * 0x80 + 0x014)
if (withL2) {
val l2c = l2.cache.logic.cache
l2c.rework {
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/naxriscv/platform/tilelinkdemo/SocSim.scala
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ object SocSim extends App {
case p: FetchCachePlugin => add(p.logic.refill.fire, i * 0x80 + 0x000)
case p: DataCachePlugin => {
add(p.logic.cache.refill.push.fire, i * 0x80 + 0x010)
add(p.logic.cache.writeback.push.fire, i * 0x80 + 0x014)
add(p.logic.cache.writeback.push.fire && p.logic.cache.writeback.push.dirty, i * 0x80 + 0x014)
if (withL2) {
val l2c = l2.cache.logic.cache
l2c.rework{
Expand Down

0 comments on commit c2cbc58

Please sign in to comment.