Altera_Forum
Honored Contributor
12 years agoSynthesizable vs non-synthesizable code
Hi,
I have a question regarding how the below piece of code can be made synthesizable. The simulation works fine in modelsim. But when I run Analysis and Synthesis in Quartus I get the following warning : warning (10034): output port at <> has no driver . The warning is shown because this : if (sig == 5'b11111) cannot be mapped on to any hardware on the FPGA right?? Please correct me if I am wrong. ( sig ---> is an internal wire output ---> is an output port ) if (sig == 5'b11111) begin output <= 2'd1; end Any suggestions will be of great help. Thank you.