Altera® AXI4 Bus Functional Model User Guides

ID 838773
Date 3/19/2025
Public

A newer version of this document is available. Customers should click here to go to the newest version.

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
    );