Hi @Briant, could you help with another issue I’ve come up against with the d_process?
I’m trying to run the model using named pipes so that I can run the code model in a debugger like in the original example by @uros ( The Easiest Way of Simulating C/C++ Code Together with an Analog & Digital Spice Simulation — ISOTEL ). I had to make a couple of modifications as I hadn’t understood properly on the previous ones how the pipe naming works so I’ve attached a new model (with your previous modifications in it as well).
I’ve made the pipes “controller_in” and “controller_out” in the model directory where the executable “controller” is and added a ‘|’ to the d_process command.
I keep getting the following error in the Kicad simulator:
Instance: a.xu2.acontrol Message: ERROR: d_process failed to open in fifo
Error: ngspice.dll cannot recover and awaits to be detached
My assumption is that ngspice is looking in the wrong place for the pipes but it’s equally possible that I’ve missed something important.
mixed_mode_sim_named_pipes.zip (1.1 MB)