vhdl_reference_93:abstract_literals

Abstract literals

  • decimal_literal
  • based_literal
integer [ . integer ] [ exponent ]
base # based_integer [ . based_integer ] # [ exponent ]
  • integer
extended_digit { [ underline ] extended_digit }
  • digit
  • letter
E [ + ] integer
E -integer
digit { [ underline ] digit }
  • For integer_literals the exponent must not be negative.
  • High-order zeros are permitted.
  • `Space` is not permitted as `space` is a delimiter.
  • _ only serves to improve readability and does not influence the value.
  • permitted base-statements: 2,..,16

Integer-figures

12     0     1E6     123_456

Real-figures

12.0      0.0     0.4556     3.14159_26

Real-figures with an exponent

1.34E-12     1.0E+6     6.023E+24

Integer-figures of the value 255

2#1111_1111#     16#FF#     016#0FF#

Integer-figures of the value 224

16#E#E1     2#1110_0000#

Real-figures of the value 4095.0 (32 bit IEEE-floating point format)

16#F.FF#E+2     2#1.1111_1111_111#E11