Table of Contents

Name

DECLAR, GENPAT Package

Origin

This software belongs to the ALLIANCE CAD system from the CAO-VLSI team at ASIM/LIP6/UPMC laboratory.
LIP6/ASIM
University P. et M. Curie 4, place Jussieu 75252 PARIS Cedex 05 FRANCE
Fax : {33/0} 1.44.27.62.86
E-mail support : alliance-support@asim.lip6.fr

Synopsys

DECLAR("ident",":nb_space","format",mode,size);

Parameters

ident
External connector, internal observing points or register's name. For the hierarchical descriptions, the path-name of the internal observing points or registers must be specified by the syntax : instance1.instance11.name .

nb_space Specify the number of blank space between each group of value associated to the connectors, signals or registers in the output file. 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, signals or registers. X for Hexadecimal, O for Octal and B for Binary.
mode
Specify the type of the connectors. IN for Input, OUT for Output, INOUT for Input/Output, SIGNAL for internal observing point, REGISTER for register. IN, OUT, INOUT, SIGNAL, REGISTER are constants (defines) provided by genpat.
size
Specify the size of the bused connectors : empty ("") for the scalar connectors, nb1 for the numbered connectors, nb1 TO nb2 or (nb1 TO nb2) (nb1 < nb2), nb1 DOWNTO nb2 or (nb1 DOWNTO nb2) (nb2 < nb1) for the vectors. Where nb1 and nb2 are integer.

Description

Describes a set of connectors, signals or registers of the same format, size and mode.

Example

DECLAR("a", :2", X", OUT, 3 DOWNTO 0");

describes : a 3, a 2, a 1, a 0

format
: Hexadecimal.
mode
: Output.

the group is separated of the others with 2 blank spaces. result :
out a(3 downto 0) X ;;;

DECLAR ("toto", :", O", INOUT, 7 TO 11");

describes : toto 7, toto 8, toto 9, toto 10, toto 11.

format
: Octal.
mode
: Input/Output.

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.

the port is separated of the following with 2 blank spaces. result :
in ck ;;;

DECLAR ("accu.f", :", B", SIGNAL, ");

describes : accu.f .

format
: Binary.
mode
: Signal.

the signal is separated of the following with 0 blank space. result :
signal accu.f ;

DECLAR ("accu.reg", :1", B", REGISTER, (3)");

describes : accu.reg .

format
: Binary.
mode
: Register.

the signal is separated of the following with 1 blank space. result :
register accu.reg(3) ;;;;

See Also

ARRAY(3) , genpat(1) , pat(5)

Bug Report

This tool is under development at the ASIM/LIP6/UPMC laboratory, cao-vlsi research team.
We need your feedbak to improve documentation and tools. If you find bugs, please fill-in the form at http://asim.lip6.fr/alliance/support/bug-report/ Thanks for doing this.


Table of Contents

 



Alliance Web Site © 1997, 2002 ASIM/LIP6/UPMC, page maintained by Czo [Olivier Sirol] , last updated on 26 May 2000.