AR# 47584


Zynq-7000 SoC, APU - PLD Instructions Might Allocate even in a Disabled Data Cache


PLD instructions prefetch and allocate any data marked as Write-Back (either Write-Allocate or Non-Write-Allocate, Shared or Non-Shared), regardless of the processor configuration settings, including the Data Cache Enable bit value.

This can create data consistency issues. This issue does not occur if the data cache is enabled.

The work-around requires software to set a bit in an undocumented Control register. Setting this bit causes all PLD instructions to be treated as NOPs.



Minor. Unexpected memory cacheability aliasing is created which might result in data consistency issues, see Impact Details for more information.


Refer to the Work-around Details section below for information on writing to the undocumented control registers.

Configurations Affected:

All systems.

Device Revision(s) Affected:
All. No plan to fix. Refer to (Xilinx Answer 47916) - Zynq-7000 SoC Silicon Revision Differences.


Impact Details

This issue is not expected to have any significant impact. The Data Cache is expected to be enabled early in the boot process and not disabled later. 

So, only boot-up code would be impacted, but such code is usually carefully controlled and not expected to contain any PLD instruction while Data Cache is not enabled.

Work-around Details

In the case where a system is impacted by this issue, a software workaround is available which consists of setting bit [20] in the undocumented Control register, which is placed in CP15 c15 0 c0 1.

This bit needs to be written with the following Read-Modify-Write code sequence:

  • MRC p15,0,r0,c15,c0,1
  • ORR r0,r0,#0x00100000
  • MCR p15,0,r0,c15,c0,1

Setting this bit causes all PLD instructions to be treated as NOPs, with the consequence that code sequences usually using the PLDs, such as the memcpy() routine, might suffer from a performance drop. 

So, if this work-around is applied, Xilinx strongly recommends restricting its usage to periods of time where the Data Cache is disabled.

Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
47916 Zynq-7000 AP SoC Devices - Silicon Revision Differences N/A N/A
AR# 47584
Date 06/13/2018
Status Active
Type Design Advisory
People Also Viewed