This repository provides modules to build on-chip communication networks adhering to the AXI4 Stream Specification.
Our design goals are:
- Topology Independence: We provide elementary building blocks that allow users to implement any network topology.
- Modularity: We favor design by composition over design by configuration where possible. We strive to apply the Unix philosophy to hardware: make each module do one thing well. This means you will more often instantiate our modules back-to-back than change a parameter value to build more specialized networks.
- Fit for Heterogeneous Networks: Our modules are parametrizable in terms of data width and transaction concurrency. This allows to create optimized networks for a wide range of performance (e.g., bandwidth, concurrency, timing), power, and area requirements.
- Full AXI Standard Compliance.
- Compatibility with a wide range of (recent versions of) EDA tools and implementation in standardized synthesizable SystemVerilog.
In addition to the documents linked in the following table, we are setting up documentation auto-generated from inline docstrings.
Name | Description | Doc |
---|---|---|
axi_stream_cut |
Breaks all combinatorial paths between its input and output. | Doc |
axi_stream_dw_downsizer |
A data width converter between a wide AXI master and a narrower AXI slave. | Doc |
axi_stream_dw_upsizer |
A data width converter between a narrower AXI master and a wide AXI slave. | Doc |
axi_stream_intf |
This file defines the interfaces we support. | |
axi_stream_multicut |
AXI Stream register which can be used to relax timing pressure on long AXI buses. | Doc |
axi_stream_test |
A set of testbench utilities for AXI Stream interfaces. | Doc |
In addition to the modules above, which are available in synthesis and simulation, the following modules are available only in simulation. Those modules are widely used in our testbenches, but they are also suitable to build testbenches for AXI modules and systems outside this repository.
Name | Description |
---|---|
axi_stream_driver |
Low-level driver for AXI Stream that can send and receive individual beats on any channel. |
axi_stream_rand_rx |
AXI Stream receiver component that responds to transactions with constrainable random delays and data. |
Our code is written in standard SystemVerilog (IEEE 1800-2012, to be precise), so the more important question is: Which subset of SystemVerilog does your EDA tool support?
We aim to be compatible with a wide range of EDA tools. For this reason, we strive to use as simple language constructs as possible, especially for our synthesizable modules. We encourage contributions that further simplify our code to make it compatible with even more EDA tools. We also welcome contributions that work around problems that specific EDA tools may have with our code, as long as:
- the EDA tool is reasonably widely used,
- recent versions of the EDA tool are affected,
- the workaround does not break functionality in other tools, and
- the workaround does not significantly complicate code or add maintenance overhead.
In addition, we suggest to report issues with the SystemVerilog language support directly to the EDA vendor. Our code is fully open and can / should be shared with the EDA vendor as a testcase for any language problem encountered.
All code in each release and on the default branch is tested on a recent version of at least one industry-standard RTL simulator and synthesizer.