Altera_Forum
Honored Contributor
16 years agoverilog no warning when input wired to submodule output?
Hi, had a hard to find bug in my design, the cause went unnoticed since Quartus 9.1WE did not give any warning/error on the problem that boils down to this:
module test_v10(clk, o);
input clk;
input o; // should really be 'output o;'
wire o;
mod u1(.clk(clk), .out(o));
Is there some setting for Quartus to report such problems? (just thinking, maybe i unknowingly disabled it somewhere) Or do I make some other fundamental mistake in the code? :)