delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/09/20/16:49:18

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Mime-Version: 1.0 (Apple Message framework v1084)
Subject: Re: [geda-user] Should uCtlr symbols have mutable attributes reflecting pinmux? Discuss.
From: Dave Curtis <davecurtis AT sonic DOT net>
In-Reply-To: <20130920144255.928688043C48@turkos.aspodata.se>
Date: Fri, 20 Sep 2013 08:51:41 -0700
Message-Id: <CE59DFB0-895D-46BA-95B7-8869BD044124@sonic.net>
References: <51E5B2AD DOT 1020402 AT sonic DOT net> <20130920144255 DOT 928688043C48 AT turkos DOT aspodata DOT se>
To: geda-user AT delorie DOT com
X-Mailer: Apple Mail (2.1084)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r8KKmU5p015553
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

On Sep 20, 2013, at 7:42 AM, Karl Hammar wrote:

> Dave Curtis, 16 Jul:
>> Modern microcontrollers typically have several functions that can be 
>> brought out to each pin, under control of some pin routing registers.   
>> Typically, I've used a pinlabel such as:
>> 
>> pinlabel=PD5 (PCINT21/OC0B/T1)
>> 
>> which shows the canonical GPIO name, plus other possible functions in 
>> parens afterwards.
>> 
>> A few days ago I was showing a friend (a KiCAD user) the output from the 
>> symbol generator that I am working on, and he asked if there was a way 
>> to make the pinlabel reflect the actual pin function as deployed in the 
>> application, and lose all the other stuff.
> ...
> 
> If you are writing a symbol generator, wouldn't the simplest solution
> be to make a new symbol.

If you go with per-project symbol libraries, perhaps.  But also, remember that pin functions can change through the life of a project as you move the pin assignments around to ease routing or software.

In the end, I think a reasonable symbol generator needs to support all three methodologies.  Tools should support the user's choice in methodology, not impose a methodology.

-dave

> 
> I'm doing something similar with my pintosym.pl script.
> See 
> 
> http://turkos.aspodata.se/git/openhw/pdftosym/examples.pintosym/
> 
> for examples.
> 
> Regards,
> /Karl Hammar
> 
> -----------------------------------------------------------------------
> Aspö Data
> Lilla Aspö 148
> S-742 94 Östhammar
> Sweden
> +46 173 140 57
> 
> 


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019