当前位置:网站首页>TCL: Pin Constraints Using the tcl Scripting Language in Quartus
TCL: Pin Constraints Using the tcl Scripting Language in Quartus
2022-08-02 00:16:00 【Liu Yaner】
前言
使用QuartusWhen making pin constraints,When there are many pins,Using the graphical interface to configure it can be cumbersome ,这种情况下可以采用tclScripting language for pin constraints
正文
注意
:before exporting the file,You can manually connect the pins yourselfLocation全选,Then set the upper pins as you like,This ensures that the exported file has pins,After exporting, you can modify it on this basis (You can select more than one to operate at the same time,I just discovered this operation tonight
)
一、导出tcl
Configure according to your own pinout requirements,我是对ov7725_hdmiThe project carries out pin constraints
# Copyright (C) 2017 Intel Corporation. All rights reserved.
# Your use of Intel Corporation's design tools, logic functions
# and other software and tools, and its AMPP partner logic
# functions, and any output files from any of the foregoing
# (including device programming or simulation files), and any
# associated documentation or information are expressly subject
# to the terms and conditions of the Intel Program License
# Subscription Agreement, the Intel Quartus Prime License Agreement,
# the Intel FPGA IP License Agreement, or other applicable license
# agreement, including, without limitation, that your use is for
# the sole purpose of programming logic devices manufactured by
# Intel and sold by Intel or its authorized distributors. Please
# refer to the applicable agreement for further details.
# Quartus Prime Version 17.1.0 Build 590 10/25/2017 SJ Standard Edition
# File: C:\Users\Administrator\Desktop\top_odmi.tcl
# Generated on: Mon Aug 01 21:55:28 2022
package require ::quartus::project
set_location_assignment PIN_L1 -to hdmi_b_n
set_location_assignment PIN_L2 -to hdmi_b_p
set_location_assignment PIN_J1 -to hdmi_clk_n
set_location_assignment PIN_J2 -to hdmi_clk_p
set_location_assignment PIN_N1 -to hdmi_g_n
set_location_assignment PIN_N2 -to hdmi_g_p
set_location_assignment PIN_P1 -to hdmi_r_n
set_location_assignment PIN_P2 -to hdmi_r_p
set_location_assignment PIN_B3 -to i2c_scl
set_location_assignment PIN_A3 -to i2c_sda
set_location_assignment PIN_D1 -to ov7725_data[7]
set_location_assignment PIN_C3 -to ov7725_data[6]
set_location_assignment PIN_L3 -to ov7725_data[5]
set_location_assignment PIN_G2 -to ov7725_data[4]
set_location_assignment PIN_C2 -to ov7725_data[3]
set_location_assignment PIN_B1 -to ov7725_data[2]
set_location_assignment PIN_K5 -to ov7725_data[1]
set_location_assignment PIN_G1 -to ov7725_data[0]
set_location_assignment PIN_E6 -to ov7725_href
set_location_assignment PIN_B8 -to ov7725_pclk
set_location_assignment PIN_A8 -to ov7725_vsync
set_location_assignment PIN_F9 -to sdram_addr[12]
set_location_assignment PIN_F8 -to sdram_addr[11]
set_location_assignment PIN_A5 -to sdram_addr[10]
set_location_assignment PIN_E8 -to sdram_addr[9]
set_location_assignment PIN_C8 -to sdram_addr[8]
set_location_assignment PIN_D8 -to sdram_addr[7]
set_location_assignment PIN_E7 -to sdram_addr[6]
set_location_assignment PIN_C6 -to sdram_addr[5]
set_location_assignment PIN_D6 -to sdram_addr[4]
set_location_assignment PIN_A2 -to sdram_addr[3]
set_location_assignment PIN_B4 -to sdram_addr[2]
set_location_assignment PIN_A4 -to sdram_addr[1]
set_location_assignment PIN_B5 -to sdram_addr[0]
set_location_assignment PIN_B6 -to sdram_bank[1]
set_location_assignment PIN_A6 -to sdram_bank[0]
set_location_assignment PIN_C9 -to sdram_cke
set_location_assignment PIN_D3 -to sdram_clk
set_location_assignment PIN_A7 -to sdram_cs_n
set_location_assignment PIN_D14 -to sdram_dq[15]
set_location_assignment PIN_E11 -to sdram_dq[14]
set_location_assignment PIN_C14 -to sdram_dq[13]
set_location_assignment PIN_D12 -to sdram_dq[12]
set_location_assignment PIN_D11 -to sdram_dq[11]
set_location_assignment PIN_E10 -to sdram_dq[10]
set_location_assignment PIN_C11 -to sdram_dq[9]
set_location_assignment PIN_E9 -to sdram_dq[8]
set_location_assignment PIN_B11 -to sdram_dq[7]
set_location_assignment PIN_A12 -to sdram_dq[6]
set_location_assignment PIN_B12 -to sdram_dq[5]
set_location_assignment PIN_A13 -to sdram_dq[4]
set_location_assignment PIN_B13 -to sdram_dq[3]
set_location_assignment PIN_A14 -to sdram_dq[2]
set_location_assignment PIN_B14 -to sdram_dq[1]
set_location_assignment PIN_A15 -to sdram_dq[0]
set_location_assignment PIN_D9 -to sdram_dqm[1]
set_location_assignment PIN_A11 -to sdram_dqm[0]
set_location_assignment PIN_B7 -to sdram_ras_n
set_location_assignment PIN_B10 -to sdram_cas_n
set_location_assignment PIN_A10 -to sdram_we_n
set_location_assignment PIN_E1 -to sys_clk
set_location_assignment PIN_M15 -to sys_rst_n
set_location_assignment PIN_F3 -to xclk
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to hdmi_b_n
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to hdmi_b_p
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to hdmi_clk_n
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to hdmi_clk_p
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to hdmi_g_n
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to hdmi_g_p
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to hdmi_r_p
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to i2c_scl
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to hdmi_r_n
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to i2c_sda
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ov7725_data[7]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ov7725_data[6]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ov7725_data[5]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ov7725_data[3]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ov7725_data[2]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ov7725_data[4]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ov7725_data[1]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ov7725_data[0]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ov7725_href
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ov7725_pclk
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ov7725_vsync
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_addr[12]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_addr[11]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_addr[10]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_addr[9]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_addr[8]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_addr[7]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_addr[6]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_addr[5]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_addr[4]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_addr[3]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_addr[2]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_addr[1]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_addr[0]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_bank[1]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_bank[0]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_cke
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_clk
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_cs_n
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_dq[15]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_dq[14]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_dq[13]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_dq[12]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_dq[11]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_dq[10]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_dq[9]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_dq[8]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_dq[7]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_dq[6]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_dq[5]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_dq[4]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_dq[3]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_dq[2]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_dq[1]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_dq[0]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_dqm[1]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_dqm[0]
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_ras_n
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_cas_n
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sdram_we_n
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sys_clk
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to sys_rst_n
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to xclk
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_addr[12]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_addr[10]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_addr[9]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_addr[8]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_addr[7]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_addr[6]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_addr[5]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_addr[4]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_addr[3]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_addr[2]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_addr[1]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_addr[0]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_bank[1]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_bank[0]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_cke
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_clk
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_cs_n
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_dq[15]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_dq[14]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_dq[8]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_dq[9]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_dq[6]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_dq[5]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_dq[4]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_dq[3]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_dq[2]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_dq[1]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_dq[0]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_dq[7]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_dqm[1]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_dqm[0]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_ras_n
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_we_n
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_dq[10]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_dq[11]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_dq[12]
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sdram_dq[13]
二、导入tcl到工程
Import the file you just configured
点击 run
后,Return to the pin configuration interface,You can see that all pins are configured
边栏推荐
猜你喜欢
随机推荐
Docker搭建Mysql主从复制
短视频SEO优化教程 自媒体SEO优化技巧方法
QML包管理
Win10安装DBeaver连接MySQL8、导入和导出数据库详细教程
After an incomplete recovery, the control file has been created or restored, the database must be opened with RESETLOGS, interpreting RESETLOGS.
在不完全恢复、控制文件被创建或还原后,必须使用 RESETLOGS 打开数据库,解释 RESETLOGS.
Bean的生命周期
asyncawait和promise的区别
els 方块边界变形处理
在linux下MySQL的常用操作命令
REST会消失吗?事件驱动架构如何搭建?
短视频SEO搜索运营获客系统功能介绍
C language Qixi is coming!It's time to show the romance of programmers!
Wincc报表教程(SQL数据库的建立,wincc在数据库中保存和查询数据,调用Excel模板把数据保存到指定的位置和打印功能)
Win11如何获得最佳电源效率?
DOM 基础操作
When Netflix's NFTs Forget Web2 Business Security
OpenCV DNN blogFromImage()详解
Zadig 面向开发者的自测联调子环境技术方案详解
Interview high-frequency test questions solution - stack push and pop sequence, effective parentheses, reverse Polish expression evaluation