The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 5th, 2024, 12:53am
Pages: 1
Send Topic Print
Viewing innards of Spectre netlists/primitives (Read 98 times)
aznaragorn
Junior Member
**
Offline



Posts: 16

Viewing innards of Spectre netlists/primitives
Aug 03rd, 2004, 4:05pm
 
I am running mixed level simulation combing behavioral Verilog AMS code with Spectre Netlists (using modelpath variable) and the only problem I have is the spectre netlist subcircuits behave like a black box; i can't view any of the voltages and currents within it. For example, say I was co-simulating a gain amplifier with a filter and the amplifier was a subcircuit of a spectre netlist. Say i wanted to view the voltage on a particular transistor within an instantion of amplifier, how would I do this?
Basically i cannot look at anything within the spectre netlist (subcircuits), I can only look at the inputs and outputs of the subcircuits I instantiate. Any ideas?
Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: Viewing innards of Spectre netlists/primitives
Reply #1 - Aug 3rd, 2004, 9:48pm
 
I think this should work... I've not done it for a while, but I think it should be OK:

In the analog control file, you can add lines:

Code:
saveNodes options rawfmt=sst2 rawfile="trans1.tran"
save top.block1.block2.sigName1 top.block1.block2.sigName2
 



You can then save (into another file) hierarchical paths into subckt blocks.

However, why are you including spectre netlists? If those spectre netlists came from Composer schematics, would it not be better to get them in Verilog-AMS format (the AMS Designer interface will do this for you)? That way you can see everything in simVision.

Regards,

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
aznaragorn
Junior Member
**
Offline



Posts: 16

Re: Viewing innards of Spectre netlists/primitives
Reply #2 - Aug 4th, 2004, 3:04pm
 
Unfortunately much of our schematics use 3 terminal devices and because progn isn't supported by the spectre netlister our spectre and verilog ams netlisters do not work properly (the fourth terminal of all the three terminal devices is being mapped to something like vdd! or vss! instead of Bn). Our  company uses our own netlister. I've worked out a fix (based on changing the spectre stopping view and changing the parameter  Bn to a  netexpression) but we have legacy issues with it that we are working out. So right now the best solution is to use our own netlister and  use modelpath to utilize the netlists.
Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: Viewing innards of Spectre netlists/primitives
Reply #3 - Aug 4th, 2004, 3:22pm
 
If you contact customer support, they should be able to tell you about solution 11004934 (an internal solution that I wrote a while ago), which describes how you can write a custom netlist procedure for 3 terminal devices in the spectre interface which emulates the progn(bn) behaviour. I advise the use of this for compatibility with existing designs, but that all new designs should use inherited connections instead.

The same principles in that solution could also be used to write a custom AMS netlisting procedure.

Regards,

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
aznaragorn
Junior Member
**
Offline



Posts: 16

Re: Viewing innards of Spectre netlists/primitives
Reply #4 - Aug 10th, 2004, 1:53pm
 
We have used your solution to imitate progn behavior for Spectre netlisting. However, for AMS netlisting there is no field in the Siminfo for ams view for netlistProcedure so I don't think a custom netlist procedure can be used. The ams simulator also seems to say that this is impossible. Taken from the AMS Simulator manual:

For traditional Cadence netlisters, which are usually written in Cadence SKILL language, a SKILL procedure that formats instances can be named in the netlistProcedure field for a device. The AMS netlister is not written in SKILL and cannot use a customized procedure for devices. Specifying a procedure does not affect the formatting of instances because the AMS
netlister does not recognize the procedure. New fields provided in the ams section provide the mechanism for specializing device instantiation formatting.
Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: Viewing innards of Spectre netlists/primitives
Reply #5 - Aug 19th, 2004, 10:24am
 
Support for netlist procedures for AMS was added in IC5033.

So you need to use IC5033 or later.

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.