Can't assign diode models in batch mode

Anthony Anconetani <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.general
Message-ID <[email protected]>
Hello everyone,

I hope you all are doing well. This is my first time posting. I've just
started using gnucap this past week.

Here is my question. I'm trying to read in a netlist and commands in batch
mode. I have a file that called test_schematic2.sim.

The file contains:

.model 1N414 D IS=2e-14
Vcc  1   0   5
Dx   1  10   1N414
Dy  10  20   1N414
Dz  20  30   1N414
Rd1 10   0   1k
Rd2 20   0   1k
Rd3 30   0   1k

.print dc v(10) v(20) v(30)
.dc Vcc 0 5 0.5 >eg6.dat
.end

I then run:

>gnucap -b test_schematic2.sim

I do not receive the output file eg6.dat.

If I go into gnucap and pull the file in as follows:

gnucap>  <test_schematic2.sim

I get the following message:

.model 1N414 D IS=2e-14
Dx: can't find model: 1N414

However, I can generate the model from inside of gnucap by using the build
command.

Can you tell why I cannot get gnucap to recognize the diode model through
the batch mode?

Thanks, and I hope I'm not wasting your time with something obvious.

-Anthony Anconetani
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.