contents.gifindex.gif

Declarations Keyword

Syntax

DECLARATIONS
declarations

Use

A declaration is any valid declaration given after the Declarations keyword. Declarations can be declared in any part of the ABEL-HDL source file.

Example

module andor

A,B pin 1,2; "declarations keyword implied
Out1 pin 15 istype 'com';

Equations
Out1 = A & B;

Declarations "declarations keyword required
C,D,E,F pin 3,4,5,6;
Out2 pin 16 istype 'com';
Temp1 = C & D;
Temp2 = E & F;

Equations
Out2 = Temp1 # Temp2;

end;