Altera FPGA I/O weak pull ups
There are two ways of doing it.
1. Pin Planner
The first approach is in the Pin Planner tool. This is the GUI that allows you to select which pin goes where. From the main window with your project open, go to the Assignments menu and select Pin Planner (or press Ctrl+Shift+N).
In the pin planner window, in the All pins view at the bottom, right click on any column header, and select &quot;Customise Columns&quot;:

In the window that opens, scroll down in the left hand side and find &quot;Weak Pull-up Resistor&quot; (it's third one up from the bottom on mine). Click on that, then click the right arrow button to add it to the visible columns. Then click OK.

Now back in the Pin Planner window, you should see a new column called Weak Pull-Up Resistor. For each pin you wish to enable it on, simply click in the box for that column and select &quot;On&quot; (you can also type On into the box). By default it is turned &quot;Off&quot; - so if the column is blank, it means the same as if it says off.


2. Assignment Editor
You can also assign it manually with the &quot;Assignment Editor&quot; tool. This is useful if, say, you want to enable it for all pins in a bus, or even just all pins. You can use wildcards here.
Open the assignment editor tool in the main window by going to the &quot;Assignments&quot; menu and selecting &quot;Assignment Editor&quot; (or press Ctrl+Shift+A)
At the bottom of the list of assignments, there is a row where all entries are &lt;&lt;New&gt;&gt;. Click in the &quot;Assignment Name&quot; column and select &quot;Weak Pull-Up Resistor&quot;. Then in the &quot;Value&quot; column, select &quot;On&quot;. Finally in the &quot;To&quot; column, enter the pin name (which can include the wildcard character *).

This will enable the pull-up for any pin matching the name in the &quot;To&quot; column.