Hello Sir I don’t know about simulation but i have a doubt that only analog components can simulate this tools or ic’s can also simulate because while iam doing simulation it is coming like error ? may i know the reason sir.
Spice is analog circuit simulator, but digital circuits internally are also analog so can be simulated as analog. As I know there are some models allowing to simplify for Spice the digital circuits to allow for faster their simulation.
But:
- I have never used Spice to simulate digital circuits - so don’t know details,
- I have used Spice integrated into KiCad only for few days, can’t say a lot about it.
You should be able to find some information in FAQs (top of forum page) or in KiCad schematic documentation, I think.
Errors in simulation can have many reasons. For example lack of spice model attached to symbol you used at schematic. Without more information from you hard to say what is the error source.
But for me it is asking like this Error during simulation for ?
So as I expected:
KiCad is mainly PCB design software and symbols in libraries were probably defined long before adding Spice was even considered.
But if you have schematic editor than why not to allow to use it also for designing schematic to be simulated. Following this thought possibility to add models to symbols was added. But models offered by manufacturers even allowed you to use them for your purposes are probably not allowed to be inserted into Free Open Source Software so they are not in KiCad libraries.
I don’t know details. I use spice to only simulate some small parts of circuits so I have collected some symbols with spice models in separate libraries to be used when simulating.
I use Spice with two separate configurations (changed by renaming directories). In one I use it to design PCB and I see only my libraries containing no spice models and second only to simulate and I see only libraries containing spice models but not containing footprints.
Setting up a simulation for the first time is a bit of an involved process in KiCad. Starting with something simple, and with some working examples can help to ease the learning curve. Your circuit, which has some 20+ active parts is not a good starting point.
Experiment a bit with the examples you can find in:
Also, read the documentation and tutorials on the ngSpice website: