Forum Discussion

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

How to program an I/O as a open drain on MAXII Micro Kit by using Quartus II?

Hi,

Are there anyone knows how to program an I/O as a open drain on MAXII

Micro Kit by using Quartus II? I saw the MAXII device handbook. The MAXII

supports a function of open drain for the I/O. It can also support an internal

I/O clamp diode in I/O bank3. I, however, couldn't find any options on the

pin assignment of the Quartus II. I don't know what is wrong. Are there

anyone could tell me why? The Micro kit is a development kit from Terasic.

It has a CPLD EPM2210F324C3N. If you need any other information, tell me

please. Thank you!

Peter Chang:)

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I've seen a post which uses a command as below in QSF.

    set_instance_assignment -name AUTO_OPEN_DRAIN_PINS ON -to xxxxx

    I've tried. I, however, couldn't find any difference on the Quartus II.

    How can I know if the pins have been programmed as a open drain

    output? Thanks.

    Peter Chang
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Most FPGA users define open drain function in HDL by assigning '0' respectively 'Z' output state, because it's a portable method working with any tool and CPLD vendor.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi FvM,

    Thank you! It must be the easiest.

    Peter :)

    Most FPGA users define open drain function in HDL by assigning '0' respectively 'Z' output state, because it's a portable method working with any tool and CPLD vendor.

    --- Quote End ---