File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
library/i3c_controller/i3c_controller_host_interface Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,9 @@ module i3c_controller_regmap #(
124124 output [3 :0 ] rmap_dev_char_data
125125);
126126
127- localparam PCORE_VERSION = 'h00000100;
127+ localparam [31 :0 ] CORE_VERSION = {16'h0001 , /* MAJOR */
128+ 8'h00 , /* MINOR */
129+ 8'h00 }; /* PATCH */
128130
129131 reg [31 :0 ] up_scratch = 32'h00 ; // Scratch register
130132 reg [31 :0 ] up_pid_l = {PID_PART_ID, PID_INSTANCE_ID, PID_EXTRA_ID};
@@ -371,7 +373,7 @@ module i3c_controller_regmap #(
371373
372374 always @(posedge s_axi_aclk) begin
373375 case (up_raddr_s[7 :0 ])
374- `I3C_REGMAP_VERSION: up_rdata_ff <= PCORE_VERSION ;
376+ `I3C_REGMAP_VERSION: up_rdata_ff <= CORE_VERSION ;
375377 `I3C_REGMAP_DEVICE_ID: up_rdata_ff <= ID;
376378 `I3C_REGMAP_SCRATCH: up_rdata_ff <= up_scratch;
377379 `I3C_REGMAP_ENABLE: up_rdata_ff <= up_sw_reset;
You can’t perform that action at this time.
0 commit comments