set cpuif_data_width for non-external components (#42)

* set cpuif_data_width for non-external components

* update tests to actually work now

* version bump
This commit is contained in:
Arnav Sacheti
2026-02-03 21:58:45 -08:00
committed by GitHub
parent 36ec8b9715
commit c7b6c9e5ef
10 changed files with 226 additions and 5 deletions

View File

@@ -0,0 +1,56 @@
reg status64_reg_t {
regwidth = 64;
accesswidth = 64;
desc = "64-bit status register.";
field {
sw = r;
hw = w;
reset = 0x0;
} status_lo[31:0];
field {
sw = r;
hw = w;
reset = 0x0;
} status_hi[63:32];
};
regfile channel64_rf {
status64_reg_t status @ 0x0;
reg {
regwidth = 64;
accesswidth = 64;
field {
sw = rw;
hw = rw;
reset = 0x1;
} enable[0:0];
field {
sw = rw;
hw = rw;
reset = 0x0;
} mode[2:1];
field {
sw = rw;
hw = rw;
reset = 0x0;
} threshold[63:3];
} control @ 0x8;
};
addrmap wide_access_64 {
channel64_rf channels[4] @ 0x0 += 0x20;
reg {
regwidth = 32;
field {
sw = rw;
hw = rw;
reset = 0x0;
} flags[31:0];
} flags @ 0x100;
};