help-gnucap
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnucap] spicelib (scons test) issue


From: Werner Hoch
Subject: Re: [Help-gnucap] spicelib (scons test) issue
Date: Wed, 20 Feb 2013 12:00:58 +0100

Hi 

Am Mittwoch, den 13.02.2013, 14:28 -0800 schrieb address@hidden:
> Using spicelib, I was able to download and create models but somehow
> getting this error.
> 
> ~/spicelib-master$ scons create
> scons: Reading SConscript files ...
> scons: done reading SConscript files.
> scons: Building targets ...
> scons: `create' is up to date.
> scons: done building targets.
> ~/spicelib-master$ scons test
> scons: Reading SConscript files ...
> scons: done reading SConscript files.
> scons: Building targets ...
> scons: *** [model_tests/national/opamps/LMV861_LM00215/status.cfg] Source
> `model_library/national/opamps/LMV861.MOD' not found, needed by target
> `model_tests/national/opamps/LMV861_LM00215/status.cfg'.
> scons: building terminated because of errors.
> ~/spicelib-master$ ls model_tests/national/opamps/
> LMC6062B_LM00064

> I link model_library/national/opamps/LMV861.MOD to some other opamp and the
> test progresses. But there are too may of the missing files. Linked all
> national missing now it is complaining about missing nxp diodes.
>
> Are the index files hard-coded or dynamically generated? Is there a way to
> overcome these without linking each of the missing MOD file?

The models are indexed in this files
spicelib/indexfiles/[vendor]_[typ].index.

Everytime a vendors drop or add a new model the index files need an
update.

I'm not sure whether it would be a good idea not to fail if a model is
missing.

You can get a list of missing models and new models with that command:
spicelib> ./scripts/testlibrary.py -i indexfiles/national_opamps.index

In the bottom of the result file
  spicelib/model_tests/national/opamps/index.html
you find a list of all missing models and all new models.

Maybe there should just be an easy way to drop the missing model from
the index files. Currently you have to remove them manually.

Regards
Werner




reply via email to

[Prev in Thread] Current Thread [Next in Thread]