This example design allocates 4K of BRAM attached to the M_AXI_GP0 and monitored by ChipScope tool. The software then treats the memory as a "shareable device" or "strongly-ordered," and a ChipScope shot provides the distance between the SEV instruction and the first BVALID signal on the AXI port for LATENCY.
Note: An Example Design is an answer record that provides technical tips to test a specific functionality on Zynq-7000. A tip can be a snippet of code, a snapshot, a diagram or a full design implemented with a specific version of the Xilinx tools.
It is up to the user to "update" these tips to future Xilinx tools releases and to "modify" the Example Design to fulfill his needs. Limited support is provided by Xilinx on these Example Designs.
Implementation Details | |||
---|---|---|---|
Design Type | PS and PL | ||
SW Type | Standalone | ||
CPUs | Single CPU @ 720MHz | ||
PS Features | MMU | ||
PL Cores | BRAM, CHIPSCOPE | ||
Boards/Tools | ZC702 | ||
Xilinx Tools Version | EDK 14.1 | ||
Other details | FCLK @ 150MHz | ||
Address Map | |||
Base Address | Size | Bus Interface | |
BRAM | 0x41200000 | 4K | S_AXI |
Files Provided | |||
zc702_bram_archive.zip | Archived XPS project. | ||
code_latency.c | Snippet of code. | ||
Block Diagram | |||
Step by Step Instructions
Expected Results
Strongly-ordered or Shareable device does not change the LATENCY.
Enabling the CACHE (L1 and L2) affects the LATENCY.
|
| Latency | ||
Type | Cache | FCLK cycles | CPU cycles | Time (nS) |
Strongly-ordered | Disabled | 11 | 53 | 74 |
Strongly-ordered | Enabled | 6 | 29 | 40 |
Shareable device | Disabled | 11 | 53 | 74 |
Shareable device | Enabled | 6 | 29 | 40 |
Name | File Size | File Type |
---|---|---|
zc702_bram_archive.zip | 2 MB | ZIP |
code_latency.c | 1 KB | C |
Answer Number | Answer Title | Version Found | Version Resolved |
---|---|---|---|
51779 | Zynq-7000 SoC - Example Designs and Tech Tips | N/A | N/A |
AR# 47266 | |
---|---|
Date | 05/18/2018 |
Status | Active |
Type | General Article |
Devices | |
Tools | |
Boards & Kits |