Re: how to enable the pull up resistor in Quartus2 using cpl
thank you, FvM !
but i use quartus2 version7.2, i can not find what you have descripted above, but i find something from the help of quartus2.
----------------------------------------------------------------------
Buffer primitives allow you to do the following:
Make a location assignment
Make an I/O standard assignment
Make a drive strength (current strength) assignment
Make a slow slew rate assignment
Enable bus-hold circuitry
Enable a weak pull-up resistor
Make an on-chip termination assignment to a bidirectional pin from a lower-level entity
----------------------------------------------------------------------------
-- Add the library and use clauses before the design unit declaration
library altera;
use altera.altera_primitives_components.all;
-- Instantiating ALT_OUTBUF
<instance_name> : ALT_OUTBUF
generic map (
IO_STANDARD => "LVDS",
LOCATION => "IOBANK_2A",
CURRENT_STRENGTH => "minimum current",
ENABLE_BUS_HOLD => "off",
WEAK_PULL_UP_RESISTOR => "off"
)
port map ( i => <data_in>, o => <data_out>); -- <data_out> must be declared as an output pin
-------------------------------------------------------------------------
and it seems the output pin can use the weak-Pull-up-resistor, do i get the right meaning of this help file ? and if i use the feature of weak-Pull-up-resistor, i must instantiate an instance ? is there any easy operation about it available ?