G
Grant Robertson
I am a student in a 100 level course on digital logic design using VHDL.
I do not expect to do much VHDL programming after this course. But there
is one thing I can't figure out and it is driving me nuts. I have Googled
till I am blue in the face. There are lots of references to "Architecture
Identifier" but I can't find anything that actually says what the
identifier of an Architecture block is for and how I should use it.
Why does an Architecture declaration have an identifier at all? You
already list the Entity Name in the same line. Why do you need yet
another name for the same thing? Where else is this identifier used? For
simple projects does it matter at all?
I have learned that a single Entity may have more than one Architecture
declared for it. Is this identifier just to differentiate between all of
the different Architectures that may have been declared for a particular
Entity? If so, do the Architecture identifiers need to be unique for the
entire project or just for each Entity? In other words, could I have an
entity named "ANDgate" with an Architecture named "behav" and an entity
named "ORgate" with an Architecture named "behav" and still have things
work fine? Or would I need to name the Architectures "ANDbehave" and
"ORbehave" respectively?
Thanks for any help.
I do not expect to do much VHDL programming after this course. But there
is one thing I can't figure out and it is driving me nuts. I have Googled
till I am blue in the face. There are lots of references to "Architecture
Identifier" but I can't find anything that actually says what the
identifier of an Architecture block is for and how I should use it.
Why does an Architecture declaration have an identifier at all? You
already list the Entity Name in the same line. Why do you need yet
another name for the same thing? Where else is this identifier used? For
simple projects does it matter at all?
I have learned that a single Entity may have more than one Architecture
declared for it. Is this identifier just to differentiate between all of
the different Architectures that may have been declared for a particular
Entity? If so, do the Architecture identifiers need to be unique for the
entire project or just for each Entity? In other words, could I have an
entity named "ANDgate" with an Architecture named "behav" and an entity
named "ORgate" with an Architecture named "behav" and still have things
work fine? Or would I need to name the Architectures "ANDbehave" and
"ORbehave" respectively?
Thanks for any help.