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 agoSince the logic is not used, the synthesis tool removes it.
To force the tool to keep the logic, look at the synthesis directives in Quartus help, you want to use "noprune": http://quartushelp.altera.com/12.0/mergedprojects/hdl/vlog/vlog_file_dir_noprune.htm Cheers, Dave