post netlist, pre run hook?

D

danmc

Guest
Is there a simple way to cause cadence to invoke a custom function at
the end of the netlisting process? In other words in the analog design
environment I'd like "netlist and run" to do the following:


netlist
run my custom skill code
run

and "netlist recreate" to do:

netlist
run my custom skill code

I'm using the analog design environment and spectre if that makes a
difference.

Thanks
-Dan
 
Have a look at my post 'how to customize Artist menus'
http://www.designers-guide.org/Forum/YaBB.pl?num=1139434902/3#3

In general you have to write a wrapper function

myNetListAndRunWrapper {
netlist
run my custom skill code
run
}

And implement it in the Artist menu in the way described by the link,
the same for "netlist recreate".


Bernd


danmc wrote:
Is there a simple way to cause cadence to invoke a custom function at
the end of the netlisting process? In other words in the analog design
environment I'd like "netlist and run" to do the following:


netlist
run my custom skill code
run

and "netlist recreate" to do:

netlist
run my custom skill code

I'm using the analog design environment and spectre if that makes a
difference.

Thanks
-Dan
 
This looks like it will work. My wrappers are getting called. One
last hurdle for me though. Anyone know how I can get the netlist
directory? For example
/home/me/simulation/MyCell/spectre/myview/netlist ?

Thanks
-Dan
 
danmc wrote:
This looks like it will work. My wrappers are getting called. One
last hurdle for me though. Anyone know how I can get the netlist
directory? For example
/home/me/simulation/MyCell/spectre/myview/netlist ?

Thanks
-Dan
duh. it was partway through the link you already posted...

asiGetNetlistDir(asiGetCurrentSession())

-Dan
 

Welcome to EDABoard.com

Sponsor

Back
Top