Altera_Forum
Honored Contributor
15 years agoBidirectional IO implementation
Hi all,
I have implemented bidirectional IO in Max II as below: //----------------------- module bidir_io ( input wire in, input wire oe, output out, inout wire io ); assign io = oe ? in : 1'bz; assign out = io; endmodule //-------------------------- I instantiate this module for bi-dir pins on the device as well as for internal inout variables. When I simulate, I don't get expected results.. some portion of the signal becomes 'x' state. If more info is needed, please let me know. Thanks