Numbers
Negative numbers - specified by putting a minus sign before the <size>
- Legal: -8¡¯d3 = 8-bit negative number stored as 2¡¯s complement of 3
- Illegal: 4¡¯d-2 = ERROR!!
Special Number Characters:
- ¡®_¡¯ (underscore): used for readability
- Example: 32¡¯h21_65_bc_fe = 32-bit hexadecimal number
- ¡®x¡¯ or ¡®X¡¯ (unknown value)
- Example: 12¡¯h12x = 12-bit hexadecimal number; LSBs unknown
- ¡®z¡¯ or ¡®Z¡¯ (high impedance value)
- Example: 1¡¯bz = 1-bit high impedance number