2019-08-15 14:19:51 +00:00
|
|
|
# Configurable parameters
|
|
|
|
|
|
|
|
set SAMPLE_RATE_MHZ 1000.0
|
|
|
|
set NUM_OF_CHANNELS 4 ; # M
|
|
|
|
set SAMPLES_PER_FRAME 1 ; # S
|
|
|
|
set NUM_OF_LANES 4 ; # L
|
|
|
|
set ADC_RESOLUTION 8 ; # N & NP
|
|
|
|
|
|
|
|
set LANE_RATE [expr {($ADC_RESOLUTION * $NUM_OF_CHANNELS *$SAMPLE_RATE_MHZ * 1.25) / $NUM_OF_LANES}]
|
|
|
|
|
|
|
|
source $ad_hdl_dir/projects/common/a10soc/a10soc_system_qsys.tcl
|
|
|
|
source ../common/ad_fmclidar1_ebz_qsys.tcl
|
2020-08-18 20:52:39 +00:00
|
|
|
source $ad_hdl_dir/projects/scripts/adi_pd_intel.tcl
|
|
|
|
|
|
|
|
#system ID
|
|
|
|
set_instance_parameter_value axi_sysid_0 {ROM_ADDR_BITS} {9}
|
|
|
|
set_instance_parameter_value rom_sys_0 {ROM_ADDR_BITS} {9}
|
|
|
|
|
|
|
|
set_instance_parameter_value rom_sys_0 {PATH_TO_FILE} "[pwd]/mem_init_sys.txt"
|
|
|
|
|
|
|
|
set sys_cstring "sys rom custom string placeholder";
|
|
|
|
sysid_gen_sys_init_file $sys_cstring;
|
2019-08-15 14:19:51 +00:00
|
|
|
|