|
NAMEARRAY, GENPAT Package See the file man1/alc_origin.1. SYNOPSISARRAY ("ident", "ident", ..., ":nb_space", "format", type, option, "ident_group", 0);
PARAMETERS
DESCRIPTIONCreate a virtual vector with signals of the same type and format. The signals may be either Inputs, Outputs, Inputs/Outputs, Registers or Internal Signals. A vector to be aggregate is to be declared bit per bit (it will appear as a vector in the output file). Outputs, Signals and Registers can be redeclared in a virtual vector. Inputs and Inputs/Outputs CANNOT be redeclared. EXAMPLESARRAY ("cout", "s 9", "s 8", "s 7", ":2", "B", OUT, "S", "Y", 0);
format : Binary.
type : Output connector.
option : spied connector.
each group is separated of the others with 2 blank spaces.
result : out Y ( cout, s (9 downto 7) ) B spy ;;;
ARRAY ("regt", "reg 9", ":2", "B", REGISTER, "", "Y", 0);
format : Binary.
type : Register.
option : none.
each group is separated of the others with 2 blank spaces.
result : register Y ( regt, reg (9 downto 9) ) B;;;
WARNINGThe ARRAY function from the 4.0 release have a new parameter (option). SEE ALSODECLAR(3), genpat(1), pat(5) DIAGNOSTICSYou are dealing with a variable number of parameters fonction. If you forget one or more parameter, you will have one of the following results : Nothing bad happen, but your result file is erroneous.
You are asked for more parameter. You crash the program and produce a Segmentation Fault. In all cases, check your C file for missing parameter. See the file man1/alc_bug_report.1.
|