User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 650
UG585 (v1.11) September 27, 2016
Chapter 22: Programmable Logic Design Guide
RAM can be used at lower energy cost than processor caches. Table 22-1 summarizes the
approximate energy cost for various functions implemented on both the A9 processor and the 7
series programmable logic.
Typically, the energy cost to read or write external DDR memory is roughly the same and much larger
than the operation cost. As a consequence the energy required by functions which require even a
small percentage of external access is dominated by the energy cost of the external access and the
total cost will be the same in both PL and CPU implementations. Thus a key to minimizing energy
cost is to localize data movement to the PL. If space allows, rather than storing data structures off
chip, store them in OCM, BRAM, LUTRAM or flip-flops and avoid the use of unnecessary storage. This
approach might require code to be restructured to avoid the use of unnecessary buffers.
22.2.5 Real Time Offload
The ARM A9 CPUs are optimized for application processing rather than real-time response and are
often running an operating system such as Linux. The PL can be used augment the A9s with excellent
real time response.
MicroBlaze Assisted Real Time Processing
One or more MicroBlaze processors can be used to as microcontrollers to manage reatime events.
MicroBlaze offers excellent real-time response and can be dedicated to particular tasks. MicroBlaze
controllers can typically use a few block RAMs, approximately 2,000 LUTs, and run at 100-200 MHz.
Interrupt response times are in the 10s of clocks. Alternately the MicroBlaze can poll for events which
can be serviced in just a few clocks. Code can be written in C or for ultimate real time control in
assembly. Unlike the Cortex-A9 CPUs, MicroBlaze has a fixed execution pipeline and offers
predictable response times. For many applications a PicoBlaze processor might be adequate and
uses just a few hundred LUTs.
Table 22-1: Estimated Energy Costs for Common Operations
Operation
PL
Resource
ARM A9
Resource
ARM A9 energy/OP
(pico Joules or
mW/GOP/sec)
PL energy/OP
(pico Joules op
mW/GOP/sec)
Logical Op of 2 var LUT/FF ALU 1.3
32-bit ADD LUT/FF ALU 1.3
16x16 Mult DSP ALU 8.0
32-bit Read/Write register LUTRAM L1 1.4
32-bit Read/Write AXI register LUT/FF AXI 30
32-bit Read/Write local RAM BRAM L2 23.7/17.2
32-bit Read/Write OCM AXI/OCM CPU/OCM 44
32-bit Read/Write DDR3 AXI/DDR CPU/DDR 541/211
Notes:
1. A9 energy costs estimated from ARM power indicative benchmarks.
2. PL Energy costs for custom programmable logic functions are estimated using the Xilinx XPE power estimator
http://www.xilinx.com/ise/power_tools/license_7series.htm
.