vivado Non_project

两盒软妹~` 提交于 2020-01-28 11:42:05

进入Non_project模式:

vivado -mode tcl

source top.tcl

top.tcl的内容为:

set _part “型号”                                

file mkdir project

read_verilog [glob *.v]

read_ip ip.xci  //IP ooc

set_property file_type {Verilog Header} [get_files include.v]  //beforce this step ,ensure that include.v has already read in

read_xdc xxx.xdc

synth_design -top "top module" -part "型号"

write_checkpoint -force "综合后dcp文件名"

 

#******************ILA***********************************#

create_debug_core u_ila_0 ila

set_property C_DATA_DEPTH 1024 [get_debug_cores u_ila_0]

set_property C_TRIGIN_EN false [get_debug_cores u_ila_0]

set_property C_TRIGOUT_EN false [get_debug_cores u_ila_0]

set_property C_ADV_TRIGGER false [get_debug_cores u_ila_0]

set_property C_INPUT_PIPE_STAGES 0 [get_debug_cores u_ila_0]

 

set_property C_EN_STRG_QUAL false [get_debug_cores u_ila_0]

set_property ALL_PROBE_SAME_MU false [get_debug_cores u_ila_0]

set_property ALL_PROBE_SAME_MU_CNT 1 [get_debug_cores u_ila_0]

set_property port_width 1 [get_debug_cores u_ila_0/clk]

connect_debug_port u_ila0/clk [get_nets [list xxx]]]

set_property port_width 2 [get_debug_cores u_ila_0/probe0]

connect_debug_port u_ila_0/probe0 [get_nets [list xxx]]]

create_debug_port u_ila_0 probe

set_property port_width 2 [get_debug_cores u_ila_0/probe1]

connect_debug_port u_ila_0/probe1 [get_nets [list xxx]]]

 

#******************ILA***********************************#

opt_design

write_debug_probes -force xxx.ltx

#read_checkpoint -incremental routed.dcp   //增量实现

place_design

route_design

write_checkpoint -force "布局布线后dcp文件名"

write_bitstream -force "Bit文件名"

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!