|
| 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