I have written 'anonymous net' support in branch jepler/anonymous-net
Here's how I describe the new functionality:
halcmd: allow net command to create anonymous nets
Anonymous nets are named 'n$0', 'n$1', and so forth.
This usage is not ambiguous, because until now it was an error
if the first argument of net had the same name as a signal.
However, any hal file that explicitly uses signals with names starting
'n$' will need to be rewritten to use a different prefix before it
can use anonymous nets.
Here's a session using it:
halcmd: loadrt and2 count=2
halcmd: net and2.0.out and2.1.in1
halcmd: net and2.1.out and2.0.in1
halcmd: loadusr -w halcmd net and2.0.in0 and2.1.in0
halcmd: show sig
Signals:
Type Value Name (linked to)
bit FALSE n$0
<== and2.0.out
==> and2.1.in1
bit FALSE n$1
==> and2.0.in1
<== and2.1.out
bit FALSE n$2
==> and2.0.in0
==> and2.1.in0
This is not ready to be integrated to master. At a minimum, this needs doc
work in the halcmd man page to describe the new functionality of the 'net'
command.
Jeff
------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users