tri-state buffer with Xilinx ECS

M

Mai

Guest
i am using Xilinx ECS to implement an i2c interface.
i ve got an input sda_i and an output sda_o .
it s working well but i now would like to use an input/output SDA. I tried
to use the symbol "iobuf" with:

IO=SDA with a pull-up
T=sda_o with an inverser
I=pull down
O=sda_i

Simulation shows that '0' is ok, '1' goes like 'X' ...

thanks for help
 
"Mai" <mai@hide> wrote in message news:<99b43b91f81b25d99d5ed91d909eb105@localhost.talkaboutprogramming.com>...
i am using Xilinx ECS to implement an i2c interface.
i ve got an input sda_i and an output sda_o .
it s working well but i now would like to use an input/output SDA. I tried
to use the symbol "iobuf" with:

IO=SDA with a pull-up
T=sda_o with an inverser
I=pull down
O=sda_i

Simulation shows that '0' is ok, '1' goes like 'X' ...

thanks for help
Remove I=pull down. The reason X is there are two signals driving the
line at the same time, causing data uncertainty.

Weng
 

Welcome to EDABoard.com

Sponsor

Back
Top