On Wed, 2009-06-03 at 17:10 +0200, Sasa Vilic wrote:
> Is it possible in EMC to write HAL components which is composed of more
> basic components like and, not, or, etc.? For example: I want to write one
> component which has input and output pins, and inside of this component I
> use existing HAL components, to implement functionality. This component can
> be seen as a "Black-Box" and can be used easily again, without writing all
> it's internal structure in config files.
> 
> I was looking at THC design, and I think that this could be devided in
> (sub)components, but I don't know if that is supported by EMC. If it's not,
> it would be nice to have that, because writing some HAL configuration (like
> THC) would be much much easier.

This may be above my pay scale (seems to be a current buzz phrase), but
I think having a way to automatically create a .hal file and update the
corresponding .ini file is what you might need. I suppose Stepconf does
something like this. This assumes that you don't really need to place
comp's inside of comp's, but that you provide enough pins to let a .hal
file connect them. You would create the custom comp's then have a comp
"auto-router" that scans the existing .ini and .hal files, creates a new
supplemental .hal file that links the new comp's and the
existing .hal's. Then adds the new .hal to the .ini. The auto-router
would use a script that describes the structure of your super- or parent
comp (black-box?).

Am I getting close or should I go back to taking my meds?

I wonder if the Eagle comp application would have something to offer?
-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to