cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
blindobs
Adventurer
Adventurer
620 Views
Registered: ‎09-13-2018

SDK BUG : wrong registers addresses for CustomIP with more then one axi_interface

Hi,

when you create a custom ip with at least two axi interfaces : tools>create and package new ip>create a new axi4 peripherial> add secon axi lite interface...

 

add_peripheral_interface S00_AXI -interface_mode slave -axi_type lite [ipx::find_open_core xilinx.com:user:myip:1.0]
add_peripheral_interface S01_AXI -interface_mode slave -axi_type lite [ipx::find_open_core xilinx.com:user:myip:1.0]

In IP PACKAGER > Addressing and Memory add two register per memory block

 

ipx::add_register S00_AXI_REGA [ipx::get_address_blocks S00_AXI_reg -of_objects [ipx::get_memory_maps S00_AXI -of_objects [ipx::current_core]]]
ipx::add_register S00_AXI_REGB [ipx::get_address_blocks S00_AXI_reg -of_objects [ipx::get_memory_maps S00_AXI -of_objects [ipx::current_core]]]
ipx::add_register S01_AXI_REGA [ipx::get_address_blocks S01_AXI_reg -of_objects [ipx::get_memory_maps S01_AXI -of_objects [ipx::current_core]]]
ipx::add_register S01_AXI_REGB [ipx::get_address_blocks S01_AXI_reg -of_objects [ipx::get_memory_maps S01_AXI -of_objects [ipx::current_core]]]

 Configure registers Size and address offsets as : (sry i dont know exact tcl command to do so...).

After compilation and running SDK, register base addresses are clearly calculated based only on S_00 axi not where there are assigned in IP PACKAGER.

Is there anyway to fix this bug ???

IP memory map configurationIP memory map configurationSDK errorSDK error

 

0 Kudos
1 Reply
ibaie
Xilinx Employee
Xilinx Employee
544 Views
Registered: ‎10-06-2016

Hi @blindobs

The IP memory map in the Hardware Platform project seems to be fine (2nd image) so the issue seems to be specific to the register viewer within the SDK. Let me try to reproduce it in order to report the issue to the engineering team.

Regards


Ibai
Don’t forget to reply, kudo, and accept as solution.
0 Kudos