a10soc: Reconfiguration interface address width improvement

The reconfiguration interface's address width is different in various
architectures. Define the required address width in system_qsys.tcl.
main
Istvan Csomortani 2019-04-16 08:28:29 +01:00 committed by István Csomortáni
parent edbd9f7b8f
commit 8818089015
5 changed files with 11 additions and 0 deletions

View File

@ -276,6 +276,8 @@ for {set i 0} {$i < 4} {incr i} {
add_connection sys_clk.clk_reset avl_adxcfg_${i}.rcfg_reset_n
add_connection avl_adxcfg_${i}.rcfg_m0 adrv9009_tx_jesd204.phy_reconfig_${i}
set_instance_parameter_value avl_adxcfg_${i} {ADDRESS_WIDTH} $xcvr_reconfig_addr_width
if {$i < 2} {
add_connection avl_adxcfg_${i}.rcfg_m1 adrv9009_rx_jesd204.phy_reconfig_${i}
} else {

View File

@ -245,6 +245,7 @@ set_interface_property ad9371_gpio EXPORT_OF avl_ad9371_gpio.external_connection
for {set i 0} {$i < 4} {incr i} {
add_instance avl_adxcfg_${i} avl_adxcfg
set_instance_parameter_value avl_adxcfg_${i} {ADDRESS_WIDTH} $xcvr_reconfig_addr_width
add_connection sys_clk.clk avl_adxcfg_${i}.rcfg_clk
add_connection sys_clk.clk_reset avl_adxcfg_${i}.rcfg_reset_n
add_connection avl_adxcfg_${i}.rcfg_m0 ad9371_tx_jesd204.phy_reconfig_${i}

View File

@ -438,4 +438,7 @@ ad_cpu_interrupt 7 sys_spi.irq
add_interface sys_flash conduit end
set_interface_property sys_flash EXPORT_OF sys_flash_bridge.out
# architecture specific global variables
set xcvr_reconfig_addr_width 10

View File

@ -260,3 +260,7 @@ ad_cpu_interrupt 5 sys_gpio_in.irq
ad_cpu_interrupt 6 sys_gpio_bd.irq
ad_cpu_interrupt 7 sys_spi.irq
# architecture specific global variables
set xcvr_reconfig_addr_width 10

View File

@ -196,6 +196,7 @@ add_connection sys_dma_clk.clk axi_ad9680_dma.m_dest_axi_clock
for {set i 0} {$i < $TX_NUM_OF_LANES} {incr i} {
add_instance avl_adxcfg_${i} avl_adxcfg
set_instance_parameter_value avl_adxcfg_${i} {ADDRESS_WIDTH} $xcvr_reconfig_addr_width
add_connection sys_clk.clk avl_adxcfg_${i}.rcfg_clk
add_connection sys_clk.clk_reset avl_adxcfg_${i}.rcfg_reset_n
add_connection avl_adxcfg_${i}.rcfg_m0 ad9144_jesd204.phy_reconfig_${i}