pub struct MaestroOps;Implementations§
Source§impl MaestroOps
impl MaestroOps
Sourcepub fn open_session(&self, lib: &str, cell: &str, view: &str) -> String
pub fn open_session(&self, lib: &str, cell: &str, view: &str) -> String
Returns session handle like "fnxSession4".
Sourcepub fn close_session(&self, session: &str) -> String
pub fn close_session(&self, session: &str) -> String
Force-closes the session, cancels any in-flight simulation.
pub fn list_sessions(&self) -> String
Sourcepub fn set_var(&self, name: &str, value: &str) -> String
pub fn set_var(&self, name: &str, value: &str) -> String
Set a design variable value. maeSetVar(name value) — no session arg (IC23/IC25 compatible).
pub fn get_var(&self, name: &str) -> String
Sourcepub fn get_analyses(&self, session: &str, version: VirtuosoVersion) -> String
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.
Sourcepub fn set_analysis(
&self,
session: &str,
analysis_type: &str,
options_skill_alist: Option<&str>,
version: VirtuosoVersion,
) -> String
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.
Sourcepub fn run_simulation(&self, session: &str) -> String
pub fn run_simulation(&self, session: &str) -> String
Run simulation asynchronously. Returns immediately.
Sourcepub fn get_outputs(&self, test_name: &str) -> String
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.
pub fn add_output( &self, output_name: &str, test_name: &str, expr: &str, ) -> String
pub fn set_design( &self, session: &str, lib: &str, cell: &str, view: &str, ) -> String
pub fn save_setup(&self, session: &str) -> String
pub fn get_sim_messages(&self, session: &str) -> String
Sourcepub fn focused_window_skill(&self) -> String
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.
Sourcepub fn run_dir_skill(&self, session: &str) -> String
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.
Sourcepub fn export_results(
&self,
session: &str,
file_path: &str,
test_name: Option<&str>,
history: Option<&str>,
) -> String
pub fn export_results( &self, session: &str, file_path: &str, test_name: Option<&str>, history: Option<&str>, ) -> String
Export results to CSV via maeExportOutputView.
Sourcepub fn open_results(&self, history: &str) -> String
pub fn open_results(&self, history: &str) -> String
Open a history run for programmatic result access.
Sourcepub fn close_results(&self) -> String
pub fn close_results(&self) -> String
Close the currently open results.
Sourcepub fn get_result_tests(&self) -> String
pub fn get_result_tests(&self) -> String
List all test names that have results in the current history.
Sourcepub fn get_result_outputs(&self, test_name: &str) -> String
pub fn get_result_outputs(&self, test_name: &str) -> String
List all output names available for a given test in the current history.
Sourcepub fn get_output_value(
&self,
name: &str,
test_name: &str,
corner: Option<&str>,
) -> String
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.
Sourcepub fn get_spec_status(&self, name: &str, test_name: &str) -> String
pub fn get_spec_status(&self, name: &str, test_name: &str) -> String
Get the spec pass/fail status for an output.
Sourcepub fn get_history_list(&self) -> String
pub fn get_history_list(&self) -> String
List available history runs for the current Maestro session. Returns JSON array of history names.
Sourcepub fn get_current_session(&self) -> String
pub fn get_current_session(&self) -> String
Get the Maestro session ID for the current session.
Auto Trait Implementations§
impl Freeze for MaestroOps
impl RefUnwindSafe for MaestroOps
impl Send for MaestroOps
impl Sync for MaestroOps
impl Unpin for MaestroOps
impl UnsafeUnpin for MaestroOps
impl UnwindSafe for MaestroOps
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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