Skip to content

Commit

Permalink
CI: Update Caliptra RTL
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub CI committed Jun 4, 2024
1 parent 874aff7 commit a5895f0
Show file tree
Hide file tree
Showing 19 changed files with 36 additions and 20 deletions.
2 changes: 1 addition & 1 deletion hw/latest/registers/src/csrng.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at e928359b071f3c354a194a31c2b3bdac8adb20d0
// generated by caliptra_registers_generator with caliptra-rtl repo at 46fdcd8e6a6c34f0479ff9e51ccedbb2adbe7e32
//
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
Expand Down
2 changes: 1 addition & 1 deletion hw/latest/registers/src/doe.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at e928359b071f3c354a194a31c2b3bdac8adb20d0
// generated by caliptra_registers_generator with caliptra-rtl repo at 46fdcd8e6a6c34f0479ff9e51ccedbb2adbe7e32
//
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
Expand Down
2 changes: 1 addition & 1 deletion hw/latest/registers/src/dv.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at e928359b071f3c354a194a31c2b3bdac8adb20d0
// generated by caliptra_registers_generator with caliptra-rtl repo at 46fdcd8e6a6c34f0479ff9e51ccedbb2adbe7e32
//
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
Expand Down
2 changes: 1 addition & 1 deletion hw/latest/registers/src/ecc.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at e928359b071f3c354a194a31c2b3bdac8adb20d0
// generated by caliptra_registers_generator with caliptra-rtl repo at 46fdcd8e6a6c34f0479ff9e51ccedbb2adbe7e32
//
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
Expand Down
2 changes: 1 addition & 1 deletion hw/latest/registers/src/el2_pic_ctrl.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at e928359b071f3c354a194a31c2b3bdac8adb20d0
// generated by caliptra_registers_generator with caliptra-rtl repo at 46fdcd8e6a6c34f0479ff9e51ccedbb2adbe7e32
//
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
Expand Down
2 changes: 1 addition & 1 deletion hw/latest/registers/src/entropy_src.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at e928359b071f3c354a194a31c2b3bdac8adb20d0
// generated by caliptra_registers_generator with caliptra-rtl repo at 46fdcd8e6a6c34f0479ff9e51ccedbb2adbe7e32
//
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
Expand Down
2 changes: 1 addition & 1 deletion hw/latest/registers/src/hmac.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at e928359b071f3c354a194a31c2b3bdac8adb20d0
// generated by caliptra_registers_generator with caliptra-rtl repo at 46fdcd8e6a6c34f0479ff9e51ccedbb2adbe7e32
//
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
Expand Down
2 changes: 1 addition & 1 deletion hw/latest/registers/src/kv.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at e928359b071f3c354a194a31c2b3bdac8adb20d0
// generated by caliptra_registers_generator with caliptra-rtl repo at 46fdcd8e6a6c34f0479ff9e51ccedbb2adbe7e32
//
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
Expand Down
2 changes: 1 addition & 1 deletion hw/latest/registers/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at e928359b071f3c354a194a31c2b3bdac8adb20d0
// generated by caliptra_registers_generator with caliptra-rtl repo at 46fdcd8e6a6c34f0479ff9e51ccedbb2adbe7e32
//
#![no_std]
#![allow(clippy::erasing_op)]
Expand Down
2 changes: 1 addition & 1 deletion hw/latest/registers/src/mbox.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at e928359b071f3c354a194a31c2b3bdac8adb20d0
// generated by caliptra_registers_generator with caliptra-rtl repo at 46fdcd8e6a6c34f0479ff9e51ccedbb2adbe7e32
//
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
Expand Down
2 changes: 1 addition & 1 deletion hw/latest/registers/src/pv.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at e928359b071f3c354a194a31c2b3bdac8adb20d0
// generated by caliptra_registers_generator with caliptra-rtl repo at 46fdcd8e6a6c34f0479ff9e51ccedbb2adbe7e32
//
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
Expand Down
2 changes: 1 addition & 1 deletion hw/latest/registers/src/sha256.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at e928359b071f3c354a194a31c2b3bdac8adb20d0
// generated by caliptra_registers_generator with caliptra-rtl repo at 46fdcd8e6a6c34f0479ff9e51ccedbb2adbe7e32
//
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
Expand Down
2 changes: 1 addition & 1 deletion hw/latest/registers/src/sha512.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at e928359b071f3c354a194a31c2b3bdac8adb20d0
// generated by caliptra_registers_generator with caliptra-rtl repo at 46fdcd8e6a6c34f0479ff9e51ccedbb2adbe7e32
//
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
Expand Down
2 changes: 1 addition & 1 deletion hw/latest/registers/src/sha512_acc.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at e928359b071f3c354a194a31c2b3bdac8adb20d0
// generated by caliptra_registers_generator with caliptra-rtl repo at 46fdcd8e6a6c34f0479ff9e51ccedbb2adbe7e32
//
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
Expand Down
20 changes: 18 additions & 2 deletions hw/latest/registers/src/soc_ifc.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at e928359b071f3c354a194a31c2b3bdac8adb20d0
// generated by caliptra_registers_generator with caliptra-rtl repo at 46fdcd8e6a6c34f0479ff9e51ccedbb2adbe7e32
//
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
Expand Down Expand Up @@ -689,6 +689,8 @@ impl<TMmio: ureg::Mmio> RegisterBlock<TMmio> {
}
}
/// SOC provided count in cycles for WDT1 timeout.
/// [br]Caliptra Access: RW
/// [br]SOC Access: RW
///
/// Read value: [`u32`]; Write value: [`u32`]
#[inline(always)]
Expand All @@ -703,6 +705,8 @@ impl<TMmio: ureg::Mmio> RegisterBlock<TMmio> {
}
}
/// Adaptive threshold values for entropy source health tests.
/// [br]Caliptra Access: RW
/// [br]SOC Access: RW
///
/// Read value: [`soc_ifc::regs::CptraItrngEntropyConfig0ReadVal`]; Write value: [`soc_ifc::regs::CptraItrngEntropyConfig0WriteVal`]
#[inline(always)]
Expand All @@ -717,6 +721,8 @@ impl<TMmio: ureg::Mmio> RegisterBlock<TMmio> {
}
}
/// Repetition count value for entropy source health tests.
/// [br]Caliptra Access: RW
/// [br]SOC Access: RW
///
/// Read value: [`soc_ifc::regs::CptraItrngEntropyConfig1ReadVal`]; Write value: [`soc_ifc::regs::CptraItrngEntropyConfig1WriteVal`]
#[inline(always)]
Expand All @@ -731,6 +737,8 @@ impl<TMmio: ureg::Mmio> RegisterBlock<TMmio> {
}
}
/// Set of reserved registers for survivability
/// [br]Caliptra Access: RW
/// [br]SOC Access: RW
///
/// Read value: [`u32`]; Write value: [`u32`]
#[inline(always)]
Expand Down Expand Up @@ -2197,6 +2205,11 @@ pub mod regs {
pub fn uart_en(&self) -> bool {
((self.0 >> 3) & 1) != 0
}
///
#[inline(always)]
pub fn lms_acc_en(&self) -> bool {
((self.0 >> 4) & 1) != 0
}
}
impl From<u32> for CptraHwConfigReadVal {
#[inline(always)]
Expand Down Expand Up @@ -2347,7 +2360,10 @@ pub mod regs {
#[derive(Clone, Copy)]
pub struct CptraHwRevIdReadVal(u32);
impl CptraHwRevIdReadVal {
///
/// Caliptra official release version. Bit field encoding is:
/// [br][lb]15:8[rb] Patch version
/// [br][lb] 7:4[rb] Minor version
/// [br][lb] 3:0[rb] Major version
#[inline(always)]
pub fn cptra_generation(&self) -> u32 {
(self.0 >> 0) & 0xffff
Expand Down
2 changes: 1 addition & 1 deletion hw/latest/registers/src/soc_ifc_trng.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at e928359b071f3c354a194a31c2b3bdac8adb20d0
// generated by caliptra_registers_generator with caliptra-rtl repo at 46fdcd8e6a6c34f0479ff9e51ccedbb2adbe7e32
//
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
Expand Down
2 changes: 1 addition & 1 deletion hw/latest/registers/src/spi_host.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at e928359b071f3c354a194a31c2b3bdac8adb20d0
// generated by caliptra_registers_generator with caliptra-rtl repo at 46fdcd8e6a6c34f0479ff9e51ccedbb2adbe7e32
//
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
Expand Down
2 changes: 1 addition & 1 deletion hw/latest/registers/src/uart.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed under the Apache-2.0 license.
//
// generated by caliptra_registers_generator with caliptra-rtl repo at e928359b071f3c354a194a31c2b3bdac8adb20d0
// generated by caliptra_registers_generator with caliptra-rtl repo at 46fdcd8e6a6c34f0479ff9e51ccedbb2adbe7e32
//
#![allow(clippy::erasing_op)]
#![allow(clippy::identity_op)]
Expand Down
2 changes: 1 addition & 1 deletion hw/latest/rtl
Submodule rtl updated 161 files

0 comments on commit a5895f0

Please sign in to comment.