diff --git a/projects/ad_fmclidar1_ebz/a10soc/system_qsys.tcl b/projects/ad_fmclidar1_ebz/a10soc/system_qsys.tcl index 15f3b61ad..3fe25436d 100644 --- a/projects/ad_fmclidar1_ebz/a10soc/system_qsys.tcl +++ b/projects/ad_fmclidar1_ebz/a10soc/system_qsys.tcl @@ -10,4 +10,14 @@ set LANE_RATE [expr {($ADC_RESOLUTION * $NUM_OF_CHANNELS *$SAMPLE_RATE_MHZ * 1.2 source $ad_hdl_dir/projects/common/a10soc/a10soc_system_qsys.tcl source ../common/ad_fmclidar1_ebz_qsys.tcl +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; diff --git a/projects/ad_fmclidar1_ebz/a10soc/system_top.v b/projects/ad_fmclidar1_ebz/a10soc/system_top.v index e344943a9..0964c92b9 100644 --- a/projects/ad_fmclidar1_ebz/a10soc/system_top.v +++ b/projects/ad_fmclidar1_ebz/a10soc/system_top.v @@ -251,6 +251,7 @@ module system_top ( .sys_gpio_bd_out_port (gpio_o[31:0]), .sys_gpio_in_export (gpio_i[63:32]), .sys_gpio_out_export (gpio_o[63:32]), + .pr_rom_data_nc_rom_data('h0), .sys_hps_ddr_mem_ck (hps_ddr_clk_p), .sys_hps_ddr_mem_ck_n (hps_ddr_clk_n), .sys_hps_ddr_mem_a (hps_ddr_a), diff --git a/projects/adrv9009/a10gx/system_qsys.tcl b/projects/adrv9009/a10gx/system_qsys.tcl index 681fa02de..184e93cb1 100644 --- a/projects/adrv9009/a10gx/system_qsys.tcl +++ b/projects/adrv9009/a10gx/system_qsys.tcl @@ -1,6 +1,17 @@ set dac_fifo_address_width 10 +source $ad_hdl_dir/projects/scripts/adi_pd_intel.tcl source $ad_hdl_dir/projects/common/a10gx/a10gx_system_qsys.tcl source $ad_hdl_dir/projects/common/intel/dacfifo_qsys.tcl source ../common/adrv9009_qsys.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; + diff --git a/projects/adrv9009/a10gx/system_top.v b/projects/adrv9009/a10gx/system_top.v index 4c357fc15..5948b141a 100644 --- a/projects/adrv9009/a10gx/system_top.v +++ b/projects/adrv9009/a10gx/system_top.v @@ -214,6 +214,7 @@ module system_top ( .sys_gpio_bd_out_port (gpio_o[31:0]), .sys_gpio_in_export (gpio_i[63:32]), .sys_gpio_out_export (gpio_o[63:32]), + .pr_rom_data_nc_rom_data('h0), .sys_rst_reset_n (sys_resetn), .sys_spi_MISO (spi_miso), .sys_spi_MOSI (spi_mosi), diff --git a/projects/adrv9009/a10soc/system_qsys.tcl b/projects/adrv9009/a10soc/system_qsys.tcl index a49d0a517..e67b713d0 100755 --- a/projects/adrv9009/a10soc/system_qsys.tcl +++ b/projects/adrv9009/a10soc/system_qsys.tcl @@ -1,6 +1,17 @@ set dac_fifo_address_width 10 +source $ad_hdl_dir/projects/scripts/adi_pd_intel.tcl source $ad_hdl_dir/projects/common/a10soc/a10soc_system_qsys.tcl source $ad_hdl_dir/projects/common/a10soc/a10soc_plddr4_dacfifo_qsys.tcl source ../common/adrv9009_qsys.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; + diff --git a/projects/adrv9009/a10soc/system_top.v b/projects/adrv9009/a10soc/system_top.v index 92b424a23..7fa5046a6 100755 --- a/projects/adrv9009/a10soc/system_top.v +++ b/projects/adrv9009/a10soc/system_top.v @@ -320,6 +320,7 @@ module system_top ( .rx_os_sysref_export (sysref), .rx_ref_clk_clk (ref_clk1), .rx_sync_export (rx_sync), + .pr_rom_data_nc_rom_data('h0), .rx_sysref_export (sysref)); endmodule diff --git a/projects/adrv9371x/a10gx/system_qsys.tcl b/projects/adrv9371x/a10gx/system_qsys.tcl index 9d2a800d4..ba17de911 100644 --- a/projects/adrv9371x/a10gx/system_qsys.tcl +++ b/projects/adrv9371x/a10gx/system_qsys.tcl @@ -1,7 +1,18 @@ set dac_fifo_address_width 10 +source $ad_hdl_dir/projects/scripts/adi_pd_intel.tcl source $ad_hdl_dir/projects/common/a10gx/a10gx_system_qsys.tcl source $ad_hdl_dir/projects/common/intel/dacfifo_qsys.tcl source ../common/adrv9371x_qsys.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; + diff --git a/projects/adrv9371x/a10gx/system_top.v b/projects/adrv9371x/a10gx/system_top.v index 9fd20fd2f..d7cc16a87 100644 --- a/projects/adrv9371x/a10gx/system_top.v +++ b/projects/adrv9371x/a10gx/system_top.v @@ -213,6 +213,7 @@ module system_top ( .sys_gpio_bd_out_port (gpio_o[31:0]), .sys_gpio_in_export (gpio_i[63:32]), .sys_gpio_out_export (gpio_o[63:32]), + .pr_rom_data_nc_rom_data('h0), .sys_rst_reset_n (sys_resetn), .sys_spi_MISO (spi_miso), .sys_spi_MOSI (spi_mosi), diff --git a/projects/adrv9371x/a10soc/system_qsys.tcl b/projects/adrv9371x/a10soc/system_qsys.tcl index 55931db2a..5990a0971 100644 --- a/projects/adrv9371x/a10soc/system_qsys.tcl +++ b/projects/adrv9371x/a10soc/system_qsys.tcl @@ -1,8 +1,17 @@ set dac_fifo_address_width 10 +source $ad_hdl_dir/projects/scripts/adi_pd_intel.tcl source $ad_hdl_dir/projects/common/a10soc/a10soc_system_qsys.tcl source $ad_hdl_dir/projects/common/a10soc/a10soc_plddr4_dacfifo_qsys.tcl source ../common/adrv9371x_qsys.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; diff --git a/projects/adrv9371x/a10soc/system_top.v b/projects/adrv9371x/a10soc/system_top.v index 3b7568739..b7a650917 100644 --- a/projects/adrv9371x/a10soc/system_top.v +++ b/projects/adrv9371x/a10soc/system_top.v @@ -319,6 +319,7 @@ module system_top ( .rx_os_sysref_export (sysref), .rx_ref_clk_clk (ref_clk1), .rx_sync_export (rx_sync), + .pr_rom_data_nc_rom_data('h0), .rx_sysref_export (sysref)); endmodule diff --git a/projects/arradio/c5soc/system_qsys.tcl b/projects/arradio/c5soc/system_qsys.tcl index 7d0e88262..6aa5eb7b9 100644 --- a/projects/arradio/c5soc/system_qsys.tcl +++ b/projects/arradio/c5soc/system_qsys.tcl @@ -1,5 +1,14 @@ +source $ad_hdl_dir/projects/scripts/adi_pd_intel.tcl source $ad_hdl_dir/projects/common/c5soc/c5soc_system_qsys.tcl source ../common/arradio_qsys.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; diff --git a/projects/arradio/c5soc/system_top.v b/projects/arradio/c5soc/system_top.v index 3c6a0ddc3..307f6783d 100644 --- a/projects/arradio/c5soc/system_top.v +++ b/projects/arradio/c5soc/system_top.v @@ -215,6 +215,7 @@ module system_top ( .sys_gpio_bd_out_port (sys_gpio_bd_o), .sys_gpio_in_export (sys_gpio_i), .sys_gpio_out_export (sys_gpio_o), + .pr_rom_data_nc_rom_data('h0), .sys_hps_h2f_reset_reset_n (sys_resetn), .sys_hps_hps_io_hps_io_emac1_inst_TX_CLK (eth1_tx_clk), .sys_hps_hps_io_hps_io_emac1_inst_TXD0 (eth1_tx_d[0]), diff --git a/projects/cn0506_mii/a10soc/system_qsys.tcl b/projects/cn0506_mii/a10soc/system_qsys.tcl index 3416c18f6..a510092d2 100644 --- a/projects/cn0506_mii/a10soc/system_qsys.tcl +++ b/projects/cn0506_mii/a10soc/system_qsys.tcl @@ -1,5 +1,14 @@ - +source $ad_hdl_dir/projects/scripts/adi_pd_intel.tcl source $ad_hdl_dir/projects/common/a10soc/a10soc_system_qsys.tcl source ../common/cn0506_qsys.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; + diff --git a/projects/cn0506_mii/a10soc/system_top.v b/projects/cn0506_mii/a10soc/system_top.v index 92819a939..a7f51a919 100644 --- a/projects/cn0506_mii/a10soc/system_top.v +++ b/projects/cn0506_mii/a10soc/system_top.v @@ -227,6 +227,7 @@ module system_top ( .sys_gpio_bd_out_port (gpio_o[31:0]), .sys_gpio_in_export (gpio_i[63:32]), .sys_gpio_out_export (gpio_o[63:32]), + .pr_rom_data_nc_rom_data('h0), .sys_hps_ddr_mem_ck (hps_ddr_clk_p), .sys_hps_ddr_mem_ck_n (hps_ddr_clk_n), .sys_hps_ddr_mem_a (hps_ddr_a), diff --git a/projects/cn0506_rgmii/a10soc/system_qsys.tcl b/projects/cn0506_rgmii/a10soc/system_qsys.tcl index 3416c18f6..a510092d2 100644 --- a/projects/cn0506_rgmii/a10soc/system_qsys.tcl +++ b/projects/cn0506_rgmii/a10soc/system_qsys.tcl @@ -1,5 +1,14 @@ - +source $ad_hdl_dir/projects/scripts/adi_pd_intel.tcl source $ad_hdl_dir/projects/common/a10soc/a10soc_system_qsys.tcl source ../common/cn0506_qsys.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; + diff --git a/projects/cn0506_rgmii/a10soc/system_top.v b/projects/cn0506_rgmii/a10soc/system_top.v index 558a0f73d..ba34828f7 100644 --- a/projects/cn0506_rgmii/a10soc/system_top.v +++ b/projects/cn0506_rgmii/a10soc/system_top.v @@ -251,6 +251,7 @@ module system_top ( .sys_gpio_in_export (gpio_i[63:32]), .sys_gpio_out_export (gpio_o[63:32]), .sys_hps_ddr_mem_ck (hps_ddr_clk_p), + .pr_rom_data_nc_rom_data('h0), .sys_hps_ddr_mem_ck_n (hps_ddr_clk_n), .sys_hps_ddr_mem_a (hps_ddr_a), .sys_hps_ddr_mem_act_n (hps_ddr_act_n), diff --git a/projects/common/a10gx/a10gx_system_qsys.tcl b/projects/common/a10gx/a10gx_system_qsys.tcl index c7a6ccd27..c3d039f67 100644 --- a/projects/common/a10gx/a10gx_system_qsys.tcl +++ b/projects/common/a10gx/a10gx_system_qsys.tcl @@ -399,6 +399,20 @@ add_connection sys_clk.clk sys_spi.clk add_interface sys_spi conduit end set_interface_property sys_spi EXPORT_OF sys_spi.external +# system id + +add_instance axi_sysid_0 axi_sysid +add_instance rom_sys_0 sysid_rom + +add_connection axi_sysid_0.if_rom_addr rom_sys_0.if_rom_addr +add_connection rom_sys_0.if_rom_data axi_sysid_0.if_sys_rom_data +add_connection sys_clk.clk rom_sys_0.if_clk +add_connection sys_clk.clk axi_sysid_0.s_axi_clock +add_connection sys_clk.clk_reset axi_sysid_0.s_axi_reset + +add_interface pr_rom_data_nc conduit end +set_interface_property pr_rom_data_nc EXPORT_OF axi_sysid_0.if_pr_rom_data + # base-addresses ad_cpu_interconnect 0x00180800 sys_cpu.debug_mem_slave @@ -417,6 +431,7 @@ ad_cpu_interconnect 0x001814d0 sys_gpio_bd.s1 ad_cpu_interconnect 0x001814c0 sys_gpio_in.s1 ad_cpu_interconnect 0x00181500 sys_gpio_out.s1 ad_cpu_interconnect 0x00181400 sys_spi.spi_control_port +ad_cpu_interconnect 0x00190000 axi_sysid_0.s_axi # dma interconnects diff --git a/projects/common/a10soc/a10soc_system_qsys.tcl b/projects/common/a10soc/a10soc_system_qsys.tcl index e31591331..a3b6fd8cb 100644 --- a/projects/common/a10soc/a10soc_system_qsys.tcl +++ b/projects/common/a10soc/a10soc_system_qsys.tcl @@ -247,12 +247,27 @@ add_connection sys_clk.clk sys_spi.clk add_interface sys_spi conduit end set_interface_property sys_spi EXPORT_OF sys_spi.external +# system id + +add_instance axi_sysid_0 axi_sysid +add_instance rom_sys_0 sysid_rom + +add_connection axi_sysid_0.if_rom_addr rom_sys_0.if_rom_addr +add_connection rom_sys_0.if_rom_data axi_sysid_0.if_sys_rom_data +add_connection sys_clk.clk rom_sys_0.if_clk +add_connection sys_clk.clk axi_sysid_0.s_axi_clock +add_connection sys_clk.clk_reset axi_sysid_0.s_axi_reset + +add_interface pr_rom_data_nc conduit end +set_interface_property pr_rom_data_nc EXPORT_OF axi_sysid_0.if_pr_rom_data + # base-addresses ad_cpu_interconnect 0x000000d0 sys_gpio_bd.s1 ad_cpu_interconnect 0x00000000 sys_gpio_in.s1 ad_cpu_interconnect 0x00000020 sys_gpio_out.s1 ad_cpu_interconnect 0x00000040 sys_spi.spi_control_port +ad_cpu_interconnect 0x00018000 axi_sysid_0.s_axi # interrupts diff --git a/projects/common/c5soc/c5soc_system_qsys.tcl b/projects/common/c5soc/c5soc_system_qsys.tcl index 180886932..80141ceef 100644 --- a/projects/common/c5soc/c5soc_system_qsys.tcl +++ b/projects/common/c5soc/c5soc_system_qsys.tcl @@ -291,6 +291,20 @@ add_connection sys_clk.clk_reset sys_spi.reset add_interface sys_spi conduit end set_interface_property sys_spi EXPORT_OF sys_spi.external +# system id + +add_instance axi_sysid_0 axi_sysid +add_instance rom_sys_0 sysid_rom + +add_connection axi_sysid_0.if_rom_addr rom_sys_0.if_rom_addr +add_connection rom_sys_0.if_rom_data axi_sysid_0.if_sys_rom_data +add_connection sys_clk.clk rom_sys_0.if_clk +add_connection sys_clk.clk axi_sysid_0.s_axi_clock +add_connection sys_clk.clk_reset axi_sysid_0.s_axi_reset + +add_interface pr_rom_data_nc conduit end +set_interface_property pr_rom_data_nc EXPORT_OF axi_sysid_0.if_pr_rom_data + # interrupts ad_cpu_interrupt 0 sys_gpio_bd.irq @@ -305,4 +319,4 @@ ad_cpu_interconnect 0x00010000 sys_id.control_slave ad_cpu_interconnect 0x00010080 sys_gpio_bd.s1 ad_cpu_interconnect 0x00010100 sys_gpio_in.s1 ad_cpu_interconnect 0x00109000 sys_gpio_out.s1 - +ad_cpu_interconnect 0x00018000 axi_sysid_0.s_axi diff --git a/projects/common/de10/de10_system_qsys.tcl b/projects/common/de10/de10_system_qsys.tcl index fe8c1487c..6c1e3f000 100644 --- a/projects/common/de10/de10_system_qsys.tcl +++ b/projects/common/de10/de10_system_qsys.tcl @@ -207,6 +207,20 @@ add_connection sys_clk.clk_reset sys_spi.reset add_interface sys_spi conduit end set_interface_property sys_spi EXPORT_OF sys_spi.external +# system id + +add_instance axi_sysid_0 axi_sysid +add_instance rom_sys_0 sysid_rom + +add_connection axi_sysid_0.if_rom_addr rom_sys_0.if_rom_addr +add_connection rom_sys_0.if_rom_data axi_sysid_0.if_sys_rom_data +add_connection sys_clk.clk rom_sys_0.if_clk +add_connection sys_clk.clk axi_sysid_0.s_axi_clock +add_connection sys_clk.clk_reset axi_sysid_0.s_axi_reset + +add_interface pr_rom_data_nc conduit end +set_interface_property pr_rom_data_nc EXPORT_OF axi_sysid_0.if_pr_rom_data + # interrupts ad_cpu_interrupt 0 sys_gpio_bd.irq @@ -219,4 +233,5 @@ ad_cpu_interconnect 0x00010000 sys_id.control_slave ad_cpu_interconnect 0x00010080 sys_gpio_bd.s1 ad_cpu_interconnect 0x00010100 sys_gpio_in.s1 ad_cpu_interconnect 0x00109000 sys_gpio_out.s1 +ad_cpu_interconnect 0x00018000 axi_sysid_0.s_axi diff --git a/projects/dac_fmc_ebz/a10soc/system_qsys.tcl b/projects/dac_fmc_ebz/a10soc/system_qsys.tcl index d1543505e..c94c502ab 100644 --- a/projects/dac_fmc_ebz/a10soc/system_qsys.tcl +++ b/projects/dac_fmc_ebz/a10soc/system_qsys.tcl @@ -32,6 +32,17 @@ set dac_fifo_address_width 13 +source $ad_hdl_dir/projects/scripts/adi_pd_intel.tcl source $ad_hdl_dir/projects/common/a10soc/a10soc_system_qsys.tcl source $ad_hdl_dir/projects/common/a10soc/a10soc_plddr4_dacfifo_qsys.tcl source ../common/dac_fmc_ebz_qsys.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; + diff --git a/projects/dac_fmc_ebz/a10soc/system_top.v b/projects/dac_fmc_ebz/a10soc/system_top.v index 3f7c94c97..fa0e71581 100644 --- a/projects/dac_fmc_ebz/a10soc/system_top.v +++ b/projects/dac_fmc_ebz/a10soc/system_top.v @@ -223,6 +223,7 @@ module system_top #( .sys_gpio_bd_out_port (gpio_o[31:0]), .sys_gpio_in_export (gpio_i[63:32]), .sys_gpio_out_export (gpio_o[63:32]), + .pr_rom_data_nc_rom_data('h0), .sys_hps_ddr_mem_ck (hps_ddr_clk_p), .sys_hps_ddr_mem_ck_n (hps_ddr_clk_n), .sys_hps_ddr_mem_a (hps_ddr_a), diff --git a/projects/daq2/a10gx/system_qsys.tcl b/projects/daq2/a10gx/system_qsys.tcl index 2892ee49c..78c65f5b4 100644 --- a/projects/daq2/a10gx/system_qsys.tcl +++ b/projects/daq2/a10gx/system_qsys.tcl @@ -1,7 +1,18 @@ set dac_fifo_address_width 10 +source $ad_hdl_dir/projects/scripts/adi_pd_intel.tcl source $ad_hdl_dir/projects/common/a10gx/a10gx_system_qsys.tcl source $ad_hdl_dir/projects/common/intel/dacfifo_qsys.tcl source ../common/daq2_qsys.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; + diff --git a/projects/daq2/a10gx/system_top.v b/projects/daq2/a10gx/system_top.v index fe0a9e5c4..d8705f02f 100644 --- a/projects/daq2/a10gx/system_top.v +++ b/projects/daq2/a10gx/system_top.v @@ -232,6 +232,7 @@ module system_top ( .sys_gpio_bd_out_port (gpio_o[31:0]), .sys_gpio_in_export (gpio_i[63:32]), .sys_gpio_out_export (gpio_o[63:32]), + .pr_rom_data_nc_rom_data('h0), .sys_rst_reset_n (sys_resetn), .sys_spi_MISO (spi_miso_s), .sys_spi_MOSI (spi_mosi_s), diff --git a/projects/daq2/a10soc/system_qsys.tcl b/projects/daq2/a10soc/system_qsys.tcl index 73b62c918..6550a57eb 100644 --- a/projects/daq2/a10soc/system_qsys.tcl +++ b/projects/daq2/a10soc/system_qsys.tcl @@ -1,7 +1,17 @@ set dac_fifo_address_width 10 +source $ad_hdl_dir/projects/scripts/adi_pd_intel.tcl source $ad_hdl_dir/projects/common/a10soc/a10soc_system_qsys.tcl source $ad_hdl_dir/projects/common/a10soc/a10soc_plddr4_dacfifo_qsys.tcl source ../common/daq2_qsys.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; + diff --git a/projects/daq2/a10soc/system_top.v b/projects/daq2/a10soc/system_top.v index 6f6b58b3f..571814d81 100644 --- a/projects/daq2/a10soc/system_top.v +++ b/projects/daq2/a10soc/system_top.v @@ -251,6 +251,7 @@ module system_top ( .sys_gpio_bd_out_port (gpio_o[31:0]), .sys_gpio_in_export (gpio_i[63:32]), .sys_gpio_out_export (gpio_o[63:32]), + .pr_rom_data_nc_rom_data('h0), .sys_hps_ddr_mem_ck (hps_ddr_clk_p), .sys_hps_ddr_mem_ck_n (hps_ddr_clk_n), .sys_hps_ddr_mem_a (hps_ddr_a), diff --git a/projects/daq3/a10gx/system_qsys.tcl b/projects/daq3/a10gx/system_qsys.tcl index 287722e8c..e4d85debd 100644 --- a/projects/daq3/a10gx/system_qsys.tcl +++ b/projects/daq3/a10gx/system_qsys.tcl @@ -1,7 +1,17 @@ set dac_fifo_address_width 10 +source $ad_hdl_dir/projects/scripts/adi_pd_intel.tcl source $ad_hdl_dir/projects/common/a10gx/a10gx_system_qsys.tcl source $ad_hdl_dir/projects/common/intel/dacfifo_qsys.tcl source ../common/daq3_qsys.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; + diff --git a/projects/daq3/a10gx/system_top.v b/projects/daq3/a10gx/system_top.v index 9a800a80e..486688411 100644 --- a/projects/daq3/a10gx/system_top.v +++ b/projects/daq3/a10gx/system_top.v @@ -219,6 +219,7 @@ module system_top ( .sys_gpio_out_export (gpio_o[63:32]), .sys_gpio_bd_in_port (gpio_i[31:0]), .sys_gpio_bd_out_port (gpio_o[31:0]), + .pr_rom_data_nc_rom_data('h0), .sys_spi_MISO (spi_miso_s), .sys_spi_MOSI (spi_mosi_s), .sys_spi_SCLK (spi_clk),