AHDL

Numbers in AHDL



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 0 to 9>
Binary   B"<series of 0's, 1's, X's>"
(where X = "don't care")
Octal   O"<series of digits 0 to 7>" or
Q"<series of digits 0 to 7>"
Hexadecimal   X"<series from 0 to 9, A to F>" or
H"<series from 0 to 9, A to F>"

 

The following examples show valid AHDL numbers:

B"0110X1X10"
Q"4671223" 
H"123AECF"

The following rules apply to AHDL numbers:


Back to Top

- Altera -

 

Created by chm2web html help conversion utility.