Skip to content

Commit

Permalink
fix #75 fix missing pull
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolu1990 committed Jan 15, 2024
1 parent c2cbc58 commit 2a4fd5e
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 && p.logic.cache.writeback.push.dirty, i * 0x80 + 0x014)
add(p.logic.cache.writeback.push.fire.pull() && p.logic.cache.writeback.push.dirty.pull(), 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 && p.logic.cache.writeback.push.dirty, i * 0x80 + 0x014)
add(p.logic.cache.writeback.push.fire.pull() && p.logic.cache.writeback.push.dirty.pull(), i * 0x80 + 0x014)
if (withL2) {
val l2c = l2.cache.logic.cache
l2c.rework{
Expand Down

0 comments on commit 2a4fd5e

Please sign in to comment.