pub struct SharedStimulusScoreboard {
pub stimuli: Vec<PortValues>,
}Expand description
Shared stimulus / scoreboard fixture for multi-view co-check (FR92).
Hold a single Vec<PortValues> and run it through the generated functional
path vs Sim::tick. Expected outputs are the PortValues produced by both
sides under the same inputs (contrast / scoreboard), not a separate oracle
language.
Fields§
§stimuli: Vec<PortValues>Stimulus frames shared by functional and cycle-accurate paths.
Implementations§
Sourcepub fn from_stimuli(stimuli: Vec<PortValues>) -> Self
pub fn from_stimuli(stimuli: Vec<PortValues>) -> Self
Build from an explicit shared stimulus vector.
Sourcepub fn from_reset_then_run(n: usize) -> Self
pub fn from_reset_then_run(n: usize) -> Self
Convenience: reset-high one cycle, then n cycles with rst=0.
Sourcepub fn check_generated(&self, hir: FrozenHir) -> EquivStatus
pub fn check_generated(&self, hir: FrozenHir) -> EquivStatus
Drive the same stimuli through FR47 generated functional vs tick.
Trait Implementations§
Source§fn clone(&self) -> SharedStimulusScoreboard
fn clone(&self) -> SharedStimulusScoreboard
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
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
Mutably borrows from an owned value. Read more