Difference between Xilinx shift_extract and shreg_extract constraints?

Can someone explain the difference between the Xilinx shift_extract and shreg_extract constraints?

Shreg_extract appears to prevent inferring SRL16 based shifters, what does shift_extract do?

Thanks!

John Providenza

Reply to
johnp
Loading thread data ...

Hi John,

The SHIFT_EXTRACT attribute/constraint prevents (or not) XST from extracting logical shift operations during synthesis. That is, if your design contains a parallel shift left/right of a bus by some dynamic distance (a "barrel shifter"), XST can try to do something clever with it (rather than just leaving it as random logic). It doesn't have anything to do with SRL16s.

Cheers,

-Ben-

Reply to
Ben Jones

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.