Stream Connector
Connect two IPs with data streaming interfaces
Libraries:
SoC Blockset /
Hardware Logic Connectivity
Description
The Stream Connector block connects two IPs with data streaming interfaces. Use this block in the FPGA model of an SoC application to connect two IPs.
Examples
Streaming Data from Hardware to Software
A systematic approach to design the data-path between hardware logic (FPGA) and embedded processor using SoC Blockset™.
Ports
Input
wrData — Input stream data
scalar
Input stream data from the data source. Specify this value as a scalar.
Data Types: single
| double
| int8
| int16
| int32
| int64
| uint8
| uint16
| uint32
| uint64
| fixed point
wrValid — Indication of valid input stream data
boolean scalar
Control signal that indicates if the input data from the data source is valid. When this value is (true), the block accepts the values on the wrData port. When this value is (false), the block ignores the value on the wrData port.
Data Types: Boolean
wrLast — Indication of last beat in burst
boolean scalar
Control signal that indicates the last beat of data from the upstream IP.
Data Types: Boolean
rdReady — Ready signal from downstream interface
boolean scalar
Control signal that indicates if the block can send stream data to the downstream interface. When this value is (true), the downstream block is ready to receive data.
Data Types: Boolean
Output
rdData — Output stream data
scalar
Output stream data to the downstream destination IP.
Data Types: single
| double
| int8
| int16
| int32
| int64
| uint8
| uint16
| uint32
| uint64
| fixed point
rdValid — Indication of valid output stream data
boolean scalar
Control signal that indicates if the output stream data is valid.
Data Types: Boolean
rdLast — Indicates last beat in burst
boolean scalar
Control signal that indicates that the output stream data now has last beat of burst data.
Data Types: Boolean
wrReady — Ready signal to upstream interface
boolean scalar
Control signal that indicates if the block can receive stream data from the upstream interface.
Data Types: Boolean
Extended Capabilities
HDL Code Generation
Generate VHDL, Verilog and SystemVerilog code for FPGA and ASIC designs using HDL Coder™.
To automatically generate HDL code for your design, and execute on an SoC device, use the SoC Builder tool. See Use SoC Builder to Generate SoC Design.
Using SoC Blockset™, you can model a simplified streaming protocol in your model. Use HDL Coder™ to generate AXI4-Stream interfaces in the IP core. For more information about the AXI4-stream protocol, see AXI4-Stream Interface.
Fixed-Point Conversion
Design and simulate fixed-point systems using Fixed-Point Designer™.
Version History
Introduced in R2019a
See Also
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)