In an *AMS language, nets have types. It's not just “wire”. The schematic needs to be extended so that pins on symbols can have types. It is not prohibited to mix types. Verilog has something called a “connectmodule” to define how to resolve mixed types. gschem attributes need to have types. [Al Davis]
I certainly agree that the (gnetlist-ed.) Verilog output is not 'lossless' – it's only an interchange format for the interconnect…[Mike Jarabek]
He's not actually proposing to use VHDL (as modeling language-ed.) but to steal some syntax from VHDL and interpret it as he sees fit for the task. In particular, he's only interested in the entity-architecture separation[Steve Williams]
More useful, (than creating intermediate file formats-ed.) is to refactor libgeda and define an API which can be exposed via C, scheme, DBus, and other scripting languages directly modifying the underlying design. [Peter Clifton]
Any extraction should preserve hierarchy, in hopes that the target tool also benefits from it. Translation must be 100%, lossless, from netlist to PCB refdes, and from PCB refdes used to create a module or back annotate a schematic. [Al Davis] [paraphrased heavily by JGriessen – correct?]
The file format should be designed as a language meaningful and expressive of IC, programmable logic, and printed circuits. File formats that are data structure dumps cause big problems. We need an interchange file format..[Al Davis]
If EDIF has layout objects or schematic objects built-in, that is actually a weakness. Just like SPICE having resistors and transistors built-in has become a weakness.[Al Davis]
EDIF's not mainstream. VHDL and Verilog are mainstream. That is one reason for my preference. It's not all technical[Al Davis]
PCB behavior with a hierarchic netlist Right click on a symbol, select “go inside”, and another drawing opens up showing what's inside. gschem also should act this way. [Al Davis] Display in place what's inside, turn on/off the visibility or “editability” of any subcells. [Igor] Ability to visually toggle [Dan McMahill] “blocks” should be translucent. (To show in place)ed. even when you're not editing it. [DJ Delorie] Yep. [John Griessen] Dive into a block so you can edit it. When done, close and updated in place. [DJ Delorie]
how to handle re-use blocks? [Stuart Brorson] That is, if I have a sub-schematic which I instantiate four times, how should it be refdesed in the netlist?
(InterProcess Communication -ed.) between gschem and PCB using DBus will benefit from netlisting changes (certainly cross probing and back annotation).[Peter Clifton]
Peter Brett and I put together a graphical frontend to gsch2pcb which uses gsch2pcb's output to feed changes into a live PCB layout. [Peter Clifton]
For cross-probing / interactive simulation / back annotation, we require libgeda to give gschem, gattrib etc.. the circuit representation underlying your schematic drawing.[Peter Clifton]
libgeda could/should evolve - as a backend to different tools. Since the PCB file-format is PCB's, and may change, it is wiser to use a defined API to PCB to make PCB write the file. This entails adding to PCB's action interface as necessary, and making gsch2pcb output a script of actions rather than a “PCB” file. [Peter Clifton]
I'm hoping to separate much of the GUI structure and cram that back in the applications it belongs in, re-structuring libgeda to be design data-oriented.[Peter Clifton]
function library with bindings to users language of choice a proper, “official” Perl-callable library to parse a layout file, a footprint file, or a schematic file, and load the data into an in-memory data structure. Such a library to read and write these file formats would dramatically reduce the activation energy hump to write a rich set of tools for all of us. [CP Tarun]
It would not fall out of sync with the changing file-formats, because you wouldn't write yet another implementation of the parser, data-structures etc, nor would you copy-paste code. You would have one library which is used by all tools (probably in C as this is what the suite mostly uses), then you would provide language bindings so people can write the useful utilities they want. If this means having to split code out of existing tools and into a library, that is the way forward in terms of code reuse. [Peter Clifton]
I completely agree. [Dan McMahill]
Also consider libgpmi which currently supports 8 languages, will support guile [Igor]
It is very useful I think to let DRC run to completion and have a DRC layer (or perhaps 1 DRC layer per copper layer as you suggest) that identifies exactly the offending feature.[Dan McMahill]
layout and save a hierarchy module [Steve Meier]
have a block (in PCB)ed. that is a modular entity. Normally, you can't do anything but move it around as a whole. A special action “opens” this block (and hides everything else) so you can edit it. When you're done, it's closed again - and any copies of the block are automatically updated in place. [DJ Delorie]
be able in the netlist to tell pcb which slots are swapable, which i/o pins are swapable and which pin pairs can function as differential pairs (these last two have to be able to be limited to specific banks) such that pcb could correctly change the net list itself. Then I would like PCB to be able to tell me what pins and in what order the pins were swapped so that this could be imported back into the original design.[Steve Meier]
gschem attribute editable as symbols placed, (such as description of the layout footprint attribute) [CP Tarun]
recesses in boards, (holes in PCB layers)[Steve Meier] Required for straight leads out side of packages and flex circuits.
Yeah, you'd need the “layer types” patch to really manage that, as you'd be able to tag multiple pcb layers as “outline” layers[DJ Delorie]
PCB should be able to do hidden vias, buried vias and micro vias. [Steve Meier]
Answered by non-copper layers, multi-pin projects in SoC list [DJ Delorie]
Use padstack to build elements with copper and non-copper layers independent.[Levente]
a PCB interface for presenting dynamic dialog boxes for importers [Igor] I think this is part of having easy scripting of user's choice, so an important design flow consideration[John Griessen]
change only the top of hierarchy string of a layout module to netlist correctly.[Steve Meier]
Separate the hierarchy from the rest of the refdes. [Steve Meier]
PCB doesn't care what the refdes is, a heirarchical one is just as valid [DJ Delorie]
In gschem, visually browse the symbol library.[CP Tarun]
Can be putoff and done as a GUI plugin script – a detail of easy scripting wants [JGriessen]
In gschem, more control over printed or exporting, as in CAM files a la Eagle.[CP Tarun]
Can be putoff and done as a GUI plugin script – a detail of easy scripting wants [JGriessen]
What kind of data structures are desirable? How would they look? [Stuart Brorson] Once a datastructure is decided upon, then what does the file format look like? Preserving the current close mapping of files to data structures is a desirable goal. The data structures defining hierarchy dictate what the file format should look like. [Stuart Brorson]
Right now, the main data structure for a schematic is a linear linked list of graphical objects (for each schematic page). Some list items point to others (i.e. to support component attributes). How would that change to support hierarchy? [Stuart Brorson]
PCB has a second format it uses called a “resource file”. It's a semi-lisp-ish format that allows for arbitrarily nested data. It could be used to hold pretty much anything, but it isn't “designed for the data”.[DJ Delorie]
How should gschem behave once hierarchy is architected in? Right now you attach a source= attribute to a symbol. Then you do “schematic down” on that symbol to dive into the sub-schematic. Is that OK? Or what's a better scheme?
Some work has already been done using gnetman by Bill Cox, but it has never been part of the distribution gnetlist. Dan McMahill wrote: “a reason to use the gnetman database as opposed to one designed by one of us” is that without availing Bill Cox's substantial tested work, we may “find that the underlying database structure and methods for accessing it still aren't complete enough, fast enough, or scalable enough.”
Some work has already been done by Steve Meier to enable practical work on FPGAs.
Some design work has been done by Peter Brett and Peter Clifton, producing a concept diagram of a sub-circuit oriented data-structure based on gnetman's structure diagram for netlisting. See data structure design discussion