Forum Discussion
Altera_Forum
Honored Contributor
11 years agoI2C inout simulation
I am using VHDL to try and simulate an I2C master and slave. My slave has an inout port named i2c_sda. My master has a in port named i2c_sda_in and a output port named i2c_sda_out. In...
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- Alternatively you can use the To_X01() function from std_logic_1164 --- Quote End --- Cool, thanks, I did not know the standard libraries provide that function :-) makes my I2C code much more readable.