delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
X-Original-DKIM-Signature: | v=1; a=rsa-sha256; c=simple/simple; d=rahul.net; s=202010; |
t=1637099632; bh=b9iIjfExX90kL1jj63mgdMPD3XQ+sCbaQQx4pA9ax7M=; | |
h=Date:To:Subject:In-Reply-To:References:Reply-To:From:From; | |
b=lQUYi1yGjF/lHDZBRCFUBmPgRKA8Vw4m6txOy/ymRRJA/ri4O5Gl/pYmZNNoKML0A | |
8Qzkp7KWUwZq8tS50NM3EVmc2i0bQb7On+WR+0T4fSpR8RDb9JO16DalREr4DjVgoM | |
+XuNZHxlFmESz4mxSJ01NyDILi3W5et+Y7RpYe/lOS6h2gFWtPjT5nOeM6pbcbOeZ7 | |
arOUsmN7SCBXne6FoBc9bjjvdD/JvSVfXs7LvTs599I+soZ6Cr77/9oj6olCRdG8nn | |
LYkgknK5UDzMIkIczG2ok+ODbUukzMkM1DU7ArMLeaIbVFTbIoaxq4zWiu5EKOpoVG | |
yL0AAOjFEIvzA== | |
Message-ID: | <20211116215351.10585.qmail@rahul.net> |
Date: | Tue, 16 Nov 2021 13:53:51 -0800 |
To: | geda-user AT delorie DOT com |
Subject: | Re: [geda-user] lepton-netlist spice hierarchy |
In-Reply-To: | <1EA6519E-556C-4738-B621-E5E721900523@noqsi.com> |
References: | <20211115223137 DOT 6977 DOT qmail AT rahul DOT net> |
<9F9BD4AD-8E75-41D6-8EAD-974B0C57977E AT noqsi DOT com> | |
<20211116005009 DOT 12034 DOT qmail AT rahul DOT net> | |
<29531129-EE12-4368-816B-D77BB7767295 AT noqsi DOT com> | |
<20211116185926 DOT 1596 DOT qmail AT rahul DOT net> | |
<1EA6519E-556C-4738-B621-E5E721900523 AT noqsi DOT com> | |
X-Mailer: | VM 7.19 under Emacs 26.1 |
From: | "conover AT rahul DOT net (John Conover) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
MIME-Version: | 1.0 |
X-Spamd-Result: | default: False [0.40 / 10.00]; |
ARC_NA(0.00)[]; | |
HAS_REPLYTO(0.00)[conover AT rahul DOT net]; | |
REPLYTO_EQ_FROM(0.00)[]; | |
TO_MATCH_ENVRCPT_ALL(0.00)[]; | |
MIME_GOOD(-0.10)[text/plain]; | |
R_BAD_CTE_7BIT(3.50)[7bit]; | |
TO_DN_NONE(0.00)[]; | |
RCPT_COUNT_ONE(0.00)[1]; | |
FROM_NO_DN(0.00)[]; | |
NEURAL_HAM(-0.00)[-1.000]; | |
RCVD_COUNT_ZERO(0.00)[0]; | |
FROM_EQ_ENVFROM(0.00)[]; | |
MIME_TRACE(0.00)[0:+]; | |
ASN(0.00)[asn:7922, ipnet:67.160.0.0/11, country:US]; | |
MID_RHS_MATCH_FROM(0.00)[]; | |
BAYES_HAM(-3.00)[99.99%] | |
X-Rspamd-Queue-Id: | 5CADCBB8DF |
X-Rspamd-Server: | aqua-new.rahul.net |
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 |
John Doty writes: > Short answer: > > Make a file “lepton.conf” in the project directory, containing the lines: > > [netlist.hierarchy] > traverse-hierarchy=0 > > Long answer: > > You’ve mixed spice-style and layout-style hierarchy. Layout-style, with hierarchy traversal in the netlister using source=, connects pinlabel to refdes by name using symbols with device=INPUT or device=OUTPUT. Spice-style connects pinseq to refdes, in lexical/numeric ordering (P10 after P9), using device=spice-IO . Spice-style is intended for separate netlisting of subcircuits, while layout style flattens out the netlist. > > Spice-style has a few problems: > > 1. The pinseq attribute is overloaded, used also for slotting. This may cause conflicts. > > 2. The association of lexical/numerical ordering of symbol refdes with pinseq is confusing and error-prone. > > 3. It’s incompatible with flattening netlists for layout. > > This is why I made spice-noqsi work properly in layout-style without flattening (traverse-hierarchy=0). You never need to use spice-style (although you may) with spice-noqsi. > > > On Nov 16, 2021, at 1:59 PM, conover AT rahul DOT net (John Conover) [via geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote: > > > > John Doty writes: > >> > >> > >>> On Nov 15, 2021, at 7:50 PM, conover AT rahul DOT net (John Conover) [via geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote: > >>> > >>> http://www.johncon.com/john/archive/imm-6.tar.gz <http://www.johncon.com/john/archive/imm-6.tar.gz> > >>> > >>> which is the gEDA sources. > >>> > >>> Changing the program names to the Lepton equivilents, all works fine, > >>> except the Spice file, schematic.cir, has only the power supply on the > >>> top level, schematic.sch. > >> > >> Well, that’s a complete, complicated project. Can you strip it down into a simple test case to ease debugging? Something like: > >> with a single, embedded component. > >> > > > > http://www.johncon.com/john/archive/toy.tar.gz > > > > 1 transistor, 1 R, 1 C, in 1 X, tape archive is about 4K. > > Thanks, John. That's a big help. John -- John Conover, conover AT rahul DOT net, http://www.johncon.com/
webmaster | delorie software privacy |
Copyright 2019 by DJ Delorie | Updated Jul 2019 |