Am 06.11.2013 um 11:44 schrieb andy pugh <[email protected]>:

> On 6 November 2013 10:38, Michael Haberler <[email protected]> wrote:
> 
>> the key problem I see with this idea is: one cannot determine the pin 
>> direction just because the pin is named in a net statement; there might be 
>> several net commands to link more pins to the same signal and one would have 
>> to look at the complete set
> 
> Aren't the pins still created at some point by the end-point code, at
> which point their direction is explicit?

well yes; derived from the UI widget type would be the most common case.

one would have to stash away all net commands referring to not-yet-defined pins 
and execute those only after the underlying component is bound since only then 
direction is unambiguous.

not sure this is worth the complexity, and if there arent any unforeseen holes 
in the scheme. It wont autocorrect pin names you, too.

what's the general opinion on this?

One related feature I thought of was: you'd start a UI with a flag, and it 
would dump the remote configuration with pro-forma newcomp, newpin etc 
statements on output. You could save that in a .hal file and include it in the 
HAL startup sequence, giving a matching pro-forma definition minus typos. And 
you fiddle the UI, HALcmd startup will tell you if you made a mistake, for 
instance a undeclared pin.


-m


> -- 
> atp
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
> 
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models. Explore
> techniques for threading, error checking, porting, and tuning. Get the most 
> from the latest Intel processors and coprocessors. See abstracts and register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to