Which of the following describes the structure of VHDL code correctly?

Phương Quyên

New member
Which of the following describes the structure of VHDL code correctly?
A. Library Declaration; Entity Declaration; Architecture Declaration; Configurations
B. Entity Declaration; Configuration; Library Declaration; Architecture Declaration
C. Configuration; Library Declaration; Entity Declaration; Architecture Declaration
D. Library Declaration; Configuration; Entity Declaration; Architecture Declaration
 
Answer: a
Explanation: In any VHDL code, first of all, we have to define libraries and packages we want to use. After Library Declaration part, Entities are declared. When Entities are created, then only we can describe its architecture. Last part in any VHDL code is Configuration.
 

Tìm kiếm

Back
Top