c

spinal.lib.bus.amba3.ahblite

AhbLite3CrossbarFactory

case class AhbLite3CrossbarFactory(ahbLite3Config: AhbLite3Config) extends Product with Serializable

AhbLite3 Crossbar Factory

Example:
  1. class TopLevel extends Component {
        val ahbConfig = AhbLite3Config(addressWidth = 16, dataWidth = 32)
    
        val io = new Bundle{
            val ahbMasters = Vec(slave(AhbLite3Master(ahbConfig)), 3)
            val ahbSlaves  = Vec(master(AhbLite3(ahbConfig)), 4)
        }
    
        val crossbar = AhbLite3CrossbarFactory(ahbConfig)
            .addSlaves(
                io.ahbSlaves(0) -> (0x1000,0x1000),
                io.ahbSlaves(1) -> (0x3000,0x1000),
                io.ahbSlaves(2) -> (0x4000,0x1000),
                io.ahbSlaves(3) -> (0x5000,0x1000)
             )
             .addConnections(
                io.ahbMasters(0).toAhbLite3() -> List(ahbSlaves(0), ahbSlaves(1)),
                io.ahbMasters(1).toAhbLite3() -> List(ahbSlaves(1), ahbSlaves(2), ahbSlaves(3)),
                io.ahbMasters(2).toAhbLite3() -> List(ahbSlaves(0), ahbSlaves(3))
             )
             .build()
            }
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AhbLite3CrossbarFactory
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AhbLite3CrossbarFactory(ahbLite3Config: AhbLite3Config)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addConnection(order: (AhbLite3, Seq[AhbLite3])): AhbLite3CrossbarFactory.this.type
  5. def addConnection(ahb: AhbLite3, ahbLite3Slave: Seq[AhbLite3]): AhbLite3CrossbarFactory.this.type
  6. def addConnections(orders: (AhbLite3, Seq[AhbLite3])*): AhbLite3CrossbarFactory.this.type
  7. def addSlave(ahb: AhbLite3, mapping: SizeMapping): AhbLite3CrossbarFactory.this.type
  8. def addSlaves(orders: (AhbLite3, SizeMapping)*): AhbLite3CrossbarFactory.this.type
  9. val ahbLite3Config: AhbLite3Config
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def build(): Area { ... /* 4 definitions in type refinement */ }

    Build the crossbar

  12. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. val slavesConfigs: HashMap[AhbLite3, AhbLite3CrossbarSlaveConfig]
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped