Struct EthernetStream
pub struct EthernetStream {
inner: HeaderPayloadTxStream<ToTransmit>,
}Implementations
impl EthernetStream
pipeline(3) into_ethernet_bytes(self, clk: clock, rst: bool) -> Rv<EthernetByte>
Payloads are pushed into the fifo and self.data_len are read from payload after
transmission has started.
It is the responsibility of the caller to ensure that enough payload is available such that the transmitter does not have to wait for data.
impl EthernetStream
entity buffer_header(self, clk: clock, rst: bool) -> EthernetStream
Inserts a buffer in the header ready/valid stream. Leaves the payload unbuffered in order to maintain the throughput
entity append_lower_priority(self, clk: clock, rst: bool, other: EthernetStream) -> EthernetStream
entity append_higher_priority(self, clk: clock, rst: bool, other: EthernetStream) -> EthernetStream
entity skid_buffer(self, clk: clock, rst: bool) -> EthernetStream