pub enum AnaLowerError {
Unsupported(&'static str),
NoAnalogRegion,
UnboundedInput(String),
UnloweredOp(String),
ExactnessUnprovable {
eps_math: f64,
},
ContradictoryContract {
var: String,
lo: f64,
hi: f64,
},
ConvergenceUnprovable {
reason: String,
},
ThermalModelDisconnected,
ThermalBudgetExceeded {
node: usize,
tier: usize,
t_junction_c: f64,
t_max_c: f64,
cooling: &'static str,
},
ResidualExceedsBudget {
linf: f64,
required: f64,
},
Unplaceable(AnaUnplaceable),
}Expand description
Why the analog tier declines a program — a SOUND refusal, never wrong silicon.
Variants§
Unsupported(&'static str)
The program uses an op outside the mixed-signal SoC model (concurrency / networking).
NoAnalogRegion
The program has no float dataflow to map onto the analog plane.
UnboundedInput(String)
Float dataflow is present but an input has no declared range — refused, because gain scaling without bounds would be a guess.
UnloweredOp(String)
An op inside the region has no witnessed analog tile — a named lowering gap, never a silent drop.
ExactnessUnprovable
The integer lane’s exactness proof failed: the error budget reaches or exceeds half an integer grid step, so the rounded readout cannot be guaranteed to be the VM’s integer. Shrink the ranges/depth, use more converter bits, or calibrate.
ContradictoryContract
A declared range is empty (lo > hi) — no value can satisfy it, so no scaling or
certificate built on it can mean anything. Refused for bare and dimensioned contracts
alike (the runtime twin simply fires the impossible assert when reached).
ConvergenceUnprovable
The relaxation lane’s admission gate: no cited convergence theorem covers this system (asymmetric, indefinite, malformed) — refused, never settled into a wrong answer.
ThermalModelDisconnected
The stack’s thermal network has heat with nowhere to go (a floating island / no cooling boundary) — no steady state exists, so no temperature map is emitted.
ThermalBudgetExceeded
The CERTIFIED temperature map’s hottest junction exceeds the stack’s declared cooling budget — the same program may compile under a stronger cooling class; under this one it refuses. “Meets its budget under forced-air cooling, proven” is the checker’s verdict, not the producer’s word.
ResidualExceedsBudget
The settled answer’s EXACT residual exceeds the demanded certificate budget — the run is under-settled (or the demand unrealistic); no certificate is emitted.
Unplaceable(AnaUnplaceable)
The netlist cannot be realized on the requested target.
Trait Implementations§
Source§impl Clone for AnaLowerError
impl Clone for AnaLowerError
Source§fn clone(&self) -> AnaLowerError
fn clone(&self) -> AnaLowerError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AnaLowerError
impl Debug for AnaLowerError
Source§impl Display for AnaLowerError
impl Display for AnaLowerError
Source§impl Error for AnaLowerError
impl Error for AnaLowerError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl PartialEq for AnaLowerError
impl PartialEq for AnaLowerError
impl StructuralPartialEq for AnaLowerError
Auto Trait Implementations§
impl Freeze for AnaLowerError
impl RefUnwindSafe for AnaLowerError
impl Send for AnaLowerError
impl Sync for AnaLowerError
impl Unpin for AnaLowerError
impl UnsafeUnpin for AnaLowerError
impl UnwindSafe for AnaLowerError
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<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.