The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Design >> Analog Design >> Error found by spectre during circuit read-in.
https://designers-guide.org/forum/YaBB.pl?num=1163147349

Message started by rajks1982 on Nov 10th, 2006, 12:29am

Title: Error found by spectre during circuit read-in.
Post by rajks1982 on Nov 10th, 2006, 12:29am

Hello analog design lovers,

Am trying to simulate an inductor circuit. I get this error message while doing so. Any idea why this is happening.

"
Simulating `raw/inductor' on mercury at 11:08:34 PM, Thur Nov 2, 2006.

Error found by spectre during circuit read-in.
   raw/inductor: xl is an instance of an undefined model ind.

spectre terminated prematurely due to fatal error. "

Am sure that I have the right model path and it is included. Am assuming that it is unable to read those models. I get the same message when I use appropriate models for both spectre ans spectreS. Do I have to also include the file extension? My spectreS models have no extension but the spectre models have a .scs extension. Is this any problem?


-- Rajeev.

Title: Re: Error found by spectre during circuit read-in.
Post by bernd on Nov 10th, 2006, 1:31am

Should be an easy trial to test once with and once without
file extension in your model path, but YES for spectre you
need to have the extension as well.

Be sure you also set the correct 'section' if there is one in
your model file

Bernd

Title: Re: Error found by spectre during circuit read-in.
Post by Ken Kundert on Nov 10th, 2006, 7:15am

Spectre does not need a file extension. But if you do use the .scs file extension, it assumes that the file is in spectre format, otherwise it assumes spice format.

If you want to read a spectre file without the file extension, you need to add "simulator lang=spectre" to the top of the file.

The name of the built-in inductor in Spectre is "inductor".

-Ken

Title: Re: Error found by spectre during circuit read-in.
Post by bernd on Nov 10th, 2006, 9:15am

Ken,

If you have a model file with .scs extension you need to have to
specify the extension as well in you Analog Environment Model Library
Setup or with an include statement in your netlist.
Otherwise you'll get


Error found by spectre during circuit read-in.
   "input.scs" 9: Unable to open input file `myExtensionlessModelFile'.
       No such file or directory.


If the file itself does not have an extension you surely don't
have to specify it.
But as I said in my previous posting should be an easy trail.

Bernd

Title: Re: Error found by spectre during circuit read-in.
Post by rajks1982 on Nov 10th, 2006, 12:49pm

Thanks Ken and Bernd for replying. I did include the extension this time. Here's the message when I run the simulation using spectre.  

"Simulating `input.scs' on mercury at 11:27:50 AM, Fri Nov 10, 2006.

Error found by spectre during circuit read-in.
   "input.scs" 9: Unable to open input file
"        `#/projects/**********spectre/ind.scs'.
      No such file or directory.

spectre terminated prematurely due to fatal error."


I tried it with a different simulator- spectreS, and I get this message.

"Simulating `raw/inductor' on mercury at 11:36:13 AM, Fri Nov 10, 2006.

Error found by spectre during circuit read-in.
   raw/inductor: xl is an instance of an undefined model ind.

spectre terminated prematurely due to fatal error."

In this case my model files have no extension(  like the .scs in spectre mdoels).

Any idea where am wrong. Am using a schematic. Do you think if there is any problem in the instance attributes.

--Rajeev.

Title: Re: Error found by spectre during circuit read-in.
Post by ucgrad on Nov 11th, 2006, 5:11pm

Hello,
I have a similar issue as Rajeev.(though not same as inductor)
I am working with signal storm and its giving me quite some pain.

Spectre terminated prematurely.

This is the history:
because Spectre was not recognizing the spice format model file I converted it using spp -convert to a spectra format. My netlist is in the spectre format
Spectra now cannot find the model .
It says m1 is an instance of an undefined model n.
I have defined the model and is installed by using the db_install.

What haunts me so much might be a piece of cake for you....

-P

Title: Re: Error found by spectre during circuit read-in.
Post by Ken Kundert on Nov 12th, 2006, 11:45pm

"        `#/projects/**********spectre/ind.scs'. hardly looks like a valid path.

-Ken

Title: Re: Error found by spectre during circuit read-in.
Post by bernd on Nov 13th, 2006, 12:07am

Have you ever had a look into your model file
if the model itself is called 'ind', this has not
to be the naturally case.

Bernd

Title: Re: Error found by spectre during circuit read-in.
Post by rajks1982 on Nov 13th, 2006, 12:42am

Ken:

I have the right model path. I haven't specified it in full here.

Bernd:

Yes the model name is 'ind' indeed.

To anybody reading messages in the forum:

The subckt model name matches with the name in the model file? Is this really necessary

I have another question. All this problems arise because am using a new tech library. Does the .cdsinit or .cdsenv or cds.lib have to be altered or have anything to do with this. I have the tech library that am using included in the cds.lib though. Its not just the inductor that I have problem with. Its basically any component that am using from this library.


--Rajeev

Title: Re: Error found by spectre during circuit read-in.
Post by ucgrad on Nov 13th, 2006, 5:21am

Hi Rajeev,
As I mentioned before I had a similar error. Got it working now.
for ur error ->"  raw/inductor: xl is an instance of an undefined model ind. "
Is your model file in spice or in spectre?
also did u generate it ? using spp or so ?
what comes up when you use db_install ?
What I would suggest you do is check your model file.
If its a library file then you will need to change the way you install it a little bit.
Let me know the script/command you use to install the model and the subckt file.
db_install ... ?
also few first lines from ur model file might help if its not a biggie.
-P

Title: Re: Error found by spectre during circuit read-in.
Post by rajks1982 on Nov 17th, 2006, 2:17pm

I fixed it. There were some specific model files to be included in the model library and mainly in an alphabetical order. That did everything.

Thanks to everyone for an idea on this one.

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