FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6355 Discussions

LPM Shift Reg ( Shifting Issues)

Altera_Forum
Honored Contributor II
1,094 Views

Hi all, 

 

 

I have read the megafuction for the LPM Shift Reg. 

 

Is it possible to set the amount of shifts you want in the shift register?  

 

I plan to implement a left shift by 6 on a shift register for my design.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
291 Views

 

--- Quote Start ---  

Hi all, 

 

 

I have read the megafuction for the LPM Shift Reg. 

 

Is it possible to set the amount of shifts you want in the shift register?  

 

I plan to implement a left shift by 6 on a shift register for my design. 

--- Quote End ---  

 

 

Do you actually need a shift, or can you get the same benefit by just wiring differently? There's no real reason to use a shift megafunction if the shift stays constant; just wire the bits you want to the MSB, and fill the lower bits with whatever else you want.
0 Kudos
Reply