当前位置:网站首页>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
边栏推荐
- TCL:在Quartus中使用tcl脚本语言进行管脚约束
- Cash Ⅱ LeetCode_518_ change
- 如何优雅的消除系统重复代码
- Detailed explanation of Zadig's self-testing and tuning environment technical solution for developers
- TexturePacker使用文档
- Win10安装DBeaver连接MySQL8、导入和导出数据库详细教程
- 如何设计循环队列?快进来学习~
- Thinkphp 5.0.24变量覆盖漏洞导致RCE分析
- Axure教程-新手入门基础(小白强烈推荐!!!)
- OpenCV DNN blogFromImage() detailed explanation
猜你喜欢
Flink Yarn Per Job - Yarn应用
如何设计循环队列?快进来学习~
机器学习文本分类
Arduino 基础语法
Detailed explanation of Zadig's self-testing and tuning environment technical solution for developers
Flink Yarn Per Job - 提交流程一
SphereEx Miao Liyao: Database Mesh R&D Practice under Cloud Native Architecture
An interesting project--Folder comparison tool (1)
控制电机的几种控制电路原理图
EasyExcel的简单读取操作
随机推荐
IP Core: FIFO
在MySQL登录时出现Access denied for user ‘root‘@‘localhost‘ (using password YES) 拒绝访问问题解决
如何重装Win11?一键重装Win11方法
学习英语的网站与资料
TexturePacker使用文档
WEB安全基础 - - - XRAY使用
Artifact XXXwar exploded Artifact is being deployed, please wait...(已解决)
IP核:FIFO
【Leetcode】1206. Design Skiplist
以交易为生是一种什么体验?
【Leetcode】475. Heaters
REST会消失吗?事件驱动架构如何搭建?
20220725 Information update
LeetCode_322_零钱兑换
多御安全浏览器android版更新至1.7,改进加密协议
检查 Oracle 版本的 7 种方法
security CSRF漏洞保护
一篇永久摆脱Mysql时区错误问题,idea数据库可视化插件配置
Using the "stack" fast computing -- reverse polish expression
QML package management