2018-04-13 16:09:57 +00:00
|
|
|
|
2019-05-31 07:27:14 +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
|
2019-05-31 07:27:14 +00:00
|
|
|
|
|
|
|
# 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
|
2019-05-31 07:27:14 +00:00
|
|
|
# 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
|
2019-05-30 13:45:10 +00:00
|
|
|
|
|
|
|
# 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
|
2019-05-31 07:27:14 +00:00
|
|
|
set adc_fifo_address_width 15
|
2019-05-30 13:45:10 +00:00
|
|
|
|
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
|