Skip to content

Commit

Permalink
Litex SOC now avoid using ram with byte mask in the L2 cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolu1990 committed Sep 6, 2024
1 parent a15ea92 commit e7c9f4a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/scala/vexiiriscv/soc/litex/Soc.scala
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,12 @@ class Soc(c : SocConfig) extends Component {
))
if (c.withDma) Axi4SpecRenamer(dma.bus)

if(withCoherency && withL2){
for (bank <- splited.wc.l2.cache.logic.cache.cache.data.banks) {
bank.ram.preventAsBlackBox() // Some synthesis tools have issues inferring efficient layout when byte mask is used.
}
}


println(MemoryConnection.getMemoryTransfers(vexiis(0).dBus))

Expand Down

0 comments on commit e7c9f4a

Please sign in to comment.