Inout port and input output port declaration in top module
Hi all,
If i have three modules, one is top and other two is instaintiated in that top module. In top i have declare an inout port a and in other two modules i declared the same port as input a and output a. So is it correct way of declaration?
Create symbol for other two modules(non top-level)
Import and wire these symbols in top-level module.
But observe the correct data directions between symbols.