The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> How to make a symbol in ADE reference a spectre netlist
https://designers-guide.org/forum/YaBB.pl?num=1244213859

Message started by mlujan1965 on Jun 5th, 2009, 7:57am

Title: How to make a symbol in ADE reference a spectre netlist
Post by mlujan1965 on Jun 5th, 2009, 7:57am

Hello
I have a loss model described with a spectre netlist.
I would like to make a symbol to use in ADE that references the
netlist rather than a schematic. How is this done?

Thanks.

Title: Re: How to make a symbol in ADE reference a spectre netlist
Post by ywguo on Jun 7th, 2009, 10:40pm

Hi,

Please try to create a symbol, which must have the same name and pins as that netlist. Then include that netlist in ADE -> Simulation Files ... -> Stimulus File.

I have done successfully with a SPICE OPAMP netlist.


Yawei

Title: Re: How to make a symbol in ADE reference a spectre netlist
Post by Frank Wiedmann on Jun 7th, 2009, 11:29pm

For details regarding the method suggested by Yawei, see http://www.cadence.com/Community/blogs/rf/archive/2009/01/07/tip-of-the-week-how-to-simulate-a-subcircuit-netlist-with-spectre-in-ade.aspx?postID=13758. For an alternative and possibly simpler method, see http://www.designers-guide.org/Forum/YaBB.pl?num=1191334088.

Title: Re: How to make a symbol in ADE reference a spectre netlist
Post by mlujan1965 on Jun 8th, 2009, 9:56am

Thanks Yawei
I wrote a simple netlist for an RC see below:

simulator lang = spectre
subckt TestRC In Out GND
parameters Rval
R1 (In Out) resistor r=Rval
C1 (Out GND) capacitor c=10p
ends TestRC

I have edited the Base CDF and added Rval as Component Parameter

I keep getting the fllowing spectre error:

I1.R1: parameter 'r' : The parameter 'Rval' is used but not set.

What am I doing wrong?

Also is there a way to get the subckt netlist displayed in the
main netlist?

thanks



Title: Re: How to make a symbol in ADE reference a spectre netlist
Post by Andrew Beckett on Jul 10th, 2009, 6:36am

You need to add "Rval" as an instParameter in the spectre simulation information section of the CDF, so that it knows it needs to be netlisted for spectre. It sounds as if you have a parameter "r" that is being netlisted (which shouldn't be the case, since your subckt doesn't have "r" as a parameter). So check what parameters are being netlisted in the spectre simulation information part of the CDF.

Regards,

Andrew.

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.