adrv9361: Added sysid to all projects

main
Sergiu Arpadi 2019-11-18 11:02:06 +00:00 committed by sarpadi
parent 24b5de4438
commit 570dae7df6
9 changed files with 42 additions and 0 deletions

View File

@ -15,6 +15,8 @@ M_DEPS += ../../../library/axi_ad9361/axi_ad9361_delay.tcl
LIB_DEPS += axi_ad9361
LIB_DEPS += axi_dmac
LIB_DEPS += axi_sysid
LIB_DEPS += sysid_rom
LIB_DEPS += axi_gpreg
LIB_DEPS += util_pack/util_cpack2
LIB_DEPS += util_pack/util_upack2

View File

@ -9,3 +9,9 @@ cfg_ad9361_interface CMOS
ad_ip_parameter axi_ad9361 CONFIG.ADC_INIT_DELAY 29
#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

View File

@ -15,6 +15,8 @@ M_DEPS += ../../../library/axi_ad9361/axi_ad9361_delay.tcl
LIB_DEPS += axi_ad9361
LIB_DEPS += axi_dmac
LIB_DEPS += axi_sysid
LIB_DEPS += sysid_rom
LIB_DEPS += axi_gpreg
LIB_DEPS += util_pack/util_cpack2
LIB_DEPS += util_pack/util_upack2

View File

@ -6,3 +6,9 @@ cfg_ad9361_interface LVDS
ad_ip_parameter axi_ad9361 CONFIG.ADC_INIT_DELAY 29
#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

View File

@ -17,6 +17,8 @@ M_DEPS += ../../../library/axi_ad9361/axi_ad9361_delay.tcl
LIB_DEPS += axi_ad9361
LIB_DEPS += axi_clkgen
LIB_DEPS += axi_dmac
LIB_DEPS += axi_sysid
LIB_DEPS += sysid_rom
LIB_DEPS += axi_gpreg
LIB_DEPS += axi_hdmi_tx
LIB_DEPS += axi_i2s_adi

View File

@ -9,3 +9,9 @@ ad_connect sys_cpu_clk sys_cpu_clk_out
ad_ip_parameter axi_ad9361 CONFIG.ADC_INIT_DELAY 29
#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

View File

@ -16,6 +16,8 @@ M_DEPS += ../../../library/axi_ad9361/axi_ad9361_delay.tcl
LIB_DEPS += axi_ad9361
LIB_DEPS += axi_dmac
LIB_DEPS += axi_sysid
LIB_DEPS += sysid_rom
LIB_DEPS += axi_i2s_adi
LIB_DEPS += util_pack/util_cpack2
LIB_DEPS += util_pack/util_upack2

View File

@ -9,3 +9,9 @@ ad_connect sys_cpu_clk sys_cpu_clk_out
set_property CONFIG.ADC_INIT_DELAY 29 [get_bd_cells axi_ad9361]
#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

View File

@ -148,6 +148,15 @@ ad_connect spi1_sdo_i sys_ps7/SPI1_MOSI_I
ad_connect spi1_sdo_o sys_ps7/SPI1_MOSI_O
ad_connect spi1_sdi_i sys_ps7/SPI1_MISO_I
# system id
ad_ip_instance axi_sysid axi_sysid_0
ad_ip_instance sysid_rom rom_sys_0
ad_connect axi_sysid_0/rom_addr rom_sys_0/rom_addr
ad_connect axi_sysid_0/sys_rom_data rom_sys_0/rom_data
ad_connect sys_cpu_clk rom_sys_0/clk
# interrupts
ad_connect sys_concat_intc/dout sys_ps7/IRQ_F2P
@ -170,6 +179,7 @@ ad_connect sys_concat_intc/In0 GND
# interconnects
ad_cpu_interconnect 0x45000000 axi_sysid_0
ad_cpu_interconnect 0x41600000 axi_iic_main
# ad9361