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
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
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-
Have something to add? Share your thoughts — no account required.
Ask the community — no account required