The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Mar 28th, 2024, 7:53am
Pages: 1
Send Topic Print
Error found by spectre during circuit read-in. (Read 1988 times)
rajks1982
New Member
*
Offline



Posts: 8
Moscow, Idaho
Error found by spectre during circuit read-in.
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.
Back to top
 
 

-- Rajeev
View Profile   IP Logged
bernd
Senior Member
****
Offline



Posts: 229
Munich/Germany
Re: Error found by spectre during circuit read-in.
Reply #1 - 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
Back to top
 
 

Just another lonesome cad guy
View Profile WWW   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2384
Silicon Valley
Re: Error found by spectre during circuit read-in.
Reply #2 - 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
Back to top
 
 
View Profile WWW   IP Logged
bernd
Senior Member
****
Offline



Posts: 229
Munich/Germany
Re: Error found by spectre during circuit read-in.
Reply #3 - 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
Back to top
 
 

Just another lonesome cad guy
View Profile WWW   IP Logged
rajks1982
New Member
*
Offline



Posts: 8
Moscow, Idaho
Re: Error found by spectre during circuit read-in.
Reply #4 - 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.
Back to top
 
 

-- Rajeev
View Profile   IP Logged
ucgrad
New Member
*
Offline



Posts: 2

Re: Error found by spectre during circuit read-in.
Reply #5 - 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
Back to top
 
 
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2384
Silicon Valley
Re: Error found by spectre during circuit read-in.
Reply #6 - Nov 12th, 2006, 11:45pm
 
"        `#/projects/**********spectre/ind.scs'. hardly looks like a valid path.

-Ken
Back to top
 
 
View Profile WWW   IP Logged
bernd
Senior Member
****
Offline



Posts: 229
Munich/Germany
Re: Error found by spectre during circuit read-in.
Reply #7 - 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
Back to top
 
 

Just another lonesome cad guy
View Profile WWW   IP Logged
rajks1982
New Member
*
Offline



Posts: 8
Moscow, Idaho
Re: Error found by spectre during circuit read-in.
Reply #8 - 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
Back to top
 
 

-- Rajeev
View Profile   IP Logged
ucgrad
New Member
*
Offline



Posts: 2

Re: Error found by spectre during circuit read-in.
Reply #9 - 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
Back to top
 
 
View Profile   IP Logged
rajks1982
New Member
*
Offline



Posts: 8
Moscow, Idaho
Re: Error found by spectre during circuit read-in.
Reply #10 - 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.
Back to top
 
 

-- Rajeev
View Profile   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.