A
antonio bergnoli
I'm looking for a good starting point to study vhdl 2002 (protected
types ...) . Does anyboby has any experences?
types ...) . Does anyboby has any experences?
I tried a few examples.I'm looking for a good starting point to study vhdl 2002 (protected
types ...) . Does anyboby has any experences?
antonio said: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,
john said:antonio bergnoli a écrit :
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.
Why do you need protected type for that ?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.
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.
john said:Robert Reutemann a écrit :
Why do you need protected type for that ?
Hash table and linked list do the job well.
antonio said:ok, but where could i study it?
Just to understand: what's prevent you from using only one process toBecause 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.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.