Forum Discussion
Altera_Forum
Honored Contributor
9 years agoyou could always used name association, rather than inplied association (which is confusing as you have found)
my_module inst_my_module
(
.rx_in( rx_in ),
.rx_outclock( rx_outclock ),
.rx_out( { data_out, sync_decode_signal } )
... etc
);
Also, why not be more explicit with your ports. Your code uses Verilog95 style. This was updated in 2001 to be more like VHDL (and much easier to follow):
module Tau2_LVDS(
input rx_inclock;
input rx_in;
output rx_outclock;
output data_out;
output sync_frame_start;
output sync_line_valid;
output sync_data_invalid;
);