B
Brian Drummond
Guest
On Thu, 29 Jan 2009 10:46:01 -0800, Jim Lewis <jim@synthworks.com>
wrote:
(from GCC 4.3) a little. I think generic packages and subprograms will
add a lot; it would be a shame if they are vaguely similar but
annoyingly different to the same facilities in Ada...
It isn't just VHDL that's evolving, I like the look of the new
object-oriented features in Ada-2005, though I haven't had time to try
them yet.
- Brian
wrote:
Or perhaps get John Barnes "Programming in Ada 2005" and play with GnatAndy,
Interesting references to Ada; back in the 90's I took a couple of ada
training classes so that I could learn some "software" techniqes for
vhdl that are not generally taught in vhdl classes (at least the ones
I had taken). I learned general stuff about using types/subtypes
effectively, using scope to control access, applications of packages,
deferred constants (still not synthesizable?!), procedures/functions,
etc. The type-based genericity of ada was really nice; completely
different from what vhdl generics offer.
VHDL-2008 allows both type and subprograms to be generics.
It also adds generics to packages and subprograms. Hopefully
this gets us closer to the capability that you liked.
I probably need that Ada training class as I don't know how
similar what we have is to Ada.
(from GCC 4.3) a little. I think generic packages and subprograms will
add a lot; it would be a shame if they are vaguely similar but
annoyingly different to the same facilities in Ada...
It isn't just VHDL that's evolving, I like the look of the new
object-oriented features in Ada-2005, though I haven't had time to try
them yet.
- Brian