All Downloads are FREE. Search and download functionalities are using the official Maven repository.

spinal.lib.bus.amba4.axilite.AxiLite4ReadOnly.scala Maven / Gradle / Ivy

package spinal.lib.bus.amba4.axilite

import spinal.core._
import spinal.lib._

case class AxiLite4ReadOnly(config: AxiLite4Config) extends Bundle with IMasterSlave {
  val ar = Stream(AxiLite4Ax(config))
  val r  = Stream(AxiLite4R(config))

  def readCmd   = ar
  def readRsp   = r

  override def asMaster(): Unit = {
    master(ar)
    slave(r)
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy