SIGNAL(3)

NAME

signal, GENPAT Package

SYNOPSYS

signal("ident","ident", ... ,":nb_space","format","size",0);

PARAMETERS

ident
    internal signal's name, the number of character is limited to 20

nb_space
    Specify the number of blank space between each group of value. 0,1,2,3,4,5,6,7,8,9 or nothing.

format
    Specify the format that will be used to represent the value associated to the connectors. X for Hexadecimal, O for Octal and B for Binary.

size
    Specify the size of the bused connectors. ' ' : empty, (the chain is empty and the " are omitted) for the scalar connectors, nb1 for the numbered connectors, nb1 TO nb2 (nb1 < nb2, nb1 and nb2 integers), nb1 DOWNTO nb2 (nb2 < nb1).

DESCRIPTION

Describes a set of internal signals of the same format and size.

EXAMPLE

signal("a","b","c","d",":2","X","3 DOWNTO 0",0);
describes : a 3, a 2, a 1, a 0, b 3, b 2, b 1, b 0,
	    c 3, c 2, c 1, c 0, d 3, d 2, d 1, d 0.
format : Hexadecimal.
each group is separated of the others with 2 blank spaces.
signal("toto",":","O","7 TO 11",0);
describes : toto 7, toto 8, toto 9, toto 10, toto 11.
format : Octal.
the group is separated of the following with 0 blank space.
signal("ck",":2","B",0);
describes : ck.
format : Binary.
the signal is separated of the following with 2 blank spaces.

SEE ALSO

port(3), register(3), genpat(1), pat(1)