Skip to content

Commit 09366cd

Browse files
committed
csr: fix virtual id reset values
1 parent 0cfbfb7 commit 09366cd

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/csr/I3CCSR.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7035,7 +7035,7 @@ module I3CCSR (
70357035
end
70367036
always_ff @(posedge clk or negedge hwif_in.rst_ni) begin
70377037
if(~hwif_in.rst_ni) begin
7038-
field_storage.I3C_EC.StdbyCtrlMode.STBY_CR_VIRTUAL_DEVICE_PID_LO.PID_LO.value <= 32'h5a00a5;
7038+
field_storage.I3C_EC.StdbyCtrlMode.STBY_CR_VIRTUAL_DEVICE_PID_LO.PID_LO.value <= 32'h5a10a5;
70397039
end else begin
70407040
if(field_combo.I3C_EC.StdbyCtrlMode.STBY_CR_VIRTUAL_DEVICE_PID_LO.PID_LO.load_next) begin
70417041
field_storage.I3C_EC.StdbyCtrlMode.STBY_CR_VIRTUAL_DEVICE_PID_LO.PID_LO.value <= field_combo.I3C_EC.StdbyCtrlMode.STBY_CR_VIRTUAL_DEVICE_PID_LO.PID_LO.next;

src/csr/I3CCSR_uvm.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3348,7 +3348,7 @@ package I3CCSR_uvm;
33483348

33493349
virtual function void build();
33503350
this.PID_LO = new("PID_LO");
3351-
this.PID_LO.configure(this, 32, 0, "RW", 0, 'h5a00a5, 1, 1, 0);
3351+
this.PID_LO.configure(this, 32, 0, "RW", 0, 'h5a10a5, 1, 1, 0);
33523352
if (has_coverage(UVM_CVR_REG_BITS)) begin
33533353
foreach(PID_LO_bit_cg[bt]) PID_LO_bit_cg[bt] = new();
33543354
end

src/rdl/docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2391,7 +2391,7 @@ by the Target Reset Pattern.</p>
23912391

23922392
|Bits|Identifier|Access| Reset | Name |
23932393
|----|----------|------|--------|------|
2394-
|31:0| PID_LO | rw |0x5A00A5|PID_LO|
2394+
|31:0| PID_LO | rw |0x5A10A5|PID_LO|
23952395

23962396
#### PID_LO field
23972397

src/rdl/standby_controller_mode.rdl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ regfile StandbyControllerModeRegisters#(
325325
desc = "High part of the 48-bit Target Device Provisioned ID.";
326326
hw = r;
327327
sw = rw;
328-
reset = pid_hi;
328+
reset = virtual_pid_hi;
329329
} PID_HI[15:1];
330330
} STBY_CR_VIRTUAL_DEVICE_CHAR;
331331
reg {
@@ -505,7 +505,7 @@ regfile StandbyControllerModeRegisters#(
505505
desc = "Low part of the 48-bit Target Virtual Device Provisioned ID.";
506506
hw = r;
507507
sw = rw;
508-
reset = pid_lo;
508+
reset = virtual_pid_lo;
509509
} PID_LO[31:0];
510510
} STBY_CR_VIRTUAL_DEVICE_PID_LO;
511511
reg {

verification/cocotb/common/reg_map.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2561,7 +2561,7 @@
25612561
"PID_LO": {
25622562
"low": 0,
25632563
"mask": 4294967295,
2564-
"reset": 5898405,
2564+
"reset": 5902501,
25652565
"sw": "rw",
25662566
"hw": "r",
25672567
"woclr": 0,

0 commit comments

Comments
 (0)