Simulation master for the Axi4Stream bus protocol Axi4Stream.
Simulation slave for the Axi4Stream bus protocol Axi4Stream.
Simulation slave for the Axi4Stream bus protocol Axi4Stream.
bus slave to drive
clock domain to sample data on
SimConfig.compile(new Component { val io = new Bundle { val axisMaster = master(Axi4Stream(Axi4StreamConfig(32))) } io.axisMaster.assignDontCare }).doSim("sample") { dut => val slave = Axi4StreamSlave(dut.io.axisMaster, dut.clockDomain) val data = slave.recv() }
The current implementation does not buffer unexpected transactions (i.e. bus activity when no
recv
has been issued). In some race conditions, this may result in incomplete captures due to the first
beats being lost. Consider enqueuing a asynchronous request with the callback interface (recvCB
) before
issuing the triggering action.
Simulation master for the Axi4Stream bus protocol Axi4Stream.
bus master to drive
clock domain to sample data on