Sök…


Introduktion

På så sätt kan du ange konstanter, kallade bokstavliga i VHDL

Numeriska bokstäver

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

Uppräknade bokstavliga

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


Modified text is an extract of the original Stack Overflow Documentation
Licensierat under CC BY-SA 3.0
Inte anslutet till Stack Overflow