![]() |
![]()
| ![]() |
![]()
NAMEDECLAR, GENPAT Package See the file man1/alc_origin.1. SYNOPSISDECLAR("ident",":nb_space","format",mode,size,option); PARAMETERS
DESCRIPTIONDescribes a set of connectors, signals or registers of the same format, size and mode. EXAMPLEDECLAR("a", ":2", "X", OUT, "3 DOWNTO 0", "S"); describes : a 3, a 2, a 1, a 0 format : Hexadecimal. mode : Output. option : Spied connector. the group is separated of the others with 2 blank spaces. result : out a(3 downto 0) X spy ;;; DECLAR ("toto", ":", "O", INOUT, "7 TO 11", ""); describes : toto 7, toto 8, toto 9, toto 10, toto 11. format : Octal. mode : Input/Output. option : none. the group is separated of the following with 0 blank space. result : inout toto(7 to 11) O ; DECLAR ("ck", ":2", "B", IN, "", ""); describes : ck. format : Binary. mode : Input. option : none. the port is separated of the following with 2 blank spaces. result : in ck ;;; DECLAR ("accu.f", ":", "B", SIGNAL, "", "S"); describes : accu.f . format : Binary. mode : Signal. option : Spied connector. the signal is separated of the following with 0 blank space. result : signal accu.f spy ; DECLAR ("accu.reg", ":1", "B", REGISTER, "(3)", ""); describes : accu.reg . format : Binary. mode : Register. option : none. the signal is separated of the following with 1 blank space. result : register accu.reg(3) ;;;; WARNINGThe DECLAR function from the 4.0 release have a new parameter (option). SEE ALSOARRAY(3), genpat(1), pat(5) See the file man1/alc_bug_report.1.
|