www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/06/29/20:28:30

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-TCPREMOTEIP: 207.224.51.38
X-Authenticated-UID: jpd AT noqsi DOT com
From: John Doty <jpd AT noqsi DOT com>
Message-Id: <3ED06C0F-7F4D-482E-A1D2-EDAB595939D8@noqsi.com>
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
Subject: Re: [geda-user] gEDA/gschem still alive?
Date: Mon, 29 Jun 2015 18:28:08 -0600
References: <20150629113018 DOT GH19654 AT fi DOT muni DOT cz> <1435581145 DOT 1447 DOT 19 DOT camel AT ssalewski DOT de> <CAOFvGD7npho6fPKAEmce6L1nXy=5EEsVaEH-Vj_XEuiLddodDA AT mail DOT gmail DOT com> <1435592698 DOT 1607 DOT 17 DOT camel AT ssalewski DOT de> <D8B09027-EF94-4C8D-ADC8-C5CCEAC36552 AT noqsi DOT com> <1435599996 DOT 2704 DOT 20 DOT camel AT ssalewski DOT de> <B8DD3FDA-D554-4DCD-A97D-42CE7215A5CB AT noqsi DOT com> <CAM2RGhTqnxzn5NAS10aQC+6Ws0k6TwJjYVo8iuL6QA7h1OA6uA AT mail DOT gmail DOT com> <201506292033 DOT t5TKXq06009463 AT envy DOT delorie DOT com> <13D3A00C-EA98-458A-BC3F-213653FA806A AT noqsi DOT com> <20150629212401 DOT GD28458 AT localhost DOT localdomain> <175C24CA-D7F9-4DD0-BC8C-09A2784BA6C1 AT noqsi DOT com> <CAM2RGhQJ4YuSbAVa6KSs=rCAJKruMS5XTN4YS+0MWbDhR3bGJA AT mail DOT gmail DOT com> <CAM2RGhT2eY-cKJ0FZZD2Au+ppSghx4Cjr5bbQvZWbgBPY8nkzw AT mail DOT gmail DOT com> <CAM2RGhTT13KVgFvHuMb3hQWKhW7Q55eM3pyO4se0FGj=cyKTvg AT mail DOT gmail DOT com>
To: geda-user AT delorie DOT com
In-Reply-To: <CAM2RGhTT13KVgFvHuMb3hQWKhW7Q55eM3pyO4se0FGj=cyKTvg@mail.gmail.com>
X-Mailer: Apple Mail (2.1878.6)
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

--Apple-Mail=_397048A9-C53D-49DC-B71C-44E09B049659
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252


On Jun 29, 2015, at 5:59 PM, Evan Foss (evanfoss AT gmail DOT com) =
<geda-user AT delorie DOT com> wrote:

> It would be nice to change the way PCB takes data in. I like the
> netlist handling but something more CSV or tab delineated would be
> nice for the rest of the stuff.
>=20

Nothing whatever to do with PCB, but I do sometimes find a TSV netlist =
useful. Here=92s a gnetlist back end that makes a TSV:


--Apple-Mail=_397048A9-C53D-49DC-B71C-44E09B049659
Content-Disposition: attachment;
	filename=gnet-tsv.scm
Content-Type: application/octet-stream;
	x-unix-mode=0644;
	name="gnet-tsv.scm"
Content-Transfer-Encoding: 7bit

;;; gEDA - GPL Electronic Design Automation
;;; gnetlist back end for making .tsv relational netlists
;;; Copyright (C) 2014-2015 John P. Doty
;;;
;;; This program is free software; you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 2 of the License, or
;;; (at your option) any later version.
;;;
;;; This program is distributed in the hope that it will be useful,
;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with this program; if not, write to the Free Software
;;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

;; generate a netlist in
;; refdes	pin	net	device
;; TSV format

(define (tsv filename)
	(set-current-output-port (open-output-file filename))
	(for-each do-net all-unique-nets))

(define (do-net net)
	(for-each 
	  (lambda (c)
              (format #t "~A\t~A\t~A\t~A\n"
	                 (car c)   ; refdes
                     (cadr c)  ; pin number
		             net
			         (gnetlist:get-package-attribute (car c) "device")))
	  (gnetlist:get-all-connections net)))

--Apple-Mail=_397048A9-C53D-49DC-B71C-44E09B049659
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii



John Doty              Noqsi Aerospace, Ltd.
http://www.noqsi.com/
jpd AT noqsi DOT com



--Apple-Mail=_397048A9-C53D-49DC-B71C-44E09B049659--

- Raw text -


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