使用TCL脚本以减少Quartus综合时间
使用TCL脚本减少Quartus综合时间
allun.wei
2011-06-28 chengdu
这里介绍几种不同的实现方法,看你掌握TCL的程度选择适合你的方法。 方法一:最熟练的方式,这个很适合在Linux下操作。
1.用Vim或emacs等文本编辑工具写好你的HDL文件。
2.使用文本编辑工具写好TCL文件,这里给一个简单的例子:
#-----------以下为TCL文件,请根据不同的工程更改相关配置----------------#
#Run this script with quartus_sh -t
load_package flow
# Create the project and overwrite any settings
# files that exist
project_new test_top -overwrite
# Create or open project #
if [project_exists $project_name] {
# Project already exists -- open project
project_open $project_name
} else {
# Project does not exist -- create new project
project_new $project_name
}
# Set the device, the name of the top-level BDF,
# and the name of the top level entity
set_global_assignment -name FAMILY "Stratix II"
set_global_assignment -name DEVICE EP2S180F1020C3
set_global_assignment -name BDF_FILE test_top.v
set_global_assignment -name TOP_LEVEL_ENTITY test_top
# Add other pin assignments here
set_location_assignment -to clk Pin_G1
#Add your TimeQuest Constraints
create_clock -name clk -period 10.000 -waveform {0 5} [get_ports {clk}]
# compile the project
execute_flow -compile
#or use this to compile
#---------------
TCL 脚本语言学习 前言 Tcl 和 Java 一样,是平台无关的语言,windows、linux 下面都可运行;Tcl 和 Perl 一样,是脚本语言,无须编译,解释执行;Quartus II 支持 ...
VHDL和Verilog HDL 语言以及Tcl脚本语言输入文本型设计...用于QuartusⅡ软件和EDA设计输入与综合 工具中的设计...选择要捕获的信 号、开始捕获信号的时间以及要捕获...
使用,它可以从旧工程中获得或者从其他工程 中导入 – 优势 减少了编译时间 ...影响综合与逻辑映射 只针对Quartus II 中整合的综合器 Tcl: set_instance_...
QuartusⅡ平台完成设计电路的输入、仿真验证和 综合,...(.tbl),也支持Testbench如:Tcl/TK脚本文件,同时也...设计流程——设计仿真④ 设臵仿真参数:设臵仿真时间...
第2章 QuartusⅡ开发软件 设计输入 综合 布局、布线...使 用,也可以在Tcl脚本和Makefile脚本文件中使用。...同样,设计人员可以在任何时间对引脚的分配进 行修改...
更好的Fmax和编译时间 更好的 和编译时间 – 对...单独的逻辑选项– 利用Quartus II 的综合/配置的...! 支持Testbench – Tcl/TK 脚本文件 ! 第三方...
Tcl是一种很通用的脚本语言,它几乎在所有的平台上都可以释运行,其强大的功能和...//return xyzabcdef Backslash substitution 转移符替换 转移符时间不可打印字符或...
经过综合器优化后,输出端口已经不起作用了 4....而不是用 QUARTUS 将文件添加进本项目 措施:无须理会...(TCL 脚本文件里的多余管脚分配 语句最好也一起 ...
Status窗口显示Quartus软件在综合和编译过 程中的进度,并显示各项操作使用的时间...quartus软 件的各项操作都可以通过Tcl Console输入命令 和用户编写Tcl脚本来实现...
II9.1软件能够进一步缩短设计编译时间,而且还支持 ...VHDL和Verilog HDL语言以及Tcl脚本语言输入文本型设计...Analysis & Synthesis使用Quartus II内置综合器综合...
闽公网安备 35021102001881号 
热门文档