ngspice in KiCad 8: Logic simulation, divide by 4 with 7474
ฝัง
- เผยแพร่เมื่อ 9 มิ.ย. 2024
- A fast logic simulation, event-based, is set up and run. A divide-by-4 circuit is provided, using the 74HC74 dual D flipflop.
Digital models for some 74xxx devices are available at ngspice.sourceforge.io/model-.... In a previous video ( • ngspice in KiCad 8: Cr... ) I have shown how to create such models.
Thank you for creating this channel :)
Thank you for these videos. They are going to be useful for me as I intend to explore using the analogue simulation in Kicad. Great job, just the right pace, not going to deep and not assuming to much prior knowledge. I just binge watched the videos and I am looking forward to any further videos you have time to produce.
Great content.
Thanks
Keep it simple and under 20 minutes and your ch will boost ! Great content .
doesn't work 😔
Error: there is no circuit loaded.
Warning: Nesting of subcircuits with parameters is only marginally supported!
warning, can't find model 1prebar
Circuit: KiCad schematic
Too few parameters for subcircuit type "74hc74" (instance: xxua)
Too few parameters for subcircuit type "74hc74" (instance: xxub)
Same problem at a 74HC02 project.
Here is a little bug with the pin-nr's: Xnand1 2 2 1 74HC02
But that is not the main problem.
Version: 8.0.1-8.0.1-0~ubuntu20.04.1, release build
ngspice: 42
Compiler: GCC 9.4.0 with C++ ABI 1013
Hmm, it works, at least for me (using MS Windows).
There might be an installation problem (with the code models) on Ubuntu.
Could you please post yor question/report at forum.kicad.info/ (where also Ubuntu users are active)?
A working example is available at forum.kicad.info/t/how-do-i-simulate-a-74ls74-flipflop-using-ngspice-41/45571/12