case class AhbLite3CrossbarFactory(ahbLite3Config: AhbLite3Config) extends Product with Serializable
AhbLite3 Crossbar Factory
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(io.ahbSlaves(0), io.ahbSlaves(1)), io.ahbMasters(1).toAhbLite3() -> List(io.ahbSlaves(1), io.ahbSlaves(2), io.ahbSlaves(3)), io.ahbMasters(2).toAhbLite3() -> List(io.ahbSlaves(0), io.ahbSlaves(3)) ) // ** OPTIONAL ** //.addGlobalDefaultSlave(io.defaultSalve) //.addDefaultSalves( // io.ahbMaster(0) -> io.defaultSlaveM0, // io.ahbMaster(1) -> io.defaultSalveM1 //) .build() }
Example:
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AhbLite3CrossbarFactory
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new AhbLite3CrossbarFactory(ahbLite3Config: AhbLite3Config)
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 addConnection(order: (AhbLite3, Seq[AhbLite3])): AhbLite3CrossbarFactory.this.type
- def addConnection(ahb: AhbLite3, ahbLite3Slave: Seq[AhbLite3]): AhbLite3CrossbarFactory.this.type
- def addConnections(orders: (AhbLite3, Seq[AhbLite3])*): AhbLite3CrossbarFactory.this.type
-
def
addDefaultSlaves(order: (AhbLite3, AhbLite3)*): AhbLite3CrossbarFactory.this.type
Add a custom default slave for each Master (decoder)
-
def
addGlobalDefaultSlave(slave: AhbLite3): AhbLite3CrossbarFactory.this.type
Add a global default slaves
- def addSlave(ahb: AhbLite3, mapping: SizeMapping): AhbLite3CrossbarFactory.this.type
- def addSlaves(orders: (AhbLite3, SizeMapping)*): AhbLite3CrossbarFactory.this.type
- val ahbLite3Config: AhbLite3Config
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
build(): Area { ... /* 3 definitions in type refinement */ }
Build the crossbar
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
masters: Seq[AhbLite3]
Get a list of all masters
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noRoundRobinArbiter(): Unit
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- var roundRobinArbiter: Boolean
- val slavesConfigs: LinkedHashMap[AhbLite3, AhbLite3CrossbarSlaveConfig]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated