Hi,I need a verilog code for a banyan switch...
if there are two inputs say x1 and x2
and two outputs say y1 and y2
there is a select line s
for s=0 i must send the data through upper port
for s=1 i must send data through lower port.
Hi,I need a verilog code for a banyan switch...
if there are two inputs say x1 and x2
and two outputs say y1 and y2
there is a select line s
for s=0 i must send the data through upper port
for s=1 i must send data through lower port.
i need to write verilog code for banyan network, omega network, cube network and indirect binary n-cube network...that is multistage interconnection networks.
can anyone help me.
where can i find tips for writing the codes...from where i should start with the codes...is there any website for reference...
Hi,I need a verilog code for a banyan switch...
if there are two inputs say x1 and x2
and two outputs say y1 and y2
there is a select line s
for s=0 i must send the data through upper port
for s=1 i must send data through lower port.
This code doesn't describe a banyan switch. As a reference: https://en.wikipedia.org/wiki/Banyan_switch
As described the selection is based on a signal in the input port, so there should have been an s1 and s2. The assignments would therefore be: