Re: spice models
Mogliii <[email protected]> Sun, 04 Jul 2010 00:30:19 +0100
| Newsgroups | gmane.comp.gnu.gnucap.general |
|---|---|
| Message-ID | <[email protected]> |
Using scons works.
Now trying to put this into use with gschem and gspiceui... I seem to
still have some trouble with the whole gschem/gnucap thing.
1) I put the following in my /usr/share/gEDA/gafrc.d/geda-clib.scm
####
.....
("supervisor" "Microprocessor supervisors (misc)")
("opto" "Optocouplers (misc)")
("relay" "Relays (misc)")
("misc" "Misc. unsorted symbols")
; Other
;"verilog"
;"vhdl"
;"gnetman"
; spicelib
)))
(component-library-command
"/home/myusername/spicelib/scripts/gedaparts nxp_bipolar.index"
"/home/myusername/spicelib/scripts/gedaparts nxp_bipolar.index"
"NXP_bipolar_transistors")
#### [EOF]
When I open gschem I find a Library called NXP_bipolar_transistors, but
no components in it (see attached screenshot). Also I get the message:
###
Library command failed [/home/myusername/spicelib/scripts/gedaparts
nxp_bipolar.index]
Error output was:
/home/myusername/spicelib/scripts/gedaparts: undefined case
###
The file nxp_bipolar.index exists and has 218.4kB
2) I am very confused about all these different attributes I can/should
give to components: device, refdes, value, model, model-name, source,
net, device.... and is it case sensitive? How will I know if I entered
anything wrong?
3) Can someone help me to edit the attached schematics so that I get a
reasonable result with gnucap? I also attached an explanation what the
circuit should do. LM317 is preinstalled with my gEDA installation.
I'm happy to write a low-level tutorial once I know how to do this which
could then be distributed with spicelib. I think many first-time user
have similar problems than me.
On 07/03/2010 10:04 PM, [email protected] wrote:
> If you are using the git sources (which I recommend) instead of the
> release, you should use scons instead of make. The README file has
> not been updated in git. You can install scons, if you don't already
> have it, from www.scons.org . Then run the commands:
> 1) $ scons unpack
> 2) $ scons create
> 3) (optional and unnecessary) $ scons test
>
> -Alan
>
>
_______________________________________________
Help-gnucap mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnucap