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 agoIt's a VHDL newbie mistake, this statement works:
--- sda_io <= '0' when drive_sda = '1' else 'Z'; --- I still wish to know where and how to find the Altera's equivalent components of Xilinx's IBUF and OBUFE to instantiate in the design. Thanks for your help.