I am using asiMapOutputName command to get terminal to output mapping information. Ex: asiMapOutputName("netlistDir" 'terminal "i0/i1%out". And it returns it corresponding output name. Something like, "i0/i1:1".
We use this methodology to create device and instance terminals to its output name mapping. This mapping information is used by our downstram tools. On a big design (pure schematic), with around 10000 different terminals, asiMapOutputName takes around 5 hrs to complete. Do we have a better way to get terminal to output mapping information?
If you ran a simulation, you would have been able to do:
openResults("/path/to/sim/results/psf")selectResult('tran) ; or whatever analysismapTable=makeTable('myMap nil)foreach((sch net) outputs() outputs(?map nil) mapTable[sch]=net)
and then you have a table where you can do mapTable["/out"] and get "out" or whatever mapping has occurred.
If you need to do this pre-sim, please contact customer support - it might need an enhancement to allow faster access to the mapping information.