Hello,
I'm having a tough time generating a SPICE netlist (gnetlist) and PCB collateral (gsch2pcb) with the same schematic (gschem).
I have a dual opamp package (lm358n) that is represented in the schematic by two separate op amp symbols that have slotting enabled.
If I give each one the same refdes=U1 and separate slots, the layout in PCB is as expected: one device. BUT I can't generate a SPICE netlist without errors because the refdes are the same and separate refdes are required for simulation.
If I set the refdes of each to separate values U1/U2, the SPICE netlist looks good and simulations work. BUT PCB now shows two devices with incorrect connections.
How can I get the best of both worlds?
It'd be nice if there was a way for gnetlist to know that the same refdes and different slots should be given different refdes in spice, say U1A and U1B. Is this a feature that I'm not aware of?
Thanks,
Jeff