I am very new to KiCad, but have been able to successfully build and simulate simple circuits using passives. I’ve added a MOSFET to a simple circuit and started to get errors when I run the ngspice simulation.
I started by installing KiCad 5.1.5 from their website. I then installed the digikey library per this post:
The MOSFET I’ve added is AO3401A from the dk_Transistors-FETs-MOSFETs-Single.lib
The first set of similar errors I get in the simulator window are: “line no. 20, draw missing tokens”
Line 20 (and all of the other lines indicated) is simply “DRAW”
The second type of error that I see are similar to: “warning, can’t find model n”:
Here is my netlist:
.title KiCad schematic
Vv1 Net-Q1-Pad1 0 pulse(0 5 2n 2n 2n 90m 100m)
R1 Net-Q1-Pad2 Net-C1-Pad1 10
C1 Net-C1-Pad1 0 .1
R2 Net-C1-Pad1 0 1000
V2 Net-Q1-Pad3 0 dc 10
MQ1 Net-Q1-Pad1 Net-Q1-Pad2 Net-Q1-Pad3 AO3401A
.tran 10m 1
Any help would be greatly appreciated! Thank you!