Re: gEDA-user: PCB Netlist syntax
I used gedit. I'm working in Ubuntu. ~Abhijit On Tue, Apr 5, 2011 at 22:48, Bob Paddock wrote: >> I created the netlist using gschem2pcb and then edited it using a text >> editor, > > Did the text editor change the end of line format? I've seen that > error when editing the netlist with Windows Text Editors, > or text editors that adapt. If you use EMACS on Windows make sure it > is a unix format file and not a DOS style file. > >> If, instead, I use -power I get: >> WARNING! Pin number ending with 'R' encountered in netlist file >> Probably a bad netlist file format >> Can't find pin POWER called for in netlist. > > > ___ > 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
Re: gEDA-user: PCB Netlist syntax
> I created the netlist using gschem2pcb and then edited it using a text > editor, Did the text editor change the end of line format? I've seen that error when editing the netlist with Windows Text Editors, or text editors that adapt. If you use EMACS on Windows make sure it is a unix format file and not a DOS style file. > If, instead, I use -power I get: > WARNING! Pin number ending with 'R' encountered in netlist file > Probably a bad netlist file format > Can't find pin POWER called for in netlist. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: PCB Netlist syntax
I managed to edit the netlist file manually (in gedit) and added the word 'Power'. Seems it is case sensitive _and_ tab sensitive. To summarize, the syntax of the style allocation should be: netname style_name pin pin pin where stylename is Case sensitive. e.g. "Power" worked; "power" did not... Yes it would be good if gnetlist could read some attribute like routestyle or something... But adding it manually isn't such a hard job at least for small boards... Thanks again! ~Abhijit On Tue, Apr 5, 2011 at 22:39, DJ Delorie wrote: > > The syntax allows a net style there, but nothing in gschem produces it > so nothing in pcb uses it. > > > ___ > 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
Re: gEDA-user: PCB Netlist syntax
The syntax allows a net style there, but nothing in gschem produces it so nothing in pcb uses it. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
gEDA-user: PCB Netlist syntax
What is the syntax for allotting a routing style to a net? I saw the syntax here: http://pcb.gpleda.org/pcb-cvs/pcb.html#Netlist-File and http://archives.seul.org/geda/dev/May-2008/msg00120.html I created the netlist using gschem2pcb and then edited it using a text editor, adding the word "power" just after the net GND in the netlist. The PCB log window reported no errors when I hit 'O' to optimise the rats nest, but the autorouter ignored the route style. If, instead, I use -power I get: WARNING! Pin number ending with 'R' encountered in netlist file Probably a bad netlist file format Can't find pin POWER called for in netlist. Is there a caps/no-caps requirement? Or Tab separation? P.S. Double checked that the correct netlist is getting loaded, and I Do have a route style called 'Power' with fatter trace widths. Thanks, ~Abhijit ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: PCB Netlist?
> Do you know how to find out who the port maintainers are? In general... * check the mail archives * check the documentation that comes with the port * ask "who is the maintainer?" on this list ;-) If all else fails, try your favorite search engine. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: PCB Netlist?
On Sat, Apr 3, 2010 at 12:39 AM, Steven Michalske <[1]smichal...@gmail.com> wrote: On Apr 2, 2010, at 8:06 AM, Chris Maness wrote: Gschem does not seem to be in mac ports. I saw it listed as a fink package, but I don't like fink at all. sudo port install geda-gaf Cool, it works. Do you know how to find out who the port maintainers are? I would also like to bug the PCB port maintainer to get the PCB port to work right. Thanks, Chris References 1. mailto:smichal...@gmail.com ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: PCB Netlist?
On Apr 2, 2010, at 8:06 AM, Chris Maness wrote: Gschem does not seem to be in mac ports. I saw it listed as a fink package, but I don't like fink at all. sudo port install geda-gaf Build pcb from source, ports has a old version, and the port maintainers haven't updated the port. Steve ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: PCB Netlist?
On Fri, Apr 2, 2010 at 11:01 AM, Peter Clifton <[1]pc...@cam.ac.uk> wrote: On Fri, 2010-04-02 at 10:33 -0700, Chris Maness wrote: [snip] >I switched over to all Macs for workstations and lappys. The only PC >archetecture that I have up and running now is the server that runs >FreeBSD. I might want to install a fresh copy of Ubuntu on my wife's >lappy. I was not able to get X11 to work right with fink. Mac ports >seem to support more applications and is more familiar to me since I >use FreeBSD. gschem and PCB will run just fine on FreeBSD too, if it helps. -- Peter Clifton Yea, I am using it on my FreeBSD box w/ VNC over the network. My BSD box is headless. Chris References 1. mailto:pc...@cam.ac.uk ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: PCB Netlist?
On Fri, 2010-04-02 at 10:33 -0700, Chris Maness wrote: [snip] >I switched over to all Macs for workstations and lappys. The only PC >archetecture that I have up and running now is the server that runs >FreeBSD. I might want to install a fresh copy of Ubuntu on my wife's >lappy. I was not able to get X11 to work right with fink. Mac ports >seem to support more applications and is more familiar to me since I >use FreeBSD. gschem and PCB will run just fine on FreeBSD too, if it helps. -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me) ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: PCB Netlist?
SPICE has no understanding of pin numbers *at all*. Its abstractions are grounded in IC design where you have no pin numbers (at least internally). You'd have to provide a file mapping positional netlist connections to pin numbers. Another advantage of using a *flexible* schematic capture tool rather than a specialized one. In gschem you can specify both pin numbers (pinnumber= attribute) and pin position in a SPICE netlist (pinseq= attribute). I am starting to see the picture now, I am playing with gschem right now on my server. I do see that this is a better way to input if it is going to go to layout afterword, but yes you do pay the price up front to save time using a netlist to help with the PCB layout. It is a nightmare trying to check a complicated layout against a schematic, just praying that you aren't missing anything. I switched over to all Macs for workstations and lappys. The only PC archetecture that I have up and running now is the server that runs FreeBSD. I might want to install a fresh copy of Ubuntu on my wife's lappy. I was not able to get X11 to work right with fink. Mac ports seem to support more applications and is more familiar to me since I use FreeBSD. Thanks, Chris Maness ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: PCB Netlist?
On Apr 2, 2010, at 9:06 AM, Chris Maness wrote: > On Fri, Apr 2, 2010 at 7:37 AM, John Doty <[1]...@noqsi.com> wrote: > > On Apr 2, 2010, at 8:20 AM, Chris Maness wrote: >> is there a utility for converting a regular _cleaned >> up_ (commands removed) spice netlist? > > I don't think so. I don't think any PCB users use LTSpice for > schematic capture: most apparently use gschem. And some use gschem > to capture schematics for LTSpice, see > [2]http://www.brorson.com/gEDA/SPICE/intro.html. > That said, it wouldn't be hard to do SPICE->pcb: maybe a page or two > of AWK or Perl. Most of the SPICE syntax problems can be ignored in > this narrow application. Why don't you write it and contribute it? > John Doty Noqsi Aerospace, Ltd. > [3]http://www.noqsi.com/ > [4]...@noqsi.com > > Yes, Perl is the right script language for the job, but I only know > bash. I foresee an issue with the pin numbers, as I don't think spice > netlists handles pin numbers in an analogues way, but I am not sure as > I am a spice n00b. SPICE has no understanding of pin numbers *at all*. Its abstractions are grounded in IC design where you have no pin numbers (at least internally). You'd have to provide a file mapping positional netlist connections to pin numbers. Another advantage of using a *flexible* schematic capture tool rather than a specialized one. In gschem you can specify both pin numbers (pinnumber= attribute) and pin position in a SPICE netlist (pinseq= attribute). > I really like LTSpice for schematic capture, it is very intuitive and > fast for me. Except that it's too specialized to be convenient for this job. > TinyCAD is kind of nice too, but LT's is very easy and > fast. Gschem does not seem to be in mac ports. I saw it listed as a > fink package, but I don't like fink at all. gEDA has excellent support under Fink, and it's also not too difficult to build from source on the Mac. I do a lot of gEDA work on my MacBook, especially on the road when I'm away from my Linux desktop machines. > I am running PCB under > wine (works great) because the mac ports version was buggy. I > installed gschem on FreeBSD server to play with it, but I like LTSpice > a little better at this point. gschem is extremely *flexible*. But that flexibility comes with a cost. I do schematic capture for simulation, printed circuit design, and VLSI design with gschem, using a variety of design flows, whatever the customer wants. But LTSpice is specialized for simulation, so it doesn't need the extra capabilities gschem has, and there are therefore fewer opportunities for confusion. > I like PCB better than all of the other PCB CAD packages out there. > Very powerful, and it does not have a real steep curve just to get up > and running. > Thanks, > Chris Maness > > References > > 1. mailto:j...@noqsi.com > 2. http://www.brorson.com/gEDA/SPICE/intro.html > 3. http://www.noqsi.com/ > 4. mailto:j...@noqsi.com > > > ___ > geda-user mailing list > geda-user@moria.seul.org > http://www.seul.org/cgi-bin/mailman/listinfo/geda-user John Doty Noqsi Aerospace, Ltd. http://www.noqsi.com/ j...@noqsi.com ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: PCB Netlist?
On Fri, Apr 2, 2010 at 7:37 AM, John Doty <[1]...@noqsi.com> wrote: On Apr 2, 2010, at 8:20 AM, Chris Maness wrote: > is there a utility for converting a regular _cleaned > up_ (commands removed) spice netlist? I don't think so. I don't think any PCB users use LTSpice for schematic capture: most apparently use gschem. And some use gschem to capture schematics for LTSpice, see [2]http://www.brorson.com/gEDA/SPICE/intro.html. That said, it wouldn't be hard to do SPICE->pcb: maybe a page or two of AWK or Perl. Most of the SPICE syntax problems can be ignored in this narrow application. Why don't you write it and contribute it? John Doty Noqsi Aerospace, Ltd. [3]http://www.noqsi.com/ [4]...@noqsi.com Yes, Perl is the right script language for the job, but I only know bash. I foresee an issue with the pin numbers, as I don't think spice netlists handles pin numbers in an analogues way, but I am not sure as I am a spice n00b. I really like LTSpice for schematic capture, it is very intuitive and fast for me. TinyCAD is kind of nice too, but LT's is very easy and fast. Gschem does not seem to be in mac ports. I saw it listed as a fink package, but I don't like fink at all. I am running PCB under wine (works great) because the mac ports version was buggy. I installed gschem on FreeBSD server to play with it, but I like LTSpice a little better at this point. I like PCB better than all of the other PCB CAD packages out there. Very powerful, and it does not have a real steep curve just to get up and running. Thanks, Chris Maness References 1. mailto:j...@noqsi.com 2. http://www.brorson.com/gEDA/SPICE/intro.html 3. http://www.noqsi.com/ 4. mailto:j...@noqsi.com ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: PCB Netlist?
On Apr 2, 2010, at 8:20 AM, Chris Maness wrote: > is there a utility for converting a regular _cleaned > up_ (commands removed) spice netlist? I don't think so. I don't think any PCB users use LTSpice for schematic capture: most apparently use gschem. And some use gschem to capture schematics for LTSpice, see http://www.brorson.com/gEDA/SPICE/intro.html. That said, it wouldn't be hard to do SPICE->pcb: maybe a page or two of AWK or Perl. Most of the SPICE syntax problems can be ignored in this narrow application. Why don't you write it and contribute it? John Doty Noqsi Aerospace, Ltd. http://www.noqsi.com/ j...@noqsi.com ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: PCB Netlist?
For example: unnamed_net15 R11-1 J4-4 U4-4 unnamed_net14 C8-2 U4-2 unnamed_net13 R10-1 U4-1 unnamed_net12 C3-2 PS1-26 unnamed_net11 C3-1 PS1-22 DC_GND C2-2 C1-1 U4-3 J4-3 PS1-14 AC_NEUTRAL C8-1 J5-2 PS1-3 unnamed_net10 J4-1 R6-1 unnamed_net9R7-2 TR1-3 AC_HEATER J5-3 TR1-1 AC_LINE R10-2 J5-1 PS1-1 TR1-2 U3-4 unnamed_net8R7-1 U3-3 unnamed_net7R6-2 U3-2 DC_PLUS J4-2 C1-2 C2-1 PS1-16 R11-2 U3-1 unnamed_net6J2-1 U1-3 unnamed_net5R9-2 LCD1-16 unnamed_net4R8-3 LCD1-3 D0 LCD1-7 U2-32 D1 LCD1-8 U2-31 D2 LCD1-9 U2-30 D3 LCD1-10 U2-29 D4 LCD1-11 U2-28 D5 LCD1-12 U2-27 D6 LCD1-13 U2-26 D7 LCD1-14 U2-25 T_CSU1-6 U2-24 T_SOU1-7 U2-23 unnamed_net3C7-2 R5-2 U2-22 HEATER J3-1 U2-21 P1_2R24-2 P1_2-1 U2-19 P1_3R25-2 P1_3-1 U2-18 P1_4R26-2 P1_4-1 U2-17 R/W LCD1-5 U2-16 RS LCD1-4 U2-15 P5_3R21-2 P5_3-1 U2-14 P5_4R22-2 P5_4-1 U2-13 P3_1R23-2 P3_1-1 U2-12 HZ J3-4 U2-11 ENABLE LCD1-6 U2-10 RXD1R3-1 J1-11 U2-9 MODER2-1 J1-7 U2-8 +5V J3-2 R8-2 R2-2 R1-2 C6-2 C5-2 C4-2 R4-2 R3-2 J1-8 R5-1 U1-4 LCD1-15 LCD1-2 U2-20 U2-7 unnamed_net2Y1-3 U2-6 GND R23-1 R22-1 R21-1 R26-1 R25-1 R24-1 J3-3 C7-1 R9-1 R8-1 C6-1 C5-1 C4-1 J1-4 J1-6 J1-10 J1-12 J1-2 J1-14 Y1-2 R5-3 J2-2 U1-2 U1-1 LCD1-1 U2-5 unnamed_net1Y1-1 U2-4 RESET R4-1 J1-13 U2-3 TXD1R1-1 J1-5 U2-2 T_SCK U1-5 U2-1 ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: PCB Netlist?
On Fri, Apr 2, 2010 at 7:13 AM, DJ Delorie <[1...@delorie.com> wrote: The netlist looks like: netname refdes-pin refdes-pin refdes-pin refdes-pin netname refdes-pin refdes-pin refdes-pin netname refdes-pin refdes-pin Sorry for what may be interpreted is a dumb question. What is a "refdes-pin," and is there a utility for converting a regular _cleaned up_ (commands removed) spice netlist? Regards, Chris Maness References 1. mailto:d...@delorie.com ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: PCB Netlist?
The netlist looks like: netname refdes-pin refdes-pin refdes-pin refdes-pin netname refdes-pin refdes-pin refdes-pin netname refdes-pin refdes-pin ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
gEDA-user: PCB Netlist?
What type of netlist does PCB seem to take? It does not seem to like 0's for a ground connection. I exported a very simple netlist from LTSpice to generate a simple rat's nest to play with, and it no worky. Thanks, Chris ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: [PCB] netlist corrupt??
Are routing traces with "new lines clears polygons" enabled? My guess (without seeing the board) is that you have a trace or piece of a trace underneath a pin or a pad. If there is a polygon near it may produce a short. (* jlc *) ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: [PCB] netlist corrupt??
Ok, I found the orange and fixed it. Thanks 2009/6/17 DJ Delorie <[1...@delorie.com> Shorts are caused by copper, not netlists. We'd have to see the pcb file to debug it. Did you see the orange on the pcb? That's how shorts are indicated. ___ geda-user mailing list [2]geda-u...@moria.seul.org [3]http://www.seul.org/cgi-bin/mailman/listinfo/geda-user References 1. mailto:d...@delorie.com 2. mailto:geda-user@moria.seul.org 3. 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
Re: gEDA-user: [PCB] netlist corrupt??
Shorts are caused by copper, not netlists. We'd have to see the pcb file to debug it. Did you see the orange on the pcb? That's how shorts are indicated. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
gEDA-user: [PCB] netlist corrupt??
Hi, I have found a disturbing problem/BUG in PCB. PCB gives me the following error message: Warning! Net "M2/SEG7" is shorted to net "V5V" Warning! net "V5V" is shorted to net "M2/SEG7" 214 rat lines remaining (copied from .net file) M2/SEG7 M2/T8-3 M2/LED7-6 M2/LED7-1 V5V D9-1 D8-1 R35-2 R34-2 R33-2 R29-2 R28-2 R27-2 M2/T8-2 M2/T7-2 M2/T6-2 M2/T5-2 M2/T4-2 M2/T3-2 M2/T2-2 M2/T1-2 M2/C28-2 M2/C29-2 M2/C27-2 M2/C26-2 M2/C24-2 M2/C25-2 M2/C23-2 M2/C30-2 M2/C22-2 \ M2/IC1-16 D10-1 X2-4 X1-4 R41-2 C15-2 M1/Con1-2 M1/R4-1 M1/U1-6 M1/U1-4 M1/C2-2 M1/C1-2 Both traces aren't route yet in pcb. They is really no connection between them. Not in the net file and not on the layout. How is this short between the traces possible? And how do I solve this problem? Hope you can help. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user