Intel® Quartus® Prime Pro Edition User Guide: Getting Started

ID 683463
Date 6/26/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

5.6.2.1.2. Defining Preset Pin Assignments in a Pin File

Alternatively, you can specify the pin assignments in a Pin Constraints File (.tcl), which can be more efficient for projects with many ports. You specify this .tcl file as the Pin Constraint File on the Pin Assignments tab, and then click Load Pin. The Pin Location and IO Standard update per the loaded pin assignments.

Figure 61. Loading Pin Assignments from Tcl File


The following shows the contents of an example Pin Constraints File (.tcl):

set_instance_assignment -to "led_export[0]" -name IO_STANDARD "1.2 V" 
set_location_assignment -to "led_export[0]" "PIN_B31" 
set_instance_assignment -to "led_export[1]" -name IO_STANDARD "1.2 V" 
set_location_assignment -to "led_export[1]" "PIN_D31" 
set_instance_assignment -to "led_export[2]" -name IO_STANDARD "1.2 V" 
set_location_assignment -to "led_export[2]" "PIN_A30" 
set_instance_assignment -to "led_export[3]" -name IO_STANDARD "1.2 V" 
set_location_assignment -to "led_export[3]" "PIN_C30"