Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

question about VHDL code

Altera_Forum
Honored Contributor II
1,140 Views

Hi guys, 

 

I am wondering what circuit will be generated based on the following VHDL code by Quartus II synthesizer? Thanks. 

 

/****VHDL code begins****/  

entity con_0 is 

port ( cout: out bit_vector(3 downto 0)); 

end con_0; 

 

architecture con_0_arch of con_0 is 

begin 

cout<="0101"; 

end con_0_arch; 

/****VHDL code ends****/
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
463 Views

The same 'circuit' as the statement 

 

cout<="0101"; 

 

i.e., it will generate cout with a static value. 

 

If that static value goes nowhere, then the synthesis tool will delete it. If however cout is used, for example cout is tied to pins on the FPGA, then Quartus will keep the signal. 

 

Use the RTL viewer to see what the 'circuit' looks like. 

 

Cheers, 

Dave
0 Kudos
Altera_Forum
Honored Contributor II
463 Views

You can compile a design and check the result in RTL and postsynthesis netlist viewer.

0 Kudos
Reply