Package

spinal.lib.bus

wishbone

Permalink

package wishbone

Visibility
  1. Public
  2. All

Type Members

  1. case class Wishbone(config: WishboneConfig) extends Bundle with IMasterSlave with Product with Serializable

    Permalink

    This class rappresent a Wishbone bus

    This class rappresent a Wishbone bus

    config

    an istance of WishboneConfig, it will be used to configurate the Wishbone Bus

  2. class WishboneAdapter extends Component

    Permalink

    Create a configurable adaptor for the wishbone bus.

    Create a configurable adaptor for the wishbone bus. It can adapt from a wishbone pipelined interface to a standard one or vice versa

    Example:
    1. val wishboneMaster = Wishbone(wishboneConfig(8,8).pipelined)
      val wishboneSlave = Wishbone(wishboneConfig(16,8))
      val adapter = new WishboneAdapter(wishboneMaster.config, wishboneSlave.config, allowAddressResize = true)
      wishboneMaster <> adapter.io.wbm
      adapter.io.wbs <> wishboneSlave
  3. class WishboneArbiter extends Component

    Permalink

    Create a wishbone Arbiter/multiplexer the arbiter will not switch to other interfaces until the selected master/input CYC line goes to zero

  4. case class WishboneConfig(addressWidth: Int, dataWidth: Int, selWidth: Int = 0, useSTALL: Boolean = false, useLOCK: Boolean = false, useERR: Boolean = false, useRTY: Boolean = false, useCTI: Boolean = false, tgaWidth: Int = 0, tgcWidth: Int = 0, tgdWidth: Int = 0, useBTE: Boolean = false) extends Product with Serializable

    Permalink

    This class is used for configuring the Wishbone class

    This class is used for configuring the Wishbone class

    addressWidth

    size in bits of the address line

    dataWidth

    size in bits of the data line

    selWidth

    size in bits of the selection line, deafult to 0 (disabled)

    useSTALL

    activate the stall line, default to false (disabled)

    useLOCK

    activate the lock line, default to false (disabled)

    useERR

    activate the error line, default to false (disabled)

    useRTY

    activate the retry line, default to false (disabled)

    useCTI

    activate the CTI line, deafult to 0 (disabled)

    tgaWidth

    size in bits of the tag address linie, deafult to 0 (disabled)

    tgcWidth

    size in bits of the tag cycle line, deafult to 0 (disabled)

    tgdWidth

    size in bits of the tag data line, deafult to 0 (disabled)

    useBTE

    activate the Burst Type Extension, default to false (disabled)

    Example:
    1. val wishboneBusConf = new WishboneConfig(32,8).withCycleTag(8).withDataTag(8)
      val wishboneBus = new Wishbone(wishboneBusConf)
  5. class WishboneDecoder extends Component

    Permalink

    Create a wishbone decoder/demultiplexer

  6. case class WishboneInterconFactory() extends Product with Serializable

    Permalink
  7. class WishboneSlaveFactory extends BusSlaveFactoryDelayed

    Permalink

    This is the slave facotory fot the wishbone bus

Value Members

  1. object Wishbone extends Serializable

    Permalink
  2. object WishboneAdapter

    Permalink

    Factory for spinal.lib.bus.wishbone.WishboneAdapter instances.

  3. object WishboneArbiter

    Permalink

    Factory for spinal.lib.bus.wishbone.WishboneArbiter instances.

  4. object WishboneConnectors

    Permalink
  5. object WishboneDecoder

    Permalink

    Factory for spinal.lib.bus.wishbone.WishboneDecoder instances.

  6. object WishboneSlaveFactory

    Permalink

    Factory for spinal.lib.bus.wishbone.WishboneSlaveFactory instances.

Ungrouped