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 ago@FvM - I'm checking for the synthesis of the register by simply looking at the compilation report giving statistics on the final design. It says that the total number of registers in the design is zero. I can confirm this by opening the RTL viewer - no registers - only ports.
@ashishkaps (http://www.alteraforum.com/forum/member.php?u=60151) - Yes, I've read through the article - and I've tried both versions of giving the attribute - neither worked. It seems odd, I'm not sure what the issue is? What version of Quartus are you running - could it be a bug? I'm using version 12.0 of Quartus II. +------------------------------------------------------------------------------------+ ; Analysis & Synthesis Summary ; +------------------------------------+-----------------------------------------------+ ; Analysis & Synthesis Status ; Successful - Tue Sep 18 12:05:38 2012 ; ; Quartus II 32-bit Version ; 12.0 Build 232 07/05/2012 SP 1 SJ Web Edition ; ; Revision Name ; connector_test ; ; Top-level Entity Name ; connector_test ; ; Family ; Cyclone III ; ; Total logic elements ; 0 ; ; Total combinational functions ; 0 ; ; Dedicated logic registers ; 0 ; ; Total registers ; 0 ; ; Total pins ; 2 ; ; Total virtual pins ; 0 ; ; Total memory bits ; 0 ; ; Embedded Multiplier 9-bit elements ; 0 ; ; Total PLLs ; 0 ; +------------------------------------+-----------------------------------------------+