Forum Discussion
Altera_Forum
Honored Contributor
14 years agoobject assigned a value but never read - does this effect synthesis?
Hello, I have the following small module which is intended to store the value 0xFF in a register when a button is pressed.
module connector_test(button, txd);
input button;
output reg t...
Altera_Forum
Honored Contributor
14 years agoCheck out this link
http://quartushelp.altera.com/11.1/mergedprojects/hdl/vlog/vlog_file_dir_noprune.htm It gives two ways to use the attribute. Plus one more way to give a switch through the .qsf file to preserve fanout free node. In my opinion use the attributes rather than switches. Coming to the warning i agree with FVM that the attribute will work and the warning will come even though the tool is preserving the registers, as you are not using your signal "data" anywhere in your module. Check the map.rpt and see whether your register has been preserved.