Forum Discussion
Altera_Forum
Honored Contributor
13 years agoCyclone III -- IO port in VHDL help
I'm writing a small code to simulate the I2C. In VHDL, the "sda_io" is defined as an IO port. I thought this simple statement should work: sda_io <= '0' when drive_sda = '1' else (other => '...
Altera_Forum
Honored Contributor
13 years agothe part you are looking for is the ALT_IOBUF component. you can use it in VHDL from this library:
LIBRARY altera; USE altera.altera_primitives_components.all; quarus help will tell you more.