Bug fix & CPLD2 PMU implementation
This commit is contained in:
+12
-2
@@ -21,13 +21,19 @@ module Reg_file (
|
||||
output [23:0] o_freq1,
|
||||
output [23:0] o_freq2,
|
||||
output [23:0] o_freq3,
|
||||
output [23:0] o_freq4
|
||||
output [23:0] o_freq4,
|
||||
|
||||
//DC Regs
|
||||
output [23:0] o_DC1,
|
||||
output [23:0] o_DC2,
|
||||
output [23:0] o_DC3,
|
||||
output [23:0] o_DC4
|
||||
);
|
||||
|
||||
// --- Parameters ---
|
||||
localparam REG_COUNT = 16;
|
||||
localparam [23:0]
|
||||
IDENT = 24'h400000 | 12'b0001_0000_0000, //CPLD2==1,version=1.0.0
|
||||
IDENT = 24'h400000 | 12'b0001_0001_0000, //CPLD2==1,version=1.1.0
|
||||
STATE_INIT = 24'h800000;
|
||||
|
||||
// State Machine Definition
|
||||
@@ -163,5 +169,9 @@ module Reg_file (
|
||||
assign o_freq2 = regtable[3];
|
||||
assign o_freq3 = regtable[4];
|
||||
assign o_freq4 = regtable[5];
|
||||
assign o_DC1 = regtable[6];
|
||||
assign o_DC2 = regtable[7];
|
||||
assign o_DC3 = regtable[8];
|
||||
assign o_DC4 = regtable[9];
|
||||
|
||||
endmodule
|
||||
Reference in New Issue
Block a user