수색…


소개

이것은 VHDL에서 리터럴이라고 불리는 상수를 지정하는 방법을 가지고 있습니다.

숫자 리터럴

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

열거 형 리터럴

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


Modified text is an extract of the original Stack Overflow Documentation
아래 라이선스 CC BY-SA 3.0
와 제휴하지 않음 Stack Overflow