radix Definition
The base of a system of numbers. Group logic level and numerical values are entered and displayed in binary, signed decimal, unsigned decimal, hexadecimal, or octal radix in the Quartus® Prime software. The following data ranges apply to radix definitions.
Radix |
Syntax for Data Radix and Address Radix in a Memory Initialization File |
Data Ranges (width = N) |
Data Range Example (width = 4) |
---|---|---|---|
Binary (0 and 1) |
BIN |
0 to 2 N - 1 |
0 to 1111 |
Unsigned decimal (0 to 9) |
UNS |
0 to 2 N - 1 |
0 to 15 |
Signed decimal (-9 to 9) |
DEC |
-2 N - 1 to 2 N - 1 - 1 |
-8 to 7 |
Octal (0 to 7) |
OCT |
0 to 2 N - 1 |
0 to 17 |
Hexadecimal (0 to F) |
HEX |
0 to 2 N - 1 |
0 to F |
The data range for signed decimals (DEC) is -2 N to 2 N "“ 1 for Memory Initialization Files in the Quartus® Prime software.