I'm trying to follow the standard (?) workflow, that is, draw the schematic, simulate it (mostly to be sure it's correct), generate the netlist for the pcb, create the pcb...
I followed this tutorial
http://stffrdhrn.github.io/electronics/2015/04/28/simulating_kicad_schematics_in_spice.htmlbut I cannot make it work for my case, where I use a dual opamp chip (8 pins).
In my case netlist is generated like this for the opamp:
XU3 Net-_C2-Pad2_ Net-_D7-Pad1_ Net-_P2-Pad2_ VSS Net-_R17-Pad2_ Net-_D8-Pad1_ Net-_C3-Pad2_ VCC OPAMP
that is, both are considered the came circuit.
I tried to solve it prepending something like
.include NE5532.model
.subckt OPAMP 1 2 3 4 5 6 7 8
* PINOUT ORDER 1 2 3 4 5 6 7 8
* PINOUT ORDER OUT -IN +IN VSS +IN -IN OUT VCC
Xopa 3 2 8 4 1 NE5532
Xopa 5 6 8 4 7 NE5532
.ends OPAMP
Which does not work because apparently it's illegal to use two Xopa inside a subckt
Does anyone have experience in this workflow using kicad? Does anyone have a sound tutorial more complete than the cited above?
Thanks