Jump to content
Sign in to follow this  
rahuljn

Steraming width in TLM2

Recommended Posts

Hi Experts

 

Can any one explain the meaning of streaming width with some example.

The LRM does not have much explaination to this.

Few small example will be a great help.

 

Thanks

 

 

Share this post


Link to post
Share on other sites

Imagine you have a device such as a UART (serial port) with a transmit data register. Every time you write a byte to this register, it sends the data.

 

Now imagine you want to send 64 bytes through that stream with a single transaction. So you stream a payload with 64 bytes to the register address (SEND_ADDR) with a streaming width of 1. All 64 bytes are written to the single address.

 

If the streaming width were set to 64, then the bytes would go to SEND_ADDR+0, SEND_ADDR+1, SEND_ADDR+2, ... , SEND_ADDR+63. In other words, one address per data item.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×