Altera Stratix 80: How to divide a bits stream to even bits

Z

zhao

Guest
Hi,

I want to make a block-based design using megafunctions and other
primitives of QuartusII 3.0. The design is to dived a bits stream to
even bits stream and odd bits stream.
/ d0,d2,d4,...
d0,d1,d2,d3,d4,d5... /
\
\ d1,d3,d5,...
Please give me some hints.

Thanks
 
zhao wrote:

I want to make a block-based design using megafunctions and other
primitives of QuartusII 3.0. The design is to dived a bits stream to
even bits stream and odd bits stream.
/ d0,d2,d4,...
d0,d1,d2,d3,d4,d5... /
\
\ d1,d3,d5,...
How about a counter on rx_clk running 0,1,0,1,0,1,...
with its Q going to shiftA enable
and not Q going to the shiftB enable.
Both shifters also on rx_clk.

Note that you don't need to
bother with megafunctions
for shifters and counters.

-- Mike Treseler
 

Welcome to EDABoard.com

Sponsor

Back
Top