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

Reply

VHDL - good vhdl 2002 book or website

 
Thread Tools Search this Thread
Old 07-09-2006, 12:51 PM   #1
Default good vhdl 2002 book or website


I'm looking for a good starting point to study vhdl 2002 (protected
types ...) . Does anyboby has any experences?


antonio bergnoli
  Reply With Quote
Old 07-10-2006, 02:35 PM   #2
john Doef
 
Posts: n/a
Default Re: good vhdl 2002 book or website


antonio bergnoli a écrit :

> I'm looking for a good starting point to study vhdl 2002 (protected
> types ...) . Does anyboby has any experences?

I tried a few examples.

Given that protected types won't be supported by synthetizer, this new
feature is almost useless.
Very very few people use or like shared variables too.
IMHO this is a feature to be forgotten.

The other vhdl 2002 features are transparent for users: the improved
default binding rule was
already present in most tool.

JD.

  Reply With Quote
Old 07-10-2006, 05:40 PM   #3
reuven
 
Posts: n/a
Default Re: good vhdl 2002 book or website


antonio bergnoli wrote:
> I'm looking for a good starting point to study vhdl 2002 (protected
> types ...) . Does anyboby has any experences?


Keep investigating protected types. While shared variables are not used
in synthesis, they are very useful in testbenches and in modeling
abstract data types like linked lists. Linked lists can be used to
model non-synthesisizable "sparse memories" and FIFO's.

regards,

  Reply With Quote
Old 07-11-2006, 08:26 AM   #4
antonio bergnoli
 
Posts: n/a
Default Re: good vhdl 2002 book or website

reuven ha scritto:
> antonio bergnoli wrote:
>> I'm looking for a good starting point to study vhdl 2002 (protected
>> types ...) . Does anyboby has any experences?

>
> Keep investigating protected types. While shared variables are not used
> in synthesis, they are very useful in testbenches and in modeling
> abstract data types like linked lists. Linked lists can be used to
> model non-synthesisizable "sparse memories" and FIFO's.
>
> regards,
>


ok, but where could i study it?
  Reply With Quote
Old 07-11-2006, 09:19 AM   #5
Robert Reutemann
 
Posts: n/a
Default Re: good vhdl 2002 book or website

john Doef wrote:
> antonio bergnoli a écrit :
>
>> I'm looking for a good starting point to study vhdl 2002 (protected
>> types ...) . Does anyboby has any experences?


Modelling the core of a memory with those types is a
'5-minute-exercise' (you just nead read and write access
functions to an array).

The current edition of Ashenden's Designer's Guide has
enough info on this to use it.

> I tried a few examples.
>
> Given that protected types won't be supported by synthetizer, this new
> feature is almost useless.
> Very very few people use or like shared variables too.
> IMHO this is a feature to be forgotten.


Not quite, in my opinion. For modelling large memories and similar
things, the protected types provide a "natural", simple, straightforward
approach. For verification and high-level modelling, such
features are urgently needed, if VHDL is to be used there.

VHDL has many other constructs which are (sometimes just due
to arbitrary limitations of the tools) not synthesizeable, but
are valuable nevertheless.

> The other vhdl 2002 features are transparent for users: the improved
> default binding rule was
> already present in most tool.
>
> JD.
>


Robert
  Reply With Quote
Old 07-11-2006, 11:47 AM   #6
john Doef
 
Posts: n/a
Default Re: good vhdl 2002 book or website


Robert Reutemann a écrit :

> john Doef wrote:
> > antonio bergnoli a écrit :
> >
> >> I'm looking for a good starting point to study vhdl 2002 (protected
> >> types ...) . Does anyboby has any experences?

>
> Modelling the core of a memory with those types is a
> '5-minute-exercise' (you just nead read and write access
> functions to an array).
>
> The current edition of Ashenden's Designer's Guide has
> enough info on this to use it.
>
> > I tried a few examples.
> >
> > Given that protected types won't be supported by synthetizer, this new
> > feature is almost useless.
> > Very very few people use or like shared variables too.
> > IMHO this is a feature to be forgotten.

>
> Not quite, in my opinion. For modelling large memories and similar
> things, the protected types provide a "natural", simple, straightforward
> approach. For verification and high-level modelling, such
> features are urgently needed, if VHDL is to be used there.

Why do you need protected type for that ?
Hash table and linked list do the job well.

JD.

  Reply With Quote
Old 07-11-2006, 04:35 PM   #7
Robert Reutemann
 
Posts: n/a
Default Re: good vhdl 2002 book or website

john Doef wrote:
> Robert Reutemann a écrit :
>
>> john Doef wrote:
>>> antonio bergnoli a écrit :
>>>
>>>> I'm looking for a good starting point to study vhdl 2002 (protected
>>>> types ...) . Does anyboby has any experences?

>> Modelling the core of a memory with those types is a
>> '5-minute-exercise' (you just nead read and write access
>> functions to an array).
>>
>> The current edition of Ashenden's Designer's Guide has
>> enough info on this to use it.
>>
>>> I tried a few examples.
>>>
>>> Given that protected types won't be supported by synthetizer, this new
>>> feature is almost useless.
>>> Very very few people use or like shared variables too.
>>> IMHO this is a feature to be forgotten.

>>
>> Not quite, in my opinion. For modelling large memories and similar
>> things, the protected types provide a "natural", simple, straightforward
>> approach. For verification and high-level modelling, such
>> features are urgently needed, if VHDL is to be used there.

>
> Why do you need protected type for that ?
> Hash table and linked list do the job well.
>


Because at least sometimes I want to have multiple
processes accesing the array (e.g. separate read/write, ...),
and I want to use a variable to avoid the overhead,
so I need a shared variable, and protected types provide
a clean way to access those from multiple processes without
having to explicitly care about possible conflicts.

Certainly not *the* solution in all cases, but one nice
solution in some cases, which is reason enough for me.

Robert
  Reply With Quote
Old 07-11-2006, 06:05 PM   #8
Mike Treseler
 
Posts: n/a
Default Re: good vhdl 2002 book or website

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

antonio bergnoli wrote:

> ok, but where could i study it?


http://users.aol.com/hdlfaq/vhdl2001-foils.pdf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFEs9pt536xjD3WmocRAsi5AJ9+C7Wnr0k7dxLfJiS3vZ zcgEwTYACfcvAu
tDvW75NqpNxRhAcTMsD9juY=
=lnmM
-----END PGP SIGNATURE-----
  Reply With Quote
Old 07-13-2006, 08:19 AM   #9
john Doef
 
Posts: n/a
Default Re: good vhdl 2002 book or website


Robert Reutemann a écrit :
[...]
> > Why do you need protected type for that ?
> > Hash table and linked list do the job well.
> >

>
> Because at least sometimes I want to have multiple
> processes accesing the array (e.g. separate read/write, ...),
> and I want to use a variable to avoid the overhead,
> so I need a shared variable, and protected types provide
> a clean way to access those from multiple processes without
> having to explicitly care about possible conflicts.

Just to understand: what's prevent you from using only one process to
do multiple accesses ?

> Certainly not *the* solution in all cases, but one nice
> solution in some cases, which is reason enough for me.
>
> Robert


  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
Forum Jump