J
JimLewis
Guest
I have just released the packages we use for doing constrained random
verification with VHDL at
http://www.synthworks.com/downloads/index.htm
You will also find the slides from the webiniar I did with Aldec which
will give you ideas at how to apply them.
The package uses VHDL-2002 protected types and work with any simulator
that supports them. I have tested them with Active-HDL, Riviera, and
ModelSim.
There are places where the procedures need to be able to work with
variable sized sets of integer values. To do this I used an
unconstrained integer array input to the subprograms. Since there is a
type named integer_vector that does this in VHDL-2008, I decided to
leverage that. So for a short time, there will be two sets of packages
- one that references package ieee_proposed.standard_additions and
another that requires one to use the VHDL-2008 switch on your
compiler.
Cheers,
Jim
SynthWorks VHDL Training
verification with VHDL at
http://www.synthworks.com/downloads/index.htm
You will also find the slides from the webiniar I did with Aldec which
will give you ideas at how to apply them.
The package uses VHDL-2002 protected types and work with any simulator
that supports them. I have tested them with Active-HDL, Riviera, and
ModelSim.
There are places where the procedures need to be able to work with
variable sized sets of integer values. To do this I used an
unconstrained integer array input to the subprograms. Since there is a
type named integer_vector that does this in VHDL-2008, I decided to
leverage that. So for a short time, there will be two sets of packages
- one that references package ieee_proposed.standard_additions and
another that requires one to use the VHDL-2008 switch on your
compiler.
Cheers,
Jim
SynthWorks VHDL Training