Altera® AXI4 Bus Functional Model User Guides

ID 838773
Date 5/19/2025
Public
Document Table of Contents

2.5.1.1.4. AXI4 Streaming Interface Modports

The AXI4 streaming protocol provides for simple modport interface variations. There are two modports: a source and sink. The source modport maps to transmitter-end interfaces and the sink modport maps to the receiver-end interfaces. The clk and rst_n interface clock and reset signals are inputs for both modports.

AXI4 Streaming Interface Modports

    modport source (
        input  clk,
        input  rst_n,

        output tvalid,
        input  tready,
        output tdata,
        output tstrb,
        output tkeep,
        output tlast,
        output tid,
        output tdest,
        output tuser
    );

    modport sink (
        input  clk,
        input  rst_n,

        input  tvalid,
        output tready,
        input  tdata,
        input  tstrb,
        input  tkeep,
        input  tlast,
        input  tid,
        input  tdest,
        input  tuser
    );