UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor
346 Views
Registered: ‎05-20-2015

AXI4 as a switch demultiplexer and multiplexer

Jump to solution

Hello,

I have been looking at AXI switch and AXI interconnect and I am a little bit confused and I am hoping somebody will clarify things.

I have one video stream I would like replicate onto two Master out put streams.  I guess I can use the stream broadcaster here. 1 Slave in and two matsers out. My qusetion here is: Are the streams exacly the same on the output? And what is the diference between this and AXI interconnect.

Similarly, I have 2 video streams that I want to select one of them. I am looking at AXI switch.

The AXI switch IP has signal s_req_supress[1:0]. What do these signals mean? Do they control the muxing function ( i.e: which input to select)

Also I see the AXI switch has the capability of adding a control register but I do not see what to write to it.

I would like to control the switching for the PS. Any help is greaytly apprecited.

Thanks,

Cherif

0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
290 Views
Registered: ‎01-09-2019

Re: AXI4 as a switch demultiplexer and multiplexer

Jump to solution

Hello @chibane-mit 

With the AXI interconnect/crossbar/switch it will not replicate the output streams, but rather will decide which Master is trying to talk to which Slave.  AXI interconnect is a combination of a few different IP, and can be read about more here: https://www.xilinx.com/support/documentation/ip_documentation/axi_interconnect/v2_1/pg059-axi-interconnect.pdf .  Basically the AXI interconnect IP can connect Memory Mapped Masters to Memory Mapped Slaves in a variety of combinations with the ability to convert protocol or data width in between them.

In your application you are using a streaming interface, is that correct?  If so, the Interconnect would not be the appropriate IP, but rather the AXI Stream Interconnect: https://www.xilinx.com/support/documentation/ip_documentation/axis_interconnect/v1_1/pg035_axis_interconnect.pdf .  This still would not replicate your streams, and within the AXI Stream IP is the AXI Switch IP, also not able to do replication.

The AXI Switch IP connects the various Streams through looking at the AXI Stream TDEST bits to determine which Stream is supposed to go where.  If you wanted to use the AXI Switch IP to do this type of routing I would suggest using the AXI Stream Interconnect and appropriately handling the TDEST bits from your streaming source or using some custom logic to determine what the TDEST bits should be.

Regarding your specific video streaming application and the stream broadcaster, it might be helpful to ask your question on the Video subforum.

Thanks,
Caleb
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
2 Replies
Xilinx Employee
Xilinx Employee
291 Views
Registered: ‎01-09-2019

Re: AXI4 as a switch demultiplexer and multiplexer

Jump to solution

Hello @chibane-mit 

With the AXI interconnect/crossbar/switch it will not replicate the output streams, but rather will decide which Master is trying to talk to which Slave.  AXI interconnect is a combination of a few different IP, and can be read about more here: https://www.xilinx.com/support/documentation/ip_documentation/axi_interconnect/v2_1/pg059-axi-interconnect.pdf .  Basically the AXI interconnect IP can connect Memory Mapped Masters to Memory Mapped Slaves in a variety of combinations with the ability to convert protocol or data width in between them.

In your application you are using a streaming interface, is that correct?  If so, the Interconnect would not be the appropriate IP, but rather the AXI Stream Interconnect: https://www.xilinx.com/support/documentation/ip_documentation/axis_interconnect/v1_1/pg035_axis_interconnect.pdf .  This still would not replicate your streams, and within the AXI Stream IP is the AXI Switch IP, also not able to do replication.

The AXI Switch IP connects the various Streams through looking at the AXI Stream TDEST bits to determine which Stream is supposed to go where.  If you wanted to use the AXI Switch IP to do this type of routing I would suggest using the AXI Stream Interconnect and appropriately handling the TDEST bits from your streaming source or using some custom logic to determine what the TDEST bits should be.

Regarding your specific video streaming application and the stream broadcaster, it might be helpful to ask your question on the Video subforum.

Thanks,
Caleb
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
Contributor
Contributor
271 Views
Registered: ‎05-20-2015

Re: AXI4 as a switch demultiplexer and multiplexer

Jump to solution

Thanks for the clarification.

Cherif

0 Kudos