问答 店铺
热搜: ZYNQ FPGA discuz

QQ登录

只需一步,快速开始

微信登录

微信扫码,快速开始

微信扫一扫 分享朋友圈

已有 7245 人浏览分享

开启左侧

如何用tcl命令给altera FPGA下载程序?

[复制链接]
7245 2
实现自动化,用脚本调用JTAG给FPGA下载程序,有做过的朋友吗?谢谢

评论 2

uisrc  管理员  发表于 2019-8-7 20:35:10 | 显示全部楼层
我们这里使用XILINX FPGA 对于ALTERA FPGA还真不熟悉
越努力越幸运!加油!
yticds  新手上路  发表于 2019-9-7 10:02:51 | 显示全部楼层
VIVADO TCL 脚本如下:
open_hw
connect_hw_server -url localhost:3121
current_hw_target [get_hw_targets */xilinx_tcf/Xilinx/00000000000000]
set_property PARAM.FREQUENCY 6000000 [get_hw_targets */xilinx_tcf/Xilinx/00000000000000]
open_hw_target

set_property PROGRAM.FILE { } [lindex [get_hw_devices] 0]
current_hw_device [lindex [get_hw_devices] 0]
refresh_hw_device -update_hw_probes false [lindex [get_hw_devices] 0]

set_property PROGRAM.FILE {top.bit} [lindex [get_hw_devices] 0]
set_property PROBES.FILE {debug_nets.ltx} [lindex [get_hw_devices] 0]

program_hw_devices [lindex [get_hw_devices] 0]
refresh_hw_device [lindex [get_hw_devices] 0]
display_hw_ila_data
set_property CONTROL.TRIGGER_POSITION 100 [get_hw_ilas hw_ila_1]

run_hw_ila hw_ila_1
wait_on_hw_ila hw_ila_1
display_hw_ila_data [upload_hw_ila_data hw_ila_1]
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

精彩推荐
热门资讯
网友晒图
图文推荐

  • 微信公众平台

  • 扫描访问手机版