Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

Cyclone 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 => '...