Hi Levente Kovacs, gnetlist front end(the C/SCM part) already support the non-flatten hierarchical netlist formats including BUS, such as Verilog, VHDL, Spice, GnuCap, etc., depending on the state of the gnetlist backend support.
The Spice back end netlister (gnet-spice-sdb.scm) provides some support of hierarchy, although limited, but it is a good start. I had also posted several discussions and how-to over the past few years about hierarchical netlist (including BUS) generation from gnetlist backends, a Verilog specific implementation with example was provided in: http://archives.seul.org/geda/user/Jan-2009/msg00056.html (although it was coded in BASH, it can easily be done in Scheme script, Makefile, etc) However, most PCB netlists use the flat hierarchy formats, which are structurally very different from the non-flatten hierarchical formats. The good news is that since there is already enough interface information provided by the gnetlist front end to the back end (the Scheme script part) to support the non-flatten netlists (including BUS), then theoretically, there are enough informations provided by the front end to the PCB Scheme Script backends to support the flat netlist (and BUS) too. Architecturally, I would like to see the various back end netlisters to implement their back end specific parts, without impacting the overall generic interface provided by the gnetlist front end. Even if we ever decide(?) in the future to replace the current Scheme scripting language to a more modern scripting language, such as Python or Ruby, the generic interface provided by the gnetlist front end will still give us tremendous advantage to support numerous diverse back end tools and netlists. There are similar C/SCM interface provided by Python and Ruby. Some description of differences in hierarchical netlists can be found at: http://en.wikipedia.org/wiki/Netlist Best Regards, Paul Tan -----Original Message----- From: Levente Kovacs <leventel...@gmail.com> To: geda-u...@seul.org Sent: Sun, Apr 11, 2010 4:04 am Subject: gEDA-user: gnetlist Hi, I can't find any documentation about the hierachy support in gnetlist http://geda.seul.org/wiki/geda:gnetlist_ug#hierarchy_support Is there any documentation about hierarchy support? Is there any way to create PCAD netlist with gEDA? Thanks, Levente -- Levente Kovacs http://logonex.eu _______________________________________________ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user _______________________________________________ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user