saving . . . saved SImulating the comparator circuit but it's not converting kicad to ngspice has been deleted. SImulating the comparator circuit but it's not converting kicad to ngspice has been hidden .
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:
* 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.


eSim General None min None sec 18-02-22, 8:17 p.m. rahul_30

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

18-02-22, 8:34 p.m. SumantoKar
* C:\Users\rahul\eSim-Workspace\comparator_1\comparator_1.cir

* EESchema Netlist Version 1.1 (Spice format) creation date: 2/18/2022 9:07:00 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_ vVinput_2 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  vVinput_2 GND sine<span style="white-space:pre"> </span>

sir the problem still persist what should I do now ? I have done all the changes which you said 
18-02-22, 9:15 p.m. rahul_30
Please try running the circuits under Examples folder and check if they are running fine. If they are not running fine, then try reinstalling eSim. If running fine, let me know here.
18-02-22, 9:58 p.m. SumantoKar
Yes sir , the examples are running fine but my circuit is not running.
18-02-22, 10:02 p.m. rahul_30
Please Mail your project files to contact-esim[at]fossee[dot]in
18-02-22, 10:21 p.m. SumantoKar
18-02-22, 10:22 p.m. SumantoKar

Login to add comment


Log-in to answer to this question.