Hi,
I have been using Kicad for board design for quite a few years and now I am interested in full system level simulations using the capabilities of ngspice. I have made really good progress using some of the Xspice code models. I have, however not been very succesful using the d_process code model. I have followed the ISOTEL example of the motor control but when I call the motorforce_ngut.exe file, I get the message:
Message: ERROR: d_process failed to spawn.
Error: ngspice.dll cannot recover and awaits to be detached
My subcircuit looks like this:
.subckt DPROCESS_BLOCK d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 clk reset w0 w1 w2 w3 w4 w5 w6 w7
Acontrol [d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11] clk reset [w0 w1 w2 w3 w4 w5 w6 w7] firmware
.model firmware d_process (process_file=“motorforce_ngut.exe”)
.ends
I am using Kicad 8.0.4 on Windows 11 Pro. I compiled the C files from the ISOTEL motor control project using GCC 7.4.0 If anyone can share some pointers, it will be greatly appreciated. And even better if a simpler example can be provided. The ISOTEL project is amazing but there is a lot to digest and quite possible I have not fully understood how to use d_process. Thank you very much.