Skip to main content

MaestroOps

Struct MaestroOps 

Source
pub struct MaestroOps;

Implementations§

Source§

impl MaestroOps

Source

pub fn open_session(&self, lib: &str, cell: &str, view: &str) -> String

Returns session handle like "fnxSession4".

Source

pub fn close_session(&self, session: &str) -> String

Force-closes the session, cancels any in-flight simulation.

Source

pub fn list_sessions(&self) -> String

Source

pub fn set_var(&self, name: &str, value: &str) -> String

Set a design variable value. maeSetVar(name value) — no session arg (IC23/IC25 compatible).

Source

pub fn get_var(&self, name: &str) -> String

Source

pub fn list_vars(&self) -> String

List all design variables. Returns JSON via sprintf.

Source

pub fn get_analyses(&self, session: &str, version: VirtuosoVersion) -> String

Get enabled analyses — version-aware.

IC23: maeGetEnabledAnalysis(setupName) — needs car(maeGetSetup(…)) first. IC25: maeGetEnabledAnalysis(?session sessionName) — direct keyword.

Source

pub fn set_analysis( &self, session: &str, analysis_type: &str, options_skill_alist: Option<&str>, version: VirtuosoVersion, ) -> String

Enable an analysis type — version-aware.

IC23: maeSetAnalysis(setupName analysisType). IC25: maeSetAnalysis(analysisType ?session s ?enable t ?options \(…))`.

options_skill_alist is validated and converted at the command layer before this is called.

Source

pub fn run_simulation(&self, session: &str) -> String

Run simulation asynchronously. Returns immediately.

Source

pub fn get_outputs(&self, test_name: &str) -> String

Get test outputs — version-aware.

IC23/IC25: maeGetTestOutputs(testName) — both use positional. IC25 additionally supports ?session keyword.

Source

pub fn add_output( &self, output_name: &str, test_name: &str, expr: &str, ) -> String

Source

pub fn set_design( &self, session: &str, lib: &str, cell: &str, view: &str, ) -> String

Source

pub fn save_setup(&self, session: &str) -> String

Source

pub fn get_sim_messages(&self, session: &str) -> String

Source

pub fn focused_window_skill(&self) -> String

Get focused ADE window name, davSession, all window names, sessions, and run_dir in one RTT.

Returns a 5-element SKILL list: (title davSession (all_titles…) (sessions…) run_dir_or_nil)

davSession is cw->davSession — the Maestro session name bound to the ADE window. run_dir_or_nil is bundled so callers need only 1 RTT when the focused window has a session.

Source

pub fn run_dir_skill(&self, session: &str) -> String

Get simulation run directory for a maestro session via asiGetAnalogRunDir. Used when the caller provides a different session than the focused window’s davSession.

Source

pub fn export_results( &self, session: &str, file_path: &str, test_name: Option<&str>, history: Option<&str>, ) -> String

Export results to CSV via maeExportOutputView.

Source

pub fn open_results(&self, history: &str) -> String

Open a history run for programmatic result access.

Source

pub fn close_results(&self) -> String

Close the currently open results.

Source

pub fn get_result_tests(&self) -> String

List all test names that have results in the current history.

Source

pub fn get_result_outputs(&self, test_name: &str) -> String

List all output names available for a given test in the current history.

Source

pub fn get_output_value( &self, name: &str, test_name: &str, corner: Option<&str>, ) -> String

Get the value of a specific output for a specific test and corner.

Source

pub fn get_spec_status(&self, name: &str, test_name: &str) -> String

Get the spec pass/fail status for an output.

Source

pub fn get_history_list(&self) -> String

List available history runs for the current Maestro session. Returns JSON array of history names.

Source

pub fn get_current_session(&self) -> String

Get the Maestro session ID for the current session.

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<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more