Forum Discussion
Altera_Forum
Honored Contributor
10 years agoinout wire logic, quartus15.1, error
Using Quartus 15.1 I have the following issue, when I'm using this construction - inout wire logic [31:0] SIG1; - it is working correctly, but when I define logic [31:0] in typedef into ...
Altera_Forum
Honored Contributor
10 years agoHi,
You are using 'wire' and 'logic' both types. According to me only single type should be used. Try following : package state_type; typedef wire [31:0] SIG1_WIDTH_T; endpackage import state_type::*; // import package definitions into $unit module tst_sv( inout SIG1_WIDTH_T SIG1//not working //inout wire logic [31:0] SIG1//working correctly ); endmodule It should work. Thank you, Bhaumik