Buscar..


Introducción

Esto tiene como especificar constantes, llamadas literales en VHDL.

Literales numericos

   16#A8# -- hex
   2#100# -- binary
   2#1000_1001_1111_0000 -- long number, adding (optional) _ (one or more) for readability
   1234 -- decimal

Literal enumerado

type state_t is (START, READING, WRITING); -- user-defined enumerated type


Modified text is an extract of the original Stack Overflow Documentation
Licenciado bajo CC BY-SA 3.0
No afiliado a Stack Overflow