gnetlist: spice-sdb: incorrect sorting

Bug #698591 reported by sergey-feo
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA
New
Undecided
Unassigned

Bug Description

(Excuse me for my bad English)

Software version: gEDA-gaf-1.5.4.tar.gz

I attach archive with files:
y-page1.sch - scheme in gschem
output.net - netlist created with command gnetlist -s -g spice-sdb ./y-page1.sch

This netlist is incorrect for gnucap 2009.09.28 RCS 26.124.

Error 1.

command
gnucap -b ./output.net > ./1.dat
gives error
D1: can't find: qwerty

This error is because gnucap want .model before component that requires this model.
gnetlist -s -g spice-sdb places .model after components and this is incorrect behaviour.

Error 2.

Please try to move .model directive in netlist to the place before components.
Re-run gnucap and see 1.dat.

You will see error 2: 1.dat contains time but not voltages and not currents.

This is becase gnucap requires .print before .tr.
gnetlist -s -g spice-sdb places .print after .tr and this is incorrect behaviour.

Please try to place .print above .tr and re-run gnucap. You will get 1.dat contains all needed vectors.

-------------------
Regards, Sergey

Revision history for this message
sergey-feo (sergey-feo) wrote :
tags: added: spice-sdb
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.