cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
alexdetrano
Observer
Observer
3,312 Views
Registered: ‎06-02-2009

Shift Register

Hello,

 

I am trying to remove some extraneous data.  My data is [0 0 1 2 3 4]  what I want to do is remove those two leading zeros, or at least move them to the end, so that my data would be [1 2 3 4 0 0].  I think I can do this using a shift register...I haven't had much luck.  

 

What I've done is have the data going into the "d" port, and have a counter counting backwards on the address port.  This is giving me some weird results.

 

Is there a better way to do this?

 

Thank you!

Alex 

0 Kudos
1 Reply
ywu
Xilinx Employee
Xilinx Employee
3,298 Views
Registered: ‎11-28-2007

Where do the data come from and where do they go?
Cheers,
Jim
0 Kudos