Skip to main content

StaticAnalysisResult

Struct StaticAnalysisResult 

Source
pub struct StaticAnalysisResult { /* private fields */ }
Expand description

Task 8: the real analyze() hand-off value — partitions/ clock_domains/cdc_edges populated by the driver graph + WOCB partitioning + clock-domain/CDC-edge inference this task implements; on_force_observed stays on its safe placeholder body (out of this wave). Frontend-only (CONTRACTS D4): partitions: Vec<Partition> names a type that only exists under this crate’s frontend feature (Partition lives in the sv_lang::Analysis-consuming graph module).

Implementations§

Source§

impl StaticAnalysisResult

Source

pub fn partition(&self, id: RegionId) -> &Partition

Read-only access to a Partition by RegionId — partitions itself stays a private field (consistent with StaticAnalysisView being the crate’s one query surface for everything else). Panics only for a RegionId this StaticAnalysisResult’s own analyze() call never produced — a programmer-error indexing precondition, the same posture Netlist::member_symbol documents.

Source

pub fn clock_domains(&self) -> &[ClockDomain]

Every distinct clock domain this analysis inferred (NL-076) — the registry ClockDomain.id indexes into.

Trait Implementations§

Source§

impl Clone for StaticAnalysisResult

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for StaticAnalysisResult

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl StaticAnalysisView for StaticAnalysisResult

Available on crate feature frontend only.
Source§

fn dpi_tag(&self, call: CallSiteId) -> DpiVpiTag

Task 9 (NL-103): the real per-call-site tag dpi::collect_call_tags computed in analyze(). Panics only for a CallSiteId this StaticAnalysisResult’s own analyze() call never produced — the same programmer-error indexing precondition partition() documents.

Source§

fn on_force_observed(&self, _sig: InstantiatedSignalId) -> ForceObservedAction

Out of this wave’s 37 IDs (a future wave’s runtime-checked escape hatch): a safe no-op placeholder, never a panic.

Source§

fn partition_of(&self, sig: InstantiatedSignalId) -> RegionId

Source§

fn cdc_edges_into(&self, region: RegionId) -> Vec<CdcEdge>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V