The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> spectre cellview
https://designers-guide.org/forum/YaBB.pl?num=1118940189

Message started by aamar on Jun 16th, 2005, 9:43am

Title: spectre cellview
Post by aamar on Jun 16th, 2005, 9:43am

Dear Sirs,
I have asked before in the analog design section about the bsource, and I got the reply that it is supported in IC5.00.33, but there is no symbol for it in the analoglib, and that I have to create a subcircuit for the model.
Ok
I try to create a spectre cellview to define my subcircuit, and create a config file to bind my symbol (of the subcircuit)  in the top level schematic to it.
when I create the spectre cellview , it is saved by default to text.txt, but I start my circuit with simulator lang = spectre.
During the netlist generation I get always an error, that there is no suitable cellview, even so the spectre cellview is listed in the list of the views for my circuit.

So what is the problem???

Thanks

Title: Re: spectre cellview
Post by Andrew Beckett on Jun 16th, 2005, 9:52am

It sounds as if you created a view with the tool "text editor", and put a spectre subckt in it. If so, that's not how you do it.

You need to create a symbol, and then (usually) copy that symbol to a view called "spectre". This acts as a "stopping" view to tell the netlister not to expand the hierarchy any more.

You then need to set up the CDF for the component. Go to Tools->CDF->Edit CDF in the CIW, and browse to pick your component. Change the CDF type to Base (this is important, otherwise it doesn't get saved).

Add any parameters that need to be passed into your subckt. Make sure these parameters have a type of string, parseAsNumber set to yes, parseAsCEL set to yes.
In the simulation information section, hit Edit, and then change the simulator cyclic to "spectre". For instParameters list the names of any parameters that need to be passed into the subckt - using the names that appear in the subckt. Hopefully these are the same as you've called them in the parameters section of the CDF, if not you'll need to use the propMapping field - search in the docs for that if you need it (I don't want to confuse you).

Set the component name in the spectre simInfo to the name of your subckt.
Set the term Order to list the pin names on your symbol, in the same order they appear in your subckt.

Then, in ADE, specify Setup->Model Libraries, and reference the file containing your subckt model, in the same way other models are provided.

I hope that helps. This is covered in the documentation (can't remember where off the top of my head), by the way.

Best Regards,

Andrew.

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