www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/12/31/13:58:09

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Mailer: exmh version 2.8.0 04/21/2012 (debian 1:2.8.0~rc1-2) with nmh-1.5
X-Exmh-Isig-CompType: repl
X-Exmh-Isig-Folder: inbox
From: karl AT aspodata DOT se
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] gnetlist -g partlist3 in error
In-reply-to: <20151231021429.EE320809D79B@turkos.aspodata.se>
References: <20151218205019 DOT 1C1FF809D78C AT turkos DOT aspodata DOT se> <20151223141117 DOT D51F6809D795 AT turkos DOT aspodata DOT se> <20151230211705 DOT GE4099 AT localhost DOT localdomain> <20151231021429 DOT EE320809D79B AT turkos DOT aspodata DOT se>
Comments: In-reply-to karl AT aspodata DOT se
message dated "Thu, 31 Dec 2015 03:14:29 +0100."
Mime-Version: 1.0
Message-Id: <20151231185752.78437809D79A@turkos.aspodata.se>
Date: Thu, 31 Dec 2015 19:57:52 +0100 (CET)
X-Virus-Scanned: ClamAV using ClamSMTP
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Karl:
...
> 1, I'll try to "minimize" the test case
...

 Here is a minimal test case:

http://turkos.aspodata.se/tmp/gEDA/gnetlist_test_minimal.tgz

It contains:

$ ls -l gnetlist_test
total 36
-rw-r--r-- 1 karl users   46 Dec 31 19:11 gafrc
-rw-r--r-- 1 karl users   46 Dec 23 02:52 gnetlistrc
-rw-r--r-- 1 karl users  748 Dec 23 02:20 netif_power.sym
-rw-r--r-- 1 karl users 1346 Dec 23 02:09 pwr.18V.src.sym
-rw-r--r-- 1 karl users  777 Dec 31 19:33 pwr.mc33063.40to18V.2720uH.sch
-rw-r--r-- 1 karl users  975 Dec 23 02:27 res_vert.sym
-rw-r--r-- 1 karl users  173 Dec 31 19:46 test.l1
-rw-r--r-- 1 karl users   96 Dec 31 19:46 test.l3
-rw-r--r-- 1 karl users  880 Dec 31 19:36 test.sch
$

test.sch is the top schematic, and this "design" have total of
 4 resistors
 1 src sym
 3 net sym

No nets, just the syms.

To run it, I temporarily
$ mv .gEDA zz
$ gnetlist --version
gEDA 1.9.0 (g01f8d13)
...

$ for i in 1 3; do gnetlist -L . -g partslist$i -o test.l$i test.sch; done; grep R13 test.l*
Loading schematic [/home/karl/tmp/gnetlist_test/test.sch]
Found a cpinlist head with a netname! [ac/output]
Found a cpinlist head with a netname! [ac/output]
Found a cpinlist head with a netname! [ac/output]
Loading schematic [/home/karl/tmp/gnetlist_test/test.sch]
Found a cpinlist head with a netname! [ac/output]
Found a cpinlist head with a netname! [ac/output]
Found a cpinlist head with a netname! [ac/output]
test.l1:R13     resistor        1k      m1608_a.fp      1
test.l3:Resistor        10k     m1608_a.fp      4       R8 R13 R7 ac/Rb1
$

Remove any resistor (except R13) or the src sym to get the desired
result:

$ for i in 1 3; do gnetlist -L . -g partslist$i -o test.l$i test.sch; done; grep R13 test.l*
Loading schematic [/home/karl/tmp/gnetlist_test/test.sch]
Loading schematic [/home/karl/tmp/gnetlist_test/test.sch]
test.l1:R13     resistor        1k      m1608_a.fp      1
test.l3:resistor        1k      m1608_a.fp      1       R13
$

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019