ReadyValidTransmitterAgent constructor
Creates an Agent for transmitting over a ready/valid protocol.
The blockRate
is the probability (from 0 to 1) of blocking a valid from
being driven.
Implementation
ReadyValidTransmitterAgent({
required super.clk,
required super.reset,
required super.ready,
required super.valid,
required super.data,
required super.parent,
double blockRate = 0,
super.name = 'readyValidTransmitterAgent',
}) {
sequencer = Sequencer<ReadyValidPacket>('sequencer', this);
ReadyValidTransmitterDriver(
clk: clk,
reset: reset,
ready: ready,
valid: valid,
data: data,
sequencer: sequencer,
blockRate: blockRate,
parent: this,
);
}