Altera_Forum
Honored Contributor
16 years agoRegister Chaining with minimal resources
I am looking to create a register chain that does not use any LUT inputs in an LE as well as not taking an routing resources within a LAB except for the input and output. Meaning, that the connection between LEs within a LAB is done with the "Register Chain Routing From Previous LE" as described in the Device Handbook of most Cyclone and Stratix devises.
I have attempted this using LPM, WYSIWYG primitives, and altera generic primitives. These have always used LOCAL_LINE or LOCAL_INTERCONNECT resources. The do, however, avoid using LUT inputs. How do I force the tools to use this special register chain? I have even introduced manual placement constraints to force each bit in my register chain to follow each other physically. Below are my placement constraints:set_location_assignment LCFF_X94_Y4_N1 -to "regchain2:thechain|regscan:comb_3|chain"
set_location_assignment LCFF_X94_Y4_N3 -to "regchain2:thechain|regscan:comb_3|chain"
set_location_assignment LCFF_X94_Y4_N5 -to "regchain2:thechain|regscan:comb_3|chain"
set_location_assignment LCFF_X94_Y4_N7 -to "regchain2:thechain|regscan:comb_3|chain"
set_location_assignment LCFF_X94_Y4_N9 -to "regchain2:thechain|regscan:comb_3|chain"
set_location_assignment LCFF_X94_Y4_N11 -to "regchain2:thechain|regscan:comb_3|chain"
set_location_assignment LCFF_X94_Y4_N13 -to "regchain2:thechain|regscan:comb_3|chain"
set_location_assignment LCFF_X94_Y4_N15 -to "regchain2:thechain|regscan:comb_3|chain" Attached is my design file (Verilog) for generating a register chain using altera primitives. Also attached is the generated VQM file of the design for reference. https://www.alteraforum.com/forum/attachment.php?attachmentid=2019 https://www.alteraforum.com/forum/attachment.php?attachmentid=2020 Thanks, Peter