gnetlist: spice-sdb: incorrect sorting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gEDA |
New
|
Undecided
|
Unassigned |
Bug Description
(Excuse me for my bad English)
Software version: gEDA-gaf-
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
tags: | added: spice-sdb |