Skip to content

Commit 3b99b32

Browse files
authored
AXI4-Lite Register documentation (part 1)
2 parents fc57780 + ef3a837 commit 3b99b32

File tree

11 files changed

+1088
-53
lines changed

11 files changed

+1088
-53
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
[![Sourcecode License](https://img.shields.io/badge/code-Apache%202.0-97CA00?longCache=true&style=flat-square&longCache=true&logo=Apache)](LICENSE.md)
66
[![Documentation](https://img.shields.io/website?longCache=true&style=flat-square&label=VHDL.github.io%2FPoC&logo=GitHub&logoColor=fff&up_color=blueviolet&up_message=Read%20now%20%E2%9E%9A&url=https%3A%2F%2FVHDL.github.io%2FPoC%2Findex.html)](https://VHDL.github.io/PoC/)
77
[![Documentation License](https://img.shields.io/badge/doc-CC--BY%204.0-green?longCache=true&style=flat-square&logo=CreativeCommons&logoColor=fff)](docs/Doc-License.rst)
8-
![Latest tag](https://img.shields.io/github/tag/VLSI-EDA/PoC.svg?style=flat)
9-
[![Latest release](https://img.shields.io/github/release/VLSI-EDA/PoC.svg?style=flat)](https://github.com/VLSI-EDA/PoC/releases)
8+
![Latest tag](https://img.shields.io/github/tag/VHDL/PoC.svg?style=flat)
9+
[![Latest release](https://img.shields.io/github/release/VHDL/PoC.svg?style=flat)](https://github.com/VHDL/PoC/releases)
1010

1111
<!--
1212
This library is published and maintained by **Chair for VLSI Design, Diagnostics and Architecture** -
@@ -106,7 +106,7 @@ Protocol | Git Clone Command
106106
HTTPS | `git clone --recursive https://github.com/VHDL/PoC.git PoC`
107107
SSH | `git clone --recursive ssh://[email protected]:VHDL/PoC.git PoC`
108108

109-
[221]: https://github.com/VLSI-EDA/PoC/archive/Vivado.zip
109+
[221]: https://github.com/VHDL/PoC/archive/master.zip
110110
[222]: http://VHDL.github.io/PoC/UsingPoC/Download.html
111111

112112
### 2.3 Configuring PoC on a Local System

docs/Doc-License.rst

Lines changed: 353 additions & 0 deletions
Large diffs are not rendered by default.

docs/IPCores/bus/axi4/index.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.. _NS/axi4:
2+
3+
PoC.bus.axi4
4+
============
5+
6+
These are bus entities....
7+
8+
**Entities**
9+
10+
* :ref:`IP/axi4lite_xxx`
11+
12+
.. toctree::
13+
:hidden:
14+
15+
todo <axi4_xxx>
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
.. _IP/axi4lite_GitVersionRegister:
2+
3+
axi4lite_GitVersionRegister
4+
###########################
5+
6+
7+
Current version of this version Reg is `1`. Use this tcl script for Vivado synth-pre-tcl: [set_BuildVersion.tcl](/uploads/9fdf1898a1797857e11889134c5179d0/set_BuildVersion.tcl)
8+
9+
Generics
10+
********
11+
12+
| Name | Description |
13+
|-------|----------|
14+
| VERSION_FILE_NAME | Path to the Version-mem-file created by `set_BuildVersion.tcl`. Relative to `constant MY_PROJECT_DIR` in `src/PoC/my_project.vhdl` |
15+
| HEADER_FILE_NAME | If csv-file with all register spaces is needed, put here the name/path of csv-file. Relative to `constant MY_PROJECT_DIR` in `src/PoC/my_project.vhdl` |
16+
| INCLUDE_XIL_DNA | Includes Xilinx-DNA-Port. Working for 7-Series and US/US+ Devices. Note: 7-Series has 32 times this "unique" ID. |
17+
| INCLUDE_XIL_USR_EFUSE | Includes Usr-EFuse. {-Currently not Implemented-} |
18+
| USER_ID | 96bit ID, which can be set through PL in synthesis. |
19+
20+
Register Map
21+
************
22+
23+
All Registers are Read-only. Version Register should always start with offset `0x80000000` (First PL Address).
24+
25+
| Offset | Name | Description |
26+
|---------|-------|----------|
27+
| 0x000 | Common.BuildDate | 31:24 Day <br> 23:16 Month <br> 15:0 Year |
28+
| 0x004 | Common.NumberModule_VersionOfVersionReg | 31:8 Reserved <br> 7:0 Version-of-Version-Reg (`1`) |
29+
| 0x008 | Common.VivadoVersion | 31:16 Major <br> 15:8 Minor <br> 7:0 Patch |
30+
| 0x00C | Common.ProjektName | `String` Project-Name (20Byte) |
31+
| 0x020 | Top.Version | 31:24 Major <br> 23:16 Minor <br> 15:8 Patch <br> 7:2 Commits-to-Tag(dev-build) <br> 1 Dirty_untracked <br> 0 Dirty_modified |
32+
| 0x024 | Top.GitHash | Git-Hash 20Bytes. Endianess is reversed in the registers. The order of the registers is reversed as well. |
33+
| 0x038 | Top.GitDate | Commit-Date: 31:24 Day <br> 23:16 Month <br> 15:0 Year |
34+
| 0x03C | Top.GitTime | Commit-Time: 31:24 Hour <br> 23:16 Min <br> 15:8 Sec <br> 7:0 Time-Zone as signed|
35+
| 0x040 | Top.BranchName_Tag | Branch-Name 64Byte |
36+
| 0x080 | Top.GitURL | Git-URL starting after `gitlab.plc2.de/` (128Byte) |
37+
| 0x100 | UID.UID | Only present if `INCLUDE_XIL_DNA` is enabled (16Byte) <br> For US/US+ lower 96bit valid, for Series-7 64bit valid |
38+
| 0x110 | UID.User_eFuse | Only present if `INCLUDE_XIL_USR_EFUSE` is enabled |
39+
| 0x114 | UID.User_ID | 96-bit User_ID set by PL |
40+
41+
Files
42+
*****
43+
44+
Current implementations gives these *.csv and converted *.h files:
45+
* [Version_Register.csv](/uploads/2f25caea1127e08aa8a2306504199476/Version_Register.csv)
46+
* [Version_Register.h](/uploads/58cae3f86d3ab4da98094b09a6d9ae39/Version_Register.h)

0 commit comments

Comments
 (0)