X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f X-Recipient: geda-help AT delorie DOT com 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:content-transfer-encoding; bh=oK69YfMKdt8sFEWhCaqhKIdhWyXfnp+E1dDo0Idx2H0=; b=CnYHe4rzzAvz4ERHwk0jEZsZBi3QYfLET0IGVorh2LEk/hjwpGYRsKggtcQOaqgcqK MmcP+piwzTLq6sf2l/lX1cYOkCEMcTZP3/bpKTT5HpLO0utjsKBzmrtBHq0tUFqn5DVJ 0bj+uzDqhpwAv2W8Eqn01FNT1MW3OtFyaPpDbQ2IoqH1Ft7py8CR6CGPtEkLP+MBf8Ll n7FEFM51IMlAaJKb86NSeg19sDgQ6ktlJgCM4EFNYFSa7CwxWHwHZCvtuP8goxQ5VZYH 0keFclXR+CmUE9vnLsf0tqLrNqS4eltdhzdF6qBdc5IyGyi5JT0oxXQGXsVdbXke0+9S NY3A== MIME-Version: 1.0 X-Received: by 10.107.130.30 with SMTP id e30mr1964182iod.87.1416163240975; Sun, 16 Nov 2014 10:40:40 -0800 (PST) In-Reply-To: References: Date: Sun, 16 Nov 2014 13:40:40 -0500 Message-ID: Subject: Re: [geda-help] Pinlabel Name Syntax From: vattan To: geda-help AT delorie DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id sAGIejgC028703 Reply-To: geda-help AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-help AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk I am very curious on this as well, the docs lack a concise section w/ rules etc so I always assume the worse, nothing fancier than letters and underscores for me. also the worst part of the "docs" spread all over the web, some are 6 years old and don't clearly state the fact, so thier info is woefully out of date! I am following this issue as I have never tried to use a subciruit but I am curious. Currently I just do multi-page dwgs and have a folder of good templates and consitent net naming On 11/16/14, Mike Bushroe wrote: > First off I would like the thank DJ for continuing to put up with headaches > or running a list like this and helping us non-experts get better. > > My main problem is that I usually use gschem, sch2pcb, and pcb once a year > and keep forgetting half of what I learned and must keep starting over > again from scratch, especially if there has been a major new release! > However this time I have been working on the *same* circuit for over a year > now, and I am still so far away from completion that I am going to start > all over again from a blank screen and not do any cut and pastes to try and > finally rid my inputs from the near infinite number of errors. But in the > process of spending much of the last month or two trying to puzzle out the > errors and the documentation and tutorials, and I think I have a few things > narrowed down to fairly specific questions. It may only be that my > Google-fu over that last few months of looking for 'gEDA', 'hierarchical' > and 'tutorial' have lead me to the wrong pages and someone can easily point > to me to which line on what webpage already answeredmwy question. Others > might warrant being added to future docs. I will split the questions into > one per thread to make discussion easier. I didn't read the list rules, but > they probably tell me to do it that way anway! > > First problem is trying to go from an oversized top level schematic page > to 3 essentially identical sub-schematics. I have seen in my reading where > it is possible to use a single sub-schematic to make multiple sub-sections > in the upper schematic, but I have had too much trouble even getting one > schematic+symbol per instance. The first problem that it has taken me a > month of running sch2pcb and trying to read the error log to make a guess > at and that is the label names. > > On document seemed to implying that you should make private netnames such > as 'sub1:6' on the symbol pins and the input and output symbols on the > sub-schematic. Another that the 'pinlabel' of the pin on the symbol show > match the 'refdes' of the input or output symbol on the sub-schematic. But > none of the them talked about the limits on what the 'labels' could be. > > I start with "-120V Negative Supply Rail", "5V Analog off Negative Supply > Rail", "Analog 2.V", etc. When I looked at the sch2pcb error log it talked > about not finding device v pin n in netlist, pin number begins with letter, > probably bad file format. It took me quite a while to connect the truncated > names in the error log with the long label names. I now know that you can > not have blank spaces in the label names. I *think* that periods are ok. I > am not as sure yet about plus and minus signs, leading numbers, etc. > > So my question is, where do I find the documentation on what the syntax > is for a valid pinlabel, refdes, device name, pin type, etc. Which > attributes are required to be 'machine readable'? I know that footprints > are file names ( with '.fp' being optional), but are there additional > limits besides what the local OS imposes? I also saw in the sch2pcb error > log that names were shortened. Is there a set character length to > pinlables? Device names? Footprint file names? > > If there are limits can we get them added to the FAQ? And maybe update some > of the tutorials that Google keeps pointing me to? > > Thanks in advance for the help. As I rebuild the circuit from scratch I am > going to switch to conservative names just in case. > > Mike > -- > "Creativity is intelligence having fun." — Albert Einstein >