Recherche…


Introduction

Cela a pour but de spécifier des constantes, appelées littérales dans VHDL

Littéraux numériques

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

Littéral énuméré

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


Modified text is an extract of the original Stack Overflow Documentation
Sous licence CC BY-SA 3.0
Non affilié à Stack Overflow