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=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Dp2DENm17Lm+9bIR482FXmA9zJxrOeJh5lkWxUHZbxE=; b=Ywg53sHZCZxBfSXERJoeo815X5pm0TS2kfTT6xvGdkQxQtR0WZ6+q6yD0w/X8uJIo+ 0vcQ1Hi/ViPuTycgUR9sD2RFI+StkQrVXAM5Rbu2h2Rh/UZPZqsPdYbsJhDy5gWHz5gx KM3cv9hfYBKk3OpVfw846X4QPymIqb/LpjoG5uTlF5FaEg7xKMtx8jmp7uq5wKLeQMiW fto+TzhO69Tz1MdyyeyNj9ZDf1Lu66QJYlvSFAIMugyK0stdR2TdOlzjZqImSCAq2Fo8 euJTsOG5FH7Gi24NBlNZtw5pB/p1HW+DR0lzv9zyVIcBT+2Ye3/HU//7LNsasPViIYTS IYzw== MIME-Version: 1.0 X-Received: by 10.112.219.70 with SMTP id pm6mr1011830lbc.41.1441332357441; Thu, 03 Sep 2015 19:05:57 -0700 (PDT) In-Reply-To: References: Date: Fri, 4 Sep 2015 02:05:57 +0000 Message-ID: Subject: Re: [geda-user] New experimental netlist features From: "Evan Foss (evanfoss AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Content-Type: text/plain; charset=UTF-8 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 Precedence: bulk Is this built using libgeda or is the whole thing in python? On Thu, Sep 3, 2015 at 1:32 PM, Roland Lutz wrote: > Hi, > > I added a few experimental features to the netlister, including buses and > variable substitution. The latest revision contains an example schematic > "tests/netlist/mod_7seg.sch" which demonstrates these features. > > You can clone the repository from > > git://github.com/rlutz/xorn.git (branch "experimental") > > or download a convenience tarball from: > > http://hedmen.org/xorn/xorn-netlist-experimental.tar.gz > > In detail, the new features are: > > - Components with a single pin can now have a "netname=" attribute which > acts like a "net=" attribute on that pin. This allows using the "netname=" > attribute as a clean label on customizable power symbols. > > - Analogously, I/O ports in subschematics can now be indicated using the > "portname=" attribute instead of "refdes=". If there are I/O ports for > which there is no matching pin in the instantiating symbol, an error is > reported. > > - Components can now have bus pins. This is currently only available by > hacking the file (i.e., changing the next-to-last number in the pin line > from "0" to "1"). The "pinnumber=" attribute on a pin and the "netname=" > attribute on a bus are interpreted as a comma-separated list of pin ranges. > Pin ranges can be denoted by either ".." or ":"; when using the latter > notation, the last pin isn't included in the list. Optionally, the pin > range can be given in brackets and have a common prefix. > > Examples: "4..7,14..11" -> 4 5 6 7 14 13 12 11 > "D[8:0]" -> D7 D6 D5 D4 D3 D2 D1 D0 > > Bus rippers still work the way they did before (i.e., not at all unless you > set the appropriate attributes by hand). > > - Subschematics can now have I/O busses. I/O bus pins work analogously to > normal bus pins but have a "pinlabel=" attribute instead of a "pinnumber=" > attribute. Inside the subschematic, you can either use a matching I/O port > symbol with a bus pin or individual net port symbols. Bus I/O ports > currently only support the new "portname=" syntax. > > - A subsheet symbol can have one ore more "subst=NAME=VALUE" attributes. > Inside the subschematic, any occurrence of "$(NAME)" is replaced with > "VALUE". This only works for attribute retrieval from packages; in > particular, it isn't possible to change slotting or subsheet source files > this way. > > Roland > -- Home http://evanfoss.googlepages.com/ Work http://forge.abcd.harvard.edu/gf/project/epl_engineering/wiki/