Forum Discussion
Altera_Forum
Honored Contributor
9 years agoFirst I believe you have to explicitly code the duplicate registers. This means that if you have a register called test_reg that fans out to 20 destinations you would create extra copies that are logically identical but are wired up to different destinations (test_reg_a, test_reg_b, etc). You have to code the fanouts yourself.
Then go into Assignments -> Settings -> Compiler Settings -> Advanced Settings (Synthesis). There's a setting in there called "Remove Duplicate Registers" that is enabled by default. You need to disable that so that your duplicate registers don't get optimized away. I believe this is the best way to handle this. If not then hopefully someone else will chime in. Bob