adamShiau
New Contributor
1 year agoIO 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 Planne...
- 1 year ago
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