Xilinx TCL Script without GUI

本文介绍了一种不使用图形界面创建 Xilinx TCL 脚本的方法。通过示例展示了如何设置项目属性、添加源文件、设定实现选项及运行设计流程。

How to Creat a Xilinx TCL Script without GUI ? Try the following example:

project new my_proj1.ise
project set family spartan3e
project set device xc3s500e
project set package fg320
project set speed -4

###############################################################################
# Modify the xfile add argument for the source files in the design
###############################################################################

puts "Adding Source Files..."
xfile add ../src/dice.vhd
xfile add temp.ucf

###############################################################################
# Set optional implemenation options here. There is a problem with setting
# project properties that at least one source must be added to the project
# first. Therefore, the "project set" commands are after the "xfile add"
# commands.
###############################################################################

puts "Setting Project Properties..."

project set "custom compile file list" "fpga_b.prj"
project set "Optimization Effort" High
project set "Cores Search Directories" ../src
project set "Read Cores" true ;# default is true, don't need to set
project set "Macro Search Path" ../src
project set "Map Effort Level" High
project set "Perform Timing-Driven Packing and Placement" 1
project set "Place & Route Effort Level (Overall)" High
# Do not generate the default post place static timing report
project set "generate post-place & route static timing report" false


###############################################################################
# Run the design.
###############################################################################

process run "Implement Design"
puts "Implement design done"
process run "Generate Programming File"
puts "Bit file ready!"

project close

puts "project closed!"

(From: http://forums.xilinx.com/xlnx/board/crawl_message?board.id=ISE&message.id=1186)

转载于:https://www.cnblogs.com/Jerome_Lee/archive/2010/05/14/1735518.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值