当前位置:网站首页>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
边栏推荐
- 好好活就是做有意义的事,有意义的事就是好好活
- 短视频seo搜索优化主要内容
- SphereEx Miao Liyao: Database Mesh R&D Practice under Cloud Native Architecture
- 面试高频考题解法——栈的压入弹出序列、有效的括号、逆波兰表达式求值
- Win11内存管理错误怎么办?
- Axure教程-新手入门基础(小白强烈推荐!!!)
- 协作乐高 All In One:DAO工具大全
- mysql8安装make报错如何解决
- 单片机遥控开关系统设计(结构原理、电路、程序)
- yay 报错 response decoding failed: invalid character ‘<‘ looking for beginning of value;
猜你喜欢
Docker搭建Mysql主从复制
[Three sons] C language implements simple three sons
带你搞懂MySQL隔离级别,两个事务同时操作同一行数据会怎样?
控制电机的几种控制电路原理图
Short video SEO optimization tutorial Self-media SEO optimization skills and methods
多御安全浏览器android版更新至1.7,改进加密协议
【加密周报】经济衰退在加息气氛中蔓延 美联储“放手一搏”?盘点上周加密市场发生的重大事件
Unity—四元数、欧拉角API+坐标系统
background-image使用
security CSRF漏洞保护
随机推荐
Short video SEO optimization tutorial Self-media SEO optimization skills and methods
【Leetcode】475. Heaters
[Three sons] C language implements simple three sons
链上治理为何如此重要,波卡Gov 2.0又会如何引领链上治理的发展?
security跨域配置
go语言标准库fmt包怎么使用
【加密周报】经济衰退在加息气氛中蔓延 美联储“放手一搏”?盘点上周加密市场发生的重大事件
JSP out.println()方法具有什么功能呢?
07-SDRAM :FIFO控制模块
Bean的生命周期
【解决】win10下emqx启动报错Unable to load emulator DLL、node.db_role = EMQX_NODE__DB_ROLE = core
els 方块变形判断。
解析正则表达式的底层实现原理
Win10安装DBeaver连接MySQL8、导入和导出数据库详细教程
Detailed explanation of Zadig's self-testing and tuning environment technical solution for developers
Arduino 基础语法
security CSRF漏洞保护
Win11内存管理错误怎么办?
easy-excel 解决百万数据导入导出,性能很强
认识USB、Type-C、闪电、雷电接口