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 agoYes, I've looked at the other available attributes - and the only other that looks like it might apply is preserve - sadly, this didn't seem to work either.
It looks like the noprune attribute is exactly what is needed in my case also, I'm not sure why it isn't responding to it. Do you recall having to do anything before using the attributes - or they just "work"? I also tried using type logic instead of reg as your have in your example - but this didn't change anything either. Any other suggestions? Thanks again! -k