IO open drain configuration question.
Hi,
I read in the Cyclone IV device handbook that I/O pins can be configured in open-drain mode.
However, I couldn't find the chapter that explains how to set this up.
I tried using the Pin Planner in Quartus IDE, but I couldn't find an option to configure open-drain mode there.
Could you guide me to an example or instructions for setting this up?
Thank you!
Adam Shiau
Hi,
you don't need assignment pin planner or assignment editor to implement open drain, you can also infer open drain output directly in HDL by driving an inout pin to '0' and 'Z' respectively. Resource Property Editor shows that open drain mode is implemented for output buffer.
SDA <= '0' WHEN sda_oen = '0' else 'Z';Default compiler setting AUTO_OPEN_DRAIN_PINS on is presumed.
Regards
Frank