Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Simulation problem of a comparator with spice (gspiceui/ngspice)

Status
Not open for further replies.

gag2000

Member level 5
Joined
Dec 4, 2009
Messages
91
Helped
20
Reputation
40
Reaction score
20
Trophy points
1,298
Location
Fr
Activity points
1,836
Dear all,

I have got a problem with spice simulation.
I have edtited my schematic with gschem, downloaded the .mod spice file from the manufacturer of lmv7219, and set appropriate attribute (file, model, pinorder).
In gspiceui, I import the schematic without problem.
The simulation runs without any problem, the input voltage is OK, BUT the output is stuck to 0V... Same problem with gnucap.

This schematic works : I have simulated the same schematic with Cadence Spectre (at work !) and the output is correct.

I join the spice netlist (with .txt extension due to board restriction), the gspiceui simulation file (again, with .txt) and a jpeg of the schematic for clarity.

Of course, you may request any additional information helping me solving this issue...
Any help or suggestion welcome !
 

Attachments

  • simpletest.png
    simpletest.png
    9.3 KB · Views: 104
  • netlist.txt
    3.5 KB · Views: 80
  • simpletest.ckt.txt
    2.5 KB · Views: 72

The X1 component is not present in the ckt file generated by gspciui... but why ? It is present in the netlist !
 

Your image is too small to read.

The netlist simplest.ckt.txt won't do much because you haven't an instance of the subcircuit in your netlist. You have a definition for the LMV7210 but you haven't actually used it (X1 ..... LMV7219 type of line).

netlist.txt will work if you add a .TRAN statement to it but make sure it is for at least as long as the rise time of the pulse waveform.

Keith.
 

Hi keith,

Thank you, I've just realized that (post #2).
If I add a .TRAN statement and run ngspice by command line, I have the good output.
I have also tried with kjwaves, which give good result.

It seems that ngspiceui skip my component... is it a bug or a missing feature ?
 

Sorry, I don't use gspiceui/ngspice - I just ran the netlists through SIMetrix.

Keith
 

Bug !
Solved in version 1.00 !
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top