Quantcast
Channel: Cadence Custom IC Skill Forum
Viewing all articles
Browse latest Browse all 5066

Identify ADE-L vs Maestro Explorer in skill/ocean

$
0
0

Hello,

I have a custom skill tool which is introduced in the "Tools" menu in either ADE L and Explorer via a reg user trigger. So the user starts ADE L or Explorer, depending, and from there starts our tool. I then use  asiGetCurrentSession() to access the simulation session which is then used by the tool. Due to some differences, after starting the tool, is there a way to know in skill code if the tool has been started from ADE L or from Explorer?

I looked in the session->data and for ADE L I saw nothing to identify it. For explorer I saw a strange property "fenixMode "explorer"", but I don;t know what it is and it does not seem something to count on. So once I start a custom tool, what would be the best way to know what Cadence tool menu I started it from?

As a followup, part of our tool we generate an ocean script from the simulation session and use that to run some simulations. To do this we use asiOpenOceanScript / asiWriteOceanScript type procedures. This generates an ocean similar to the one generated from ADE L if we use in the interface Session -> Save ocean script. This happens even when the tool is started from explorer. When generating ocean from explorer interface, it is different by including some custom explorer commands e.g.

;====================Set to Maestro mode explorer =============================
ocnSetXLMode("explorer")
ocnxlProjectDir( "/opt/tmp_share/default/main/ionescur/simulation/spectre/wkj/" )
ocnxlTargetCellView( "wk_sj" "test" "maestro" )
ocnxlResultsLocation( "/opt/tmp_share/default/main/ionescur/simulation/adexl" )
ocnxlSimResultsLocation( "/opt/tmp_share//default/main/ionescur/simulation" )
ocnxlMaxJobFail( 20 )

Are there similar commands to generate the ocean file as it would be from the explorer interface? I assume since the Session -> Save exists in explorer, it has some procedures in the background to do it, but could not identify them in the documentation. My general idea would be first identify if out custom tool was started form ADE L or Explorer, then generate the appropriate ocean script.

I hope i phrased things clearly. Thank you.

Regards,

Radu


Viewing all articles
Browse latest Browse all 5066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>