hi guys! I've developed two i2c components.
1 | u1: SlaveI2CA generic map (SLAVE_ADDR) port map(scl,sda1,clk,rst,starting1,sda2); |
2 | u2: SlaveI2CB generic map (SLAVE_ADDR) port map(scl,sda3,clk,rst,starting2,sda4); |
I want to connect sda2 and sda3 with a pullup resistor (in simulation) but i don't know how to do this. When I write 'Z' or '0' the slave works,while it has already been programmed ,but i don't know how to develope this function in simulation. any advices?? thanks ;)