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
pub fn set_var(&self, name: &str, value: &str) -> String
pub fn get_var(&self, name: &str) -> String
pub fn list_vars(&self) -> String
Sourcepub fn get_analyses(&self, session: &str) -> String
pub fn get_analyses(&self, session: &str) -> String
Get enabled analyses. Always returns a JSON string array; empty → [] (not an error).
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
IC23.1: maeGetTestOutputs returns list-of-lists; elements accessed via car/cadr/caddr.
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.
pub fn open_results(&self, history: &str) -> String
pub fn close_results(&self) -> String
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.
pub fn get_result_outputs(&self, test_name: &str) -> String
pub fn get_output_value( &self, name: &str, test_name: &str, corner: Option<&str>, ) -> String
pub fn get_spec_status(&self, name: &str, test_name: &str) -> String
Sourcepub fn get_history_list(&self, session: &str) -> String
pub fn get_history_list(&self, session: &str) -> String
List available history runs for a Maestro session. Uses maeGetAllExplorerHistoryNames(sessionName) — IC23.1 documented API. Pass the Maestro session name from maeGetSessions(), not the Ocean session.
pub fn get_current_session(&self) -> String
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