 
 
|  | 
You can use decimal, binary, octal, and hexadecimal numbers in any combination in AHDL. The syntax for each radix (numbering system) is shown below.
| Radix: | Values: | |
| Decimal | <series of digits 0to9> | |
| Binary | B"<series of0's,1's,X's>"(where X= "don't care") | |
| Octal | O"<series of digits0to7>"orQ"<series of digits0to7>" | |
| Hexadecimal | X"<series from0to9,AtoF>"orH"<series from0to9,AtoF>" | 
The following examples show valid AHDL numbers:
B"0110X1X10" Q"4671223" H"123AECF"
The following rules apply to AHDL numbers:
The Compiler always interprets numbers in Boolean Expressions as groups of binary digits; numbers in group ranges are interpreted as decimal values.
Numbers cannot be assigned to single nodes in Boolean equations. Use 
VCC and GND instead.
| - Altera - | 
| 
 | 
| Created by chm2web html help conversion utility. |