mafan88的个人空间 https://blog.eetop.cn/162539 [收藏] [复制] [分享] [RSS]

空间首页 动态 记录 日志 相册 主题 分享 留言板 个人资料

日志

How to Creat a Xilinx TCL Script without GUI

已有 568 次阅读| 2011-12-30 17:25 |个人分类:脚本

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!"


点赞

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 注册

  • 关注TA
  • 加好友
  • 联系TA
  • 0

    周排名
  • 0

    月排名
  • 0

    总排名
  • 0

    关注
  • 6

    粉丝
  • 0

    好友
  • 15

    获赞
  • 6

    评论
  • 105786

    访问数
关闭

站长推荐 上一条 /1 下一条

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-5-23 19:41 , Processed in 0.010922 second(s), 8 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
返回顶部