pluto_hdl_adi/projects/fmcomms11/zc706/system_bd.tcl

26 lines
960 B
Tcl
Raw Normal View History

2018-04-13 16:09:57 +00:00
# instantiate the base design
2018-04-13 16:09:57 +00:00
source $ad_hdl_dir/projects/common/zc706/zc706_system_bd.tcl
# load all the FIFO related proccesses
2018-04-13 16:09:57 +00:00
source $ad_hdl_dir/projects/common/zc706/zc706_plddr3_adcfifo_bd.tcl
source $ad_hdl_dir/projects/common/xilinx/dacfifo_bd.tcl
# NOTE: to swap the resources comment the two lines above, and uncomment to two line below
#source $ad_hdl_dir/projects/common/zc706/zc706_plddr3_dacfifo_bd.tcl
#source $ad_hdl_dir/projects/common/xilinx/adcfifo_bd.tcl
# the DAC FIFO has a 500KSMP depth - 1 Mbyte
set dac_fifo_address_width 15
# by default PLDDR is used (1 Gbyte), this varible should be ignored
set adc_fifo_address_width 15
2018-04-13 16:09:57 +00:00
source ../common/fmcomms11_bd.tcl
2019-06-28 08:41:21 +00:00
#system ID
ad_ip_parameter axi_sysid_0 CONFIG.ROM_ADDR_BITS 9
ad_ip_parameter rom_sys_0 CONFIG.PATH_TO_FILE "[pwd]/mem_init_sys.txt"
ad_ip_parameter rom_sys_0 CONFIG.ROM_ADDR_BITS 9
set sys_cstring "sys rom custom string placeholder"
sysid_gen_sys_init_file $sys_cstring