03-20-2017 08:59 AM
@mimo you may not have inout pins at an internal boundary. Your only option is to export 3 wires (out, enable, in) and connect that to an IO pin at the top level.
03-20-2017 10:31 AM
03-20-2017 01:06 PM
@mimo to drive an inout wire, you need a driver with tri-state signal (or enable), output signal itself and an input signal. If the tri-state driver is disabled, you can receive the other side's signal, if it's enabled, you can transmit the output to the wire.
03-21-2017 03:19 AM
Thank you for the replies,
First I made a vhdl module to comunicate with an adc external chip using i2c (SDA bidirectional) and its work fine with the tri-state mode. when i want to import this vhdl file into a black box in system generator, i can't map the SDA in and out pins with the same LOC using HW cosim. how i can solve this problem ?
03-21-2017 03:21 AM