delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2017/07/09/07: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-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20161025;
h=date:from:to:subject:message-id:in-reply-to:references:mime-version
:content-transfer-encoding;
bh=klCxcBHiZPlRAHAV6YD1nyX9/+t7Snu8GqCMAyEN7l4=;
b=YsaWQA3jMcXUyVW3AEJOnoeL9pD6+L3V5RRka+0yy//+K2V7EBzymHlMSHU9MNyMkt
HOSW0NBOJbQ8aWX/Y6zxccqwJE0tPcIuJL77jMB3C6nOPfKtesPvJV2VP+z3JZr86OPo
zBLLMWQYHMK9YPvYHZmKQgky89HLrwwubVABugPPXQXjpBO3yEJZR6lmvwdQy4BaxYAT
TTKIWxrT9hXZHCeguOKHXEWb15jj4PVqkRDi9R7wnQDQvpXCnqUjZjusOfuFKsZAWOvC
2RaqVQD1R1DpbqVZd45p0eQsriYUIJ1by+zmt7jC/HsA6b6GGnv6YDdNkPfMpMRXEEf2
lLzg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to
:references:mime-version:content-transfer-encoding;
bh=klCxcBHiZPlRAHAV6YD1nyX9/+t7Snu8GqCMAyEN7l4=;
b=beuTCOnccdowjkRea35k/IfFd77hwagWi8Jvf8AoTPb3vaAk2RWyK0i0GWwqqtpKqT
HDwbM4RvtXBlQp7jSoSyZke9lCSzlmYuEl3Oqg4xDNxotZWD1G6QnQG0wC6vbvHssPdG
q5KKi7z9cnQRo7sz2Qs6Q80tk+5/kA3N9d/W/PFvypNt7QhCGRIzbTphtbdoPwcUh25p
qtWGHO2Ahzuaq9oui/OLNQCuD/vPup45OYwomLFIJNXVZsLWxyzp6gIkkADJAdrxXzoY
M6ORL3/4f17Pd4GFIWov6dR7RRps5GRseXKW+svck/A6568Kd7zKeT1JuyYXObO4p6TP
/GqA==
X-Gm-Message-State: AKS2vOyq15n/lnmDcNGHquwG9we9iwkPCFkzkao3nVKtet1P2jnQuci9
wKgkbD94XrB+5aLs
X-Received: by 10.25.217.92 with SMTP id q89mr18927219lfg.70.1499599581248;
Sun, 09 Jul 2017 04:26:21 -0700 (PDT)
Date: Sun, 9 Jul 2017 13:26:19 +0200
From: "Nicklas SB Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] Refdes= mangling
Message-Id: <20170709132619.f813fb1554b668f6efec75df@gmail.com>
In-Reply-To: <C1514171-9D03-40E4-AE39-B3CE8B001599@noqsi.com>
References: <CAMvDHVCoOGz0JZ8KgAkzdzZJe6F1Q+eV--obH8QURAfNveGQCA AT mail DOT gmail DOT com>
<C1514171-9D03-40E4-AE39-B3CE8B001599 AT noqsi DOT com>
X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu)
Mime-Version: 1.0
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

> > After some time of thinking, I realise the use cases when net= is
> > mangled or not. The former case is for subcircuits that share their
> > power sources, the latter is for such cases where such power sources
> > are would-be-isolated within the subschematics.
> 
> Just power sources? Sometimes you have other global things like clocks, busses, …

As is now I think power sources have net= attribute and netname will be local within sub circuit. It could be connected to the outside world with an oridany input symbol by connecting it to the local power source.

I think this is rather good solution but can't tell for sure there are any problematic side effects.

> Scoping of names is tricky, depending on flow. One gotcha in ngspice is that GND is a hard-wired alias for node 0, so you can’t have an isolated ground in a subcircuit unless you name it differently.

A warning about the hard wiring would probably be an appropiate. "Warning local net GND is hardwired with global net GND because of harwiring to node 0 in ngspice".


> > Are there use cases where it is OK to use refdes= without mangling in
> > flattened hierarchical schematic netlist? I see only a field for
> > various potential conflicts…

It might be good with unmangled name as an alias.

- Raw text -


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