Skip to content

Commit

Permalink
Fixup: swap readonly and writeonly
Browse files Browse the repository at this point in the history
We're operating from the perspective of caliptra and not the subsystem,
so the meaning of hw and sw are reversed.

TODO swap sw and hw in RDL programmatically

Signed-off-by: Arthur Heymans <arthur.heymans@9elements.com>
  • Loading branch information
ArthurHeymans committed Feb 27, 2025
1 parent 5c1b94a commit 446992f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hw/latest/registers/src/caliptra_otp_ctrl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2566,8 +2566,8 @@ pub mod meta {
ureg::ReadOnlyReg32<crate::caliptra_otp_ctrl::regs::ErrCodeRegTReadVal>;
pub type ErrCodeRfErrCode8 =
ureg::ReadOnlyReg32<crate::caliptra_otp_ctrl::regs::ErrCodeRegTReadVal>;
pub type DaiWdataRfDirectAccessWdata0 = ureg::ReadOnlyReg32<u32>;
pub type DaiWdataRfDirectAccessWdata1 = ureg::ReadOnlyReg32<u32>;
pub type DaiWdataRfDirectAccessWdata0 = ureg::WriteOnlyReg32<0, u32>;
pub type DaiWdataRfDirectAccessWdata1 = ureg::WriteOnlyReg32<0, u32>;
pub type DaiRdataRfDirectAccessRdata0 = ureg::ReadOnlyReg32<u32>;
pub type DaiRdataRfDirectAccessRdata1 = ureg::ReadOnlyReg32<u32>;
pub type VendorTestDigestDigest0 = ureg::ReadOnlyReg32<u32>;
Expand Down

0 comments on commit 446992f

Please sign in to comment.