cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
abdulparis
Contributor
Contributor
4,434 Views
Registered: ‎05-27-2015

AXI Master Decerr

Jump to solution

Hello all, 

I am testing a custom AXI Master and I always receive a decerr. For AXI Master, I am using the code available on the link

The hardware design I am using is shown in the figure below. I am trying to initiate read/write transaction. I used Vivado ILA to debug the AXI signals and I noticed that I am always receiving an AXI decerr which is supposed to happen only if there is no slave that supports requested transaction address. I checked my design and this is not the case as it can be seen in the figures below. Besides, everything works fine when I simulate AXI Master with AXI VIP. I am getting the expected behaviour and there is no AXI protocol error. 

 

test_axi_master_design.pngaxi_master_design_address.png

Normally the custom AXI Master can access the DDR but when I try to access any address in the range, I receive an AXI DECERR. How can I debug the design with more information? Is there something I am doing wrong? 

Best regards

0 Kudos
1 Solution

Accepted Solutions
kravi
Xilinx Employee
Xilinx Employee
5,321 Views
Registered: ‎02-26-2014

Hi,

 

SmartConnect generates 'decerr' in multiple cases, see anything matches with your system:

1. Address decode error (this may not be the case here)

2. non-secure transaction

3. FIXED type burst

 

 

Regards,

Ravi

View solution in original post

3 Replies
florentw
Moderator
Moderator
4,405 Views
Registered: ‎11-09-2015

Hi @abdulparis,

 

From the ARM AMBA AXI4 Specification:

"DECERR: Decode error. Generated, typically by an interconnect component, to indicate that there is no slave at the transaction address"

 

Which address are you trying to access? Are you sure all the transaction is in the DDR range?

 

Also which SDK version are you using? If 2017.2, please check this AR#69489

 

Hope that helps,

 

Regards,

 

Florent


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
kravi
Xilinx Employee
Xilinx Employee
5,322 Views
Registered: ‎02-26-2014

Hi,

 

SmartConnect generates 'decerr' in multiple cases, see anything matches with your system:

1. Address decode error (this may not be the case here)

2. non-secure transaction

3. FIXED type burst

 

 

Regards,

Ravi

View solution in original post

abdulparis
Contributor
Contributor
4,290 Views
Registered: ‎05-27-2015

Hi, 

Thanks for your replies and help. 
I was getting the error because of FIXED type burst. 
Best regards,
MAW

0 Kudos