Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

IO open drain configuration question.

adamShiau
Novice
1,100 Views

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

Labels (1)
0 Kudos
1 Solution
FvM
Honored Contributor II
978 Views

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

View solution in original post

0 Kudos
3 Replies
AqidAyman_Intel
Employee
995 Views

Hello Adam,


Have you been able to look at the Assignment Editor?

You open the Assignment Editor by clicking Assignments > Assignment Editor.

The Assignment Editor allows you to view, create, and edit assignments.


0 Kudos
FvM
Honored Contributor II
979 Views

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

0 Kudos
AqidAyman_Intel
Employee
748 Views

Thank you, Frank, for your valuable input.


Hi Adam,


I wish to follow up, do you need more support on this matter?


Regards,

Aqid


0 Kudos
Reply