pub struct ShellControl {Show 66 fields
pub run_state: RunState,
pub config: LaunchConfig,
pub ap_done: bool,
pub gier: bool,
pub ier: b2,
pub isr: b2,
pub terminal_code: b8,
pub error_flags: b16,
pub first_error_job: b32,
pub first_error_detail: b32,
pub summary_aw_handshake: bool,
pub summary_w_handshake: bool,
pub summary_b_handshake: bool,
pub summary_b_canonical: bool,
pub axil_aw_pending: bool,
pub axil_awaddr: b8,
pub axil_aw_locked_at_accept: bool,
pub axil_w_pending: bool,
pub axil_wdata: b32,
pub axil_wstrb: b4,
pub axil_w_locked_at_accept: bool,
pub axil_bvalid: bool,
pub axil_bresp: b2,
pub axil_rvalid: bool,
pub axil_rdata: b32,
pub axil_rresp: b2,
pub axil_r_ap_ctrl: bool,
pub reader_state: ReaderState,
pub reader_job: b32,
pub input_job_valid: bool,
pub scoreboard: [JobEntry; 12],
pub ingress_valid: bool,
pub capture_active: bool,
pub capture_slot: b1,
pub capture_beat: b6,
pub capture_job: b32,
pub capture_cluster: b2,
pub frame_queue: FrameQueue,
pub writer_state: WriterState,
pub writer_slot: b1,
pub writer_job: b32,
pub writer_beat: b6,
pub read_issue_beat: b6,
pub read_pending: bool,
pub prefetch_count: b2,
pub writer_early_b_drained: bool,
pub abort_cleaned: bool,
pub input_ar_count: b16,
pub input_r_count: b16,
pub core_admission_count: b16,
pub frame_capture_count: b16,
pub core_error_count: b16,
pub payload_aw_count: b16,
pub payload_b_count: b16,
pub payload_w_count: b32,
pub memory_completed_count: b16,
pub memory_completion_timing: MemoryCompletionTiming,
pub run_cycle: b64,
pub payload_cycles: b64,
pub output_stall_cycles: b64,
pub first_admission_seen: bool,
pub first_admission_cycle: b64,
pub first_capture_seen: bool,
pub first_capture_cycle: b64,
pub core_latency_cycles: b64,
pub capture_span_cycles: b64,
}Expand description
Resettable shell ownership and audit state.
Fields§
§run_state: RunStateWhole-run state.
config: LaunchConfigHost launch arguments.
ap_done: boolHLS-compatible sticky completion bit.
gier: boolGlobal interrupt enable.
ier: b2Done/error interrupt mask.
isr: b2Toggle-on-write sticky done/error status.
terminal_code: b8Most recent terminal code.
error_flags: b16Sticky union of run error causes.
first_error_job: b32First job associated with an error.
first_error_detail: b32First error detail.
summary_aw_handshake: boolTerminal summary address was accepted.
summary_w_handshake: boolTerminal summary data was accepted.
summary_b_handshake: boolTerminal summary response was drained.
summary_b_canonical: boolTerminal summary response was exact ID-zero OKAY.
axil_aw_pending: boolIndependently retained AXI4-Lite write address.
axil_awaddr: b8Retained AXI4-Lite write address.
axil_aw_locked_at_accept: boolConfiguration/run lock state sampled when the write address transferred.
axil_w_pending: boolIndependently retained AXI4-Lite write data.
axil_wdata: b32Retained AXI4-Lite write data.
axil_wstrb: b4Retained AXI4-Lite byte strobes.
axil_w_locked_at_accept: boolConfiguration/run lock state sampled when the write data transferred.
axil_bvalid: boolRetained AXI4-Lite write response.
axil_bresp: b2Retained AXI4-Lite write response code.
axil_rvalid: boolRetained AXI4-Lite read response.
axil_rdata: b32Retained AXI4-Lite read data.
axil_rresp: b2Retained AXI4-Lite read response code.
axil_r_ap_ctrl: boolThe retained read response came from AP_CTRL.
reader_state: ReaderStateHBM0 single-outstanding state.
reader_job: b32Sequential job currently owned by the reader.
input_job_valid: boolA checked HBM0 line is retained.
scoreboard: [JobEntry; 12]Signer ownership table.
ingress_valid: boolOne registered signer beat is retained before validation.
capture_active: boolA frame currently owns one BRAM slot.
capture_slot: b1BRAM slot owned by capture.
capture_beat: b6Next capture beat in 0..=34.
capture_job: b32Frame job identity retained from beat zero.
capture_cluster: b2Frame source cluster retained from beat zero.
frame_queue: FrameQueueOldest-first queue of complete BRAM frames.
writer_state: WriterStateHBM1 payload writer state.
writer_slot: b1Committed writer slot.
writer_job: b32Committed writer job.
writer_beat: b6Next data beat to transfer.
read_issue_beat: b6Next BRAM beat to request.
read_pending: boolThe current BRAM output belongs to the writer prefetch.
prefetch_count: b2Registered write-prefetch occupancy in 0..=2.
writer_early_b_drained: boolA protocol-invalid payload B was drained before final W acceptance.
abort_cleaned: boolAbort-mode uncommitted-state cleanup has occurred.
input_ar_count: b16Accepted HBM0 addresses.
input_r_count: b16Checked HBM0 responses.
core_admission_count: b16Signer admissions.
frame_capture_count: b16Complete canonical frames captured.
core_error_count: b16Explicit signer error completions.
payload_aw_count: b16Accepted payload write addresses.
payload_b_count: b16Drained payload write responses.
payload_w_count: b32Accepted payload data beats.
memory_completed_count: b16Payloads retired by exact ID-zero OKAY B responses.
memory_completion_timing: MemoryCompletionTimingCanonical payload B retirement timing, excluding the summary response.
run_cycle: b64Execute/abort cycle cursor.
payload_cycles: b64Execute/abort payload interval.
output_stall_cycles: b64Cycles the signer output was unable to enter the ingress register.
first_admission_seen: boolAt least one signer admission has occurred.
first_admission_cycle: b64Cycle of first signer admission.
first_capture_seen: boolAt least one complete frame has reached BRAM.
first_capture_cycle: b64Cycle of first complete frame capture.
core_latency_cycles: b64First admission through last complete frame, inclusive.
capture_span_cycles: b64First-to-last complete-frame span.
Trait Implementations§
Source§impl Clone for ShellControl
impl Clone for ShellControl
Source§fn clone(&self) -> ShellControl
fn clone(&self) -> ShellControl
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ShellControl
impl Debug for ShellControl
Source§impl Default for ShellControl
impl Default for ShellControl
Source§impl Digital for ShellControl
impl Digital for ShellControl
Source§const BITS: usize
const BITS: usize
Source§fn static_kind() -> Kind
fn static_kind() -> Kind
Source§fn bin(self) -> Box<[BitX]>
fn bin(self) -> Box<[BitX]>
§fn typed_bits(self) -> TypedBits
fn typed_bits(self) -> TypedBits
§fn discriminant(self) -> TypedBits
fn discriminant(self) -> TypedBits
§fn variant_kind(self) -> Kind
fn variant_kind(self) -> Kind
§fn binary_string(self) -> String
fn binary_string(self) -> String
Source§impl PartialEq for ShellControl
impl PartialEq for ShellControl
impl Copy for ShellControl
impl Eq for ShellControl
impl StructuralPartialEq for ShellControl
Auto Trait Implementations§
impl Freeze for ShellControl
impl RefUnwindSafe for ShellControl
impl Send for ShellControl
impl Sync for ShellControl
impl Unpin for ShellControl
impl UnsafeUnpin for ShellControl
impl UnwindSafe for ShellControl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<D> OwoColorize for D
impl<D> OwoColorize for D
§fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
§fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
§fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
§fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
§fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
§fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
§fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
§fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
§fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
§fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
§fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
§fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
§fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
§fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
§fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
§fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
§fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
§fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
§fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
§fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
§fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
§fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
§fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
§fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
§fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::fg] or
a color-specific method, such as [OwoColorize::green], Read more§fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::bg] or
a color-specific method, such as [OwoColorize::on_yellow], Read more