Which of the following is correct syntax for defining a configuration?

Which of the following is correct syntax for defining a configuration?
A.
Code:
    FOR instantation_label : component_name
    USE ENTITY library_name.entity_name[(architecture_name)];
B.
Code:
    FOR instantation_label : component_name
    USE ENTITY entity_name[(architecture_name)];
C.
Code:
    FOR component_name : instantiation_label
    USE ENTITY library_name.entity_name[(architecture_name)];
D.
Code:
    FOR component_name : instantiation_label
    USE ENTITY entity_name[(architecture_name)];
 
Answer: a
Explanation: The configuration can be directly defined by using a FOR statement in which the label where the component is instantiated is written first and then the name of component is written. Then a USE clause followed by the name of library in which entity is present to which the component is to be linked. After which the architecture name is written which should be used.
 

Tìm kiếm

Back
Top