fpga: n3xx: rh: cpld: Refactor CPLD build process

Original-commit: 739b37ba40e7aba288ed781922aa8fa3b1bfc16e
This commit is contained in:
Humberto Jimenez
2022-01-25 18:28:57 -07:00
committed by Wade Fife
parent f645d3d613
commit 95c58d5ed6
6 changed files with 122 additions and 27 deletions
+2 -2
View File
@@ -128,9 +128,9 @@ output Cal_iso_Sw_Ctrl
/* PS SPI */
localparam GIT_HASH = 36'h`GIT_HASH;
localparam GIT_HASH = `GIT_HASH;
localparam PROD_SIGNATURE = 16'h0045; // Product signature (Rhodium atomic number in BCD)
localparam REVISION_MINOR = 16'h0002;
localparam REVISION_MINOR = 16'h0003;
localparam REVISION_MAJOR = 16'h0004;
localparam CPLD_BUILD_LSB = GIT_HASH[15:0]; // Build code LSB
localparam CPLD_BUILD_MSB = GIT_HASH[31:16]; // Build code MSB