Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - What is the purpose of an Architecture Identifier?

 
Thread Tools Search this Thread
Old 10-28-2006, 11:22 PM   #1
Default What is the purpose of an Architecture Identifier?


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.


Grant Robertson
  Reply With Quote
Old 10-28-2006, 11:55 PM   #2
Andy Ray
 
Posts: n/a
Default Re: What is the purpose of an Architecture Identifier?
Grant Robertson wrote:

> 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?



Yes.

The point is you can have multiple architectures, lets say "behav",
"rtl" and "structural", per entity. Have a look at configuration
statements to see how you can select which specific architecture you
want to use.

Cheers,

Andy


Andy Ray
  Reply With Quote
Old 10-29-2006, 07:20 AM   #3
David R Brooks
 
Posts: n/a
Default Re: What is the purpose of an Architecture Identifier?
Andy Ray wrote:
> Grant Robertson wrote:
>
>> 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?

>
>
> Yes.
>
> The point is you can have multiple architectures, lets say "behav",
> "rtl" and "structural", per entity. Have a look at configuration
> statements to see how you can select which specific architecture you
> want to use.
>

The point of this being, that I could write a "behav" architecture,
without regard to it being synthesisable, & satisfy myself (& possibly
my customer) that it meets the requirements. Then I write a "rtl"
version, and test the two against each other. The rtl needs to be
synthesisable.
The synthesiser, in turn, outputs a "structural" version, which can be
tested against the others.


David R Brooks
  Reply With Quote
Old 10-29-2006, 01:09 PM   #4
Brian Drummond
 
Posts: n/a
Default Re: What is the purpose of an Architecture Identifier?
On Sat, 28 Oct 2006 22:55:32 GMT, Andy Ray <>
wrote:

>Grant Robertson wrote:
>
>> 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?

>
>
>Yes.
>
>The point is you can have multiple architectures, lets say "behav",
>"rtl" and "structural", per entity. Have a look at configuration
>statements to see how you can select which specific architecture you
>want to use.


One use for this is to speed simulation of a component in a system - you
can use the "behav" architectures of the other components for faster
simulation, but the "rtl" or "structural" architectures of the devuce
under test.

Another is to use vendor-specific components in a portable design - if
you have architectures "xilinx", "altera" and "generic" for e.g. a
multiplier, you can take advantage of architecture specific features
without (too badly) compromising portability.

- Brian




Brian Drummond
  Reply With Quote
Old 10-29-2006, 07:00 PM   #5
TigerJade
 
Posts: n/a
Default Re: What is the purpose of an Architecture Identifier?
I guess you still need to simulate the "slow" ones, otherwise you
cannot verify if the "slow" ones are functionally correct.

Brian Drummond wrote:
> On Sat, 28 Oct 2006 22:55:32 GMT, Andy Ray <>
> wrote:
>
> >Grant Robertson wrote:
> >
> >> 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?

> >
> >
> >Yes.
> >
> >The point is you can have multiple architectures, lets say "behav",
> >"rtl" and "structural", per entity. Have a look at configuration
> >statements to see how you can select which specific architecture you
> >want to use.

>
> One use for this is to speed simulation of a component in a system - you
> can use the "behav" architectures of the other components for faster
> simulation, but the "rtl" or "structural" architectures of the devuce
> under test.
>
> Another is to use vendor-specific components in a portable design - if
> you have architectures "xilinx", "altera" and "generic" for e.g. a
> multiplier, you can take advantage of architecture specific features
> without (too badly) compromising portability.
>
> - Brian




TigerJade
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
error C3861: 'FindFirstVolumeW': identifier not found rinka_s Software 0 04-29-2007 05:58 AM
Inside AMD64 Architecture Silverstrand Front Page News 0 05-17-2006 01:38 PM
benefit or purpose of a playlist MauiJNP DVD Video 2 01-04-2005 07:26 PM
Re: The purpose of dvd region coding? Shouse DVD Video 1 09-02-2003 05:47 PM
Re: The purpose of dvd region coding? tim gueguen DVD Video 3 09-01-2003 11:55 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46