Guest
Hi,
when using Affirma ADE it is possible to annotate the instances in a
schematic with values from DC simulation. I now try to write a SKILL
program that cycles all transistors in my schematic page and extracts
important data like node voltages and drain currents and write to a
text file for later viewing in excel.
A bit reading in the skartist.pdf give me some indication on how to
access the simulator and the sessions. Problem is that the
documentation for the psf access is a bit over my head. Seems that I
have to define callbacks for my simulator in order to access entries
in the database.
During experimentation in CIW I tried to use the procedure
asiMapNetName as it is used in the example for
asiDefineDataMappingFunction. I typed in the example from the manual
and got a curious error message related to asiMapNetName:
*WARNING* Could not open Run Object File
/tmp/test/spectreS/schematic/psf/psf/runObjFile.
Checking the unix file system show me that there is no psf in the psf
directory with spectreS. I then decided to investigate asiMapNetName
on its own:
setq cs (asiGetCurrentSession)
setq dirId (asiGetPsfDir cs)
asiMapNetName dirId (list 'something 'stupid)
I have to do a
asiMapNetName "/tmp/test/spectreS/schematic/" (list 'something
'stupid) to open the runObjFile but then I don't know what the list
argument are supposed to achieve.
The simulator is running in a design kit using spectreS socket
simulation.
Question is if the three database access functions:
asiDefineDataMappingFunction
asiDefineDataAccessFunction
asiInit<yourSimulator>DataAccessFunction
are the proper functions to use.
I can of course use the spectre.ic file for info on the dc operating
point, but I wanted to be able to extend my program to extract data
from a transient simulation at a specific simulation time also.
--
Svenn
when using Affirma ADE it is possible to annotate the instances in a
schematic with values from DC simulation. I now try to write a SKILL
program that cycles all transistors in my schematic page and extracts
important data like node voltages and drain currents and write to a
text file for later viewing in excel.
A bit reading in the skartist.pdf give me some indication on how to
access the simulator and the sessions. Problem is that the
documentation for the psf access is a bit over my head. Seems that I
have to define callbacks for my simulator in order to access entries
in the database.
During experimentation in CIW I tried to use the procedure
asiMapNetName as it is used in the example for
asiDefineDataMappingFunction. I typed in the example from the manual
and got a curious error message related to asiMapNetName:
*WARNING* Could not open Run Object File
/tmp/test/spectreS/schematic/psf/psf/runObjFile.
Checking the unix file system show me that there is no psf in the psf
directory with spectreS. I then decided to investigate asiMapNetName
on its own:
setq cs (asiGetCurrentSession)
setq dirId (asiGetPsfDir cs)
asiMapNetName dirId (list 'something 'stupid)
I have to do a
asiMapNetName "/tmp/test/spectreS/schematic/" (list 'something
'stupid) to open the runObjFile but then I don't know what the list
argument are supposed to achieve.
The simulator is running in a design kit using spectreS socket
simulation.
Question is if the three database access functions:
asiDefineDataMappingFunction
asiDefineDataAccessFunction
asiInit<yourSimulator>DataAccessFunction
are the proper functions to use.
I can of course use the spectre.ic file for info on the dc operating
point, but I wanted to be able to extend my program to extract data
from a transient simulation at a specific simulation time also.
--
Svenn