Skip to content

Commit

Permalink
Fix SocDemo emulated mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolu1990 committed Sep 23, 2024
1 parent e7b8d64 commit 1c50e84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/naxriscv/platform/tilelinkdemo/SocDemo.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import riscv.model.Model
import spinal.core._
import spinal.core.fiber._
import spinal.lib.StreamPipe
import spinal.lib.bus.misc.SizeMapping
import spinal.lib.bus.misc.{OrMapping, SizeMapping}
import spinal.lib.bus.tilelink
import spinal.lib.bus.tilelink._
import spinal.lib.bus.tilelink.coherent.{CacheFiber, HubFiber}
Expand Down Expand Up @@ -75,7 +75,7 @@ class SocDemo(cpuCount : Int, withL2 : Boolean = true, asic : Boolean = false, x
)
)
)
emulated.node at(0, 0x10000000) of bus
emulated.node at(OrMapping(List(SizeMapping(0, 0x1000), SizeMapping(0xF000000l, 0x1000000l)))) of bus

val custom = Fiber build new Area{
val mei,sei = in Bool()
Expand Down

0 comments on commit 1c50e84

Please sign in to comment.