case class WishboneInterconFactory() extends Product with Serializable
- Alphabetic
- By Inheritance
- WishboneInterconFactory
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new WishboneInterconFactory()
Type Members
- case class ConnectionModel(m: Wishbone, s: Wishbone, connector: (Wishbone, Wishbone) => Unit = WishboneConnectors.direct) extends Product with Serializable
- case class MasterModel(connector: (Wishbone, Wishbone) => Unit = WishboneConnectors.direct) extends Product with Serializable
- case class SlaveModel(mapping: SizeMapping, connector: (Wishbone, Wishbone) => Unit = WishboneConnectors.direct, transactionLock: Boolean = true) extends Product with Serializable
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addMaster(bus: Wishbone, accesses: Seq[Wishbone]): WishboneInterconFactory.this.type
Queue a master to be connected
Queue a master to be connected
- bus
a master wishbone device
- accesses
a list of slaves device to connect the master with
- def addMasters(specs: (Wishbone, Seq[Wishbone])*): WishboneInterconFactory.this.type
Queue a master to be connected
Queue a master to be connected
- specs
a tuple of master wishbone device and a list of slaves device to connect the master with
interconnect.addMasters( dBus -> List(ram.io.buses(0), slowBus), iBus -> List(ram.io.buses(1), slowBus), slowBus-> List(peripherals.io.bus, flashXip.io.bus) )
Example: - def addSlave(bus: Wishbone, mapping: SizeMapping): WishboneInterconFactory.this.type
add a slave to the intercon, and specify its address space
add a slave to the intercon, and specify its address space
- bus
the slave device
- mapping
the address defined via spinal.lib.bus.misc.SizeMapping
- def addSlaves(orders: (Wishbone, SizeMapping)*): WishboneInterconFactory.this.type
add multiple slave to the intercon, and specify their address space
add multiple slave to the intercon, and specify their address space
interconnect.addSlaves( ram.io.buses(0) -> SizeMapping(0x00000, 64 KiB), ram.io.buses(1) -> SizeMapping(0x00000, 64 KiB), peripherals.io.bus -> SizeMapping(0x70000, 64 Byte), flashXip.io.bus -> SizeMapping(0x80000, 512 KiB), slowBus -> DefaultMapping )
Example: - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def build(): Unit
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val connections: ArrayBuffer[ConnectionModel]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val masters: LinkedHashMap[Wishbone, MasterModel]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def setConnector(m: Wishbone, s: Wishbone)(connector: (Wishbone, Wishbone) => Unit): Unit
Modify a connection
Modify a connection
- m
the master where the conenction start
- s
the slave that is connected to the master
interconnect.setConnector(dBus, slowBus){(m,s) => m.cmd.halfPipe() >> s.cmd m.rsp << s.rsp }
Example: - def setConnector(bus: Wishbone)(connector: (Wishbone, Wishbone) => Unit): Unit
Modify a connection
Modify a connection
- bus
the bus
- val slaves: LinkedHashMap[Wishbone, SlaveModel]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated