I need to create a netlist for a testbench cellview, in batch mode.
Basically I want to have in the skill script smthing like:
mysession = asiCreateSession(?simulator "spectre" ?lib LIB ?cell CELL ?view VIEW ?mode 'r')asiLoadState(mysession ?name "spectre_state1" ?option 'cellview ?lib LIB ?cell CELL)asiGenerateNetlist(mysession)But asiLoadState returns nil with warning:"WARNING (ADE-5046): There is no ADE window attached with the specified session" This is fine; I dont need ADE graphics. But is it a cause of the unsuccessful load?
OCEAN would work for us also, but as I understand it cannot load ADE state either...?
Yes, that is the case (as far as I know). There is an enhancement request asking for the ability to be able to run OCEAN importing from an ADE state - if you want this capability, you should log a service request with http://support.cadence.com so that a duplicate request can be filed, giving greater weight to the request.
In reply to LarissaN:
There really isn't a way to do this, hence the enhancement request. Hacking together some private SKILL functions would mean that it's potentially possible, but I have not tried (and if I did get it working, I wouldn't be able to share it).
Getting the sev session from the OASIS (asI) session isn't really possible either (I believe) . The only way you can really do it (with public functions) is something like this:procedure(CCSfindSevSessionFromAsiSession(asiSessionId) car(exists(sevId mapcar('sevSession hiGetWindowList()) sevId && sevEnvironment(sevId)==asiSessionId)))
But this won't work unless there's a sev session associated with the asi session in the first place.
In reply to Andrew Beckett:
Since the ADE state files are all ASCII text files, it might be relatively easy to parse these files yourself in SKILL and take the appropriate actions to fill in the details of the simulation that you want from the saved-state. This would then be an equivalent to calling the asiLoadState function but would remove the dependency on having to have an open ADE session.
In reply to SBrickles: