xc7k480t/nitefury_pcie_xdma_ddr/project/o.tcl

25 lines
826 B
Tcl
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 创建Vivado工程非图形界面模式
create_project my_project ./my_project -part xc7k480tffg1156-2L -force
# # 生成IP核以AXI UART Lite为例
# create_ip -name axi_uartlite -vendor xilinx.com -library ip -version 2.0 -module_name uart_inst
# # 配置IP参数
# set_property -dict [list \
# CONFIG.C_BAUDRATE {115200} \
# CONFIG.C_S_AXI_ACLK_FREQ_HZ {100000000} \
# CONFIG.C_DATA_BITS {8} \
# CONFIG.C_USE_PARITY {0} \
# ] [get_ips uart_inst]
# add_file ../uart_inst.xci
add_file ../sources/ip/Top_axi_bram_ctrl_0_0/Top_axi_bram_ctrl_0_0.xci
# 生成IP输出文件RTL、约束、网表等
generate_target -force all [get_ips Top_axi_bram_ctrl_0_0]
synth_ip [get_ips Top_axi_bram_ctrl_0_0]
# write_ip_tcl -help
# write_ip_tcl -force -verbose [get_ips uart_inst] ./uart_inst.tcl