SImulating the comparator circuit but it's not converting kicad to ngspice
Title
Question
When I am implementing the comparator circuit in esim then at that time when I am running the circuit by kicad to ngspice by giving values as 0ns, 5ns,50ns in start time, step time and stop time respectively in transient analysis. then, suddenly its loading loading and loading and after that the esim software automatically going to close but eeschema is not closing.
here is the attached netlist of comparator:
here is the attached netlist of comparator:
* C:\Users\rahul\eSim-Workspace\comparator_1\comparator_1.cir
* EESchema Netlist Version 1.1 (Spice format) creation date: 2/18/2022 7:32:17 PM
* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
* Sheet Name: /
M3 Net-_M1-Pad1_ Net-_M1-Pad1_ Net-_1.8-Pad1_ Net-_1.8-Pad1_ Pmosfet_1<span style="white-space:pre"> </span>
M5 Net-_M5-Pad1_ Net-_M1-Pad1_ Net-_1.8-Pad1_ Net-_1.8-Pad1_ Pmosfet_2<span style="white-space:pre"> </span>
M1 Net-_M1-Pad1_ vVinput_1 Net-_M1-Pad3_ Net-_M1-Pad3_ Nmosfet_1<span style="white-space:pre"> </span>
M6 Net-_M5-Pad1_ ? Net-_M1-Pad3_ Net-_M1-Pad3_ Nmosfet_2<span style="white-space:pre"> </span>
M4 Net-_M1-Pad3_ Net-_2u1-Pad1_ GND GND Nmosfet_5<span style="white-space:pre"> </span>
M2 Net-_2u1-Pad1_ Net-_2u1-Pad1_ GND GND Nmosfet_6<span style="white-space:pre"> </span>
M8 Net-_M10-Pad2_ Net-_M5-Pad1_ Net-_1.8-Pad1_ Net-_1.8-Pad1_ Pmosfet_3<span style="white-space:pre"> </span>
M7 Net-_M10-Pad2_ Net-_2u1-Pad1_ GND GND Nmosfet_3<span style="white-space:pre"> </span>
M10 vout Net-_M10-Pad2_ Net-_1.8-Pad1_ Net-_1.8-Pad1_ Pmosfet_4<span style="white-space:pre"> </span>
M9 vout Net-_M10-Pad2_ GND GND Nmosfet_4<span style="white-space:pre"> </span>
1.8 Net-_1.8-Pad1_ GND DC<span style="white-space:pre"> </span>
2u1 Net-_2u1-Pad1_ Net-_1.8-Pad1_ dc<span style="white-space:pre"> </span>
v1 vVinput_1 GND sine<span style="white-space:pre"> </span>
v2 ? GND sine<span style="white-space:pre"> </span>
.end
I am not able to find the error that's why is it happening.
I am not able to find the error that's why is it happening.
eSim General
Answers:
Dear Rahul,
Some of the wire are not connected properly. Those are displayed as "?" in the above netlist.
Also you need to go to the device model tab and subcircuit tab and add the subcircuits and device models.
Please see the spoken tutorial videos for the same.
Thank You.
Regards,
Sumanto Kar
eSim Team
sir the problem still persist what should I do now ? I have done all the changes which you said
Login to add comment