Forum Discussion
Altera_Forum
Honored Contributor
16 years ago1 ENTITY and several ARCHITECTURES
I have a question. If I have one entity and several architectures, which are relating to this entity how can I understand which architecture will be used?
3 Replies
- Altera_Forum
Honored Contributor
Thank you very much for your help
- Altera_Forum
Honored Contributor
When you instantiate the entity, you also specify which behavioral architecture should be used:
instantiation_label : entity entity_label(architecture_identifier) port map (...) - Altera_Forum
Honored Contributor
It depends on the "configuration".
The VHDL "configuration" keyword allows you to select which architecture is used by which entity. One other possibility is at instantiation, instead of just using the entity name, use entityname.architchecturename