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

Reply

VHDL - RFC: VHDL testbench enhancements

 
Thread Tools Search this Thread
Old 04-03-2007, 05:10 PM   #1
Default RFC: VHDL testbench enhancements


Hi,
Let me try this again.

The VHDL standards community has been considering whether
to enhance VHDL to add advanced testbench features.

If you are a VHDL user,
Do you want these features added to VHDL?
Would you rather adopt a verification language that
already supports these (SystemVerilog, SystemC, E, Vera).

I think VHDL needs these features to stay competitive.

The current plan in the VHDL working group is to make
these features similar to other verification languages
while at the same time keeping the nature of VHDL.

We need your to voice your support. You can post here,
send your reply to me (let me know if I can use either
your name and/or company name when I tally the results
for the Accellera VHDL TSC), or join the Accellera VHDL
TSC (which you can do as a non-Accellera member by
registering) and post your reply there.

More on the politics of the situation are below.

Thanks,
Jim Lewis
VHDL Evangelist
SynthWorks VHDL Training



P.S.
One of the simulator vendors has indicated that will
only implement new features if the user community
demands them. Business wise, this makes sense - you
don't build something unless someone will buy it.

If you fail to voice your support, they may be able to
successfully block these proposals from going forward.

If we let this opportunity to add these features to the
standard pass, I do not think we will have to opportunity
to add them later - hence you will be stuck with using
some other language for advanced verification features.

This work is work in progress and below is the current status.
Keep in mind too that your interest/support of this work will
help raise the focus and inspiration of those doing the work.

Classes / OO:
Classes are useful for creating verification data structures,
transaction communication, and grouping for transaction based
randomization (building relationships between separate data
items). Many of the data structures (such as scoreboards,
memories, and linked structures) can already be created, however,
classes give you the ability to hide all pointer manipulations.
For example, using a memory would require a declaration with
initialization of the memory data structure, then MemWrite and
MemRead would allow a user to store and retrieve items from the
data structure. Pointers and allocation of the sparse data
structure are handled by MemWrite and MemRead and the
user would not need to be aware of it.
Status:
Peter Ashenden submitted a class proposal last year and
provided updates to it this year at DVCon. Currently
he plans on finishing an updated draft soon.

Randomization:
Randomization is useful for designs that have numerous configurable
features. Testing features individually in an isolated manner is
typically straightforward. However, testing how these features
interact can be a large verification space – one that may not be able
to be simulated completely. It is also may be difficult to predict
all of the corner cases. Randomization has been used to sequence a
test in a non-deterministic way to get reasonably good coverage of
this verification space.
While I do not share the thought that randomization should be
adapted to work for all verification problems, I do believe it
to be a valuable technique for some problems.

I wrote a draft of the randomization proposal and it is ready
for review.

Functional Coverage:
Tool/structural coverage can tell you that you did a FIFO
read or that the the FIFO went empty, but it can't tell
you that you did a read while the FIFO was empty.

Functional coverage constructs allow you to track this.
Some functional coverage capability will come from assertions
(since PSL has been integrated into VHDL). Additional constructs
will be added to allow data binning (coverage groups) and
correlation between different coverage items (cross coverage).

I have started working on this - anyone else who is interested
is welcome to contribute as much as they would like.


With a focused effort, like the one to finish the Accellera 3.0
draft of the standard, I think we can be done with these by
September.

Although some have expressed doubt, it is clear that vendors
will do what their user community asks them to do - otherwise,
someone else will and, as a result, will earn your business.


Jim



Jim Lewis
  Reply With Quote
Old 04-03-2007, 07:16 PM   #2
Andy
 
Posts: n/a
Default Re: RFC: VHDL testbench enhancements
On Apr 3, 11:10 am, Jim Lewis <j...@synthworks.com> wrote:
> Hi,
> Let me try this again.
>
> The VHDL standards community has been considering whether
> to enhance VHDL to add advanced testbench features.
>
> If you are a VHDL user,
> Do you want these features added to VHDL?
> Would you rather adopt a verification language that
> already supports these (SystemVerilog, SystemC, E, Vera).
>
> I think VHDL needs these features to stay competitive.
>
> The current plan in the VHDL working group is to make
> these features similar to other verification languages
> while at the same time keeping the nature of VHDL.
>
> We need your to voice your support. You can post here,
> send your reply to me (let me know if I can use either
> your name and/or company name when I tally the results
> for the Accellera VHDL TSC), or join the Accellera VHDL
> TSC (which you can do as a non-Accellera member by
> registering) and post your reply there.
>
> More on the politics of the situation are below.
>
> Thanks,
> Jim Lewis
> VHDL Evangelist
> SynthWorks VHDL Training
>
> P.S.
> One of the simulator vendors has indicated that will
> only implement new features if the user community
> demands them. Business wise, this makes sense - you
> don't build something unless someone will buy it.
>
> If you fail to voice your support, they may be able to
> successfully block these proposals from going forward.
>
> If we let this opportunity to add these features to the
> standard pass, I do not think we will have to opportunity
> to add them later - hence you will be stuck with using
> some other language for advanced verification features.
>
> This work is work in progress and below is the current status.
> Keep in mind too that your interest/support of this work will
> help raise the focus and inspiration of those doing the work.
>
> Classes / OO:
> Classes are useful for creating verification data structures,
> transaction communication, and grouping for transaction based
> randomization (building relationships between separate data
> items). Many of the data structures (such as scoreboards,
> memories, and linked structures) can already be created, however,
> classes give you the ability to hide all pointer manipulations.
> For example, using a memory would require a declaration with
> initialization of the memory data structure, then MemWrite and
> MemRead would allow a user to store and retrieve items from the
> data structure. Pointers and allocation of the sparse data
> structure are handled by MemWrite and MemRead and the
> user would not need to be aware of it.
> Status:
> Peter Ashenden submitted a class proposal last year and
> provided updates to it this year at DVCon. Currently
> he plans on finishing an updated draft soon.
>
> Randomization:
> Randomization is useful for designs that have numerous configurable
> features. Testing features individually in an isolated manner is
> typically straightforward. However, testing how these features
> interact can be a large verification space - one that may not be able
> to be simulated completely. It is also may be difficult to predict
> all of the corner cases. Randomization has been used to sequence a
> test in a non-deterministic way to get reasonably good coverage of
> this verification space.
> While I do not share the thought that randomization should be
> adapted to work for all verification problems, I do believe it
> to be a valuable technique for some problems.
>
> I wrote a draft of the randomization proposal and it is ready
> for review.
>
> Functional Coverage:
> Tool/structural coverage can tell you that you did a FIFO
> read or that the the FIFO went empty, but it can't tell
> you that you did a read while the FIFO was empty.
>
> Functional coverage constructs allow you to track this.
> Some functional coverage capability will come from assertions
> (since PSL has been integrated into VHDL). Additional constructs
> will be added to allow data binning (coverage groups) and
> correlation between different coverage items (cross coverage).
>
> I have started working on this - anyone else who is interested
> is welcome to contribute as much as they would like.
>
> With a focused effort, like the one to finish the Accellera 3.0
> draft of the standard, I think we can be done with these by
> September.
>
> Although some have expressed doubt, it is clear that vendors
> will do what their user community asks them to do - otherwise,
> someone else will and, as a result, will earn your business.
>
> Jim


Yes! I whole-heartedly support expanding the "testbench" features of
VHDL. The main problem with using separate languages to create the
testbench are two-fold. 1) multi-language simulators are more
expensive, and 2) there are always some gotcha's at the interface when
it comes to connecting the testbench to the UUT, especially if you use
other than SL or SLV port types for your UUT.

That being said, I would caution against creating too much variance in
VHDL between what can be done in a simulation only environment, vs a
synthesis environment. OO principles come to mind. The eventual
application of OO to synthesis should be carefully considered when
developing the OO structure and syntax, even though it is now just for
simulation.

Also, there are plenty of areas in synthesizable vhdl that need work
too, like user definable modes for record ports, expanded integer
synthesis (boolean operator definition, expanded range), as well as
fixed point representations along the lines of ada.

Andy



Andy
  Reply With Quote
Old 04-03-2007, 07:25 PM   #3
Jim Lewis
 
Posts: n/a
Default Re: RFC: VHDL testbench enhancements
Andy,
Thanks for your post. We are in the position where we need to
hear all users speak up (privately to me is ok), even when they
agree with what has already been stated.

> Yes! I whole-heartedly support expanding the "testbench" features of
> VHDL. The main problem with using separate languages to create the
> testbench are two-fold. 1) multi-language simulators are more
> expensive, and 2) there are always some gotcha's at the interface when
> it comes to connecting the testbench to the UUT, especially if you use
> other than SL or SLV port types for your UUT.
>
> That being said, I would caution against creating too much variance in
> VHDL between what can be done in a simulation only environment, vs a
> synthesis environment. OO principles come to mind. The eventual
> application of OO to synthesis should be carefully considered when
> developing the OO structure and syntax, even though it is now just for
> simulation.
>
> Also, there are plenty of areas in synthesizable vhdl that need work
> too, like user definable modes for record ports, expanded integer
> synthesis (boolean operator definition, expanded range), as well as
> fixed point representations along the lines of ada.


Record ports is high on my list too. Have to finish the verification
features first. The other items you mention also sound interesting.

Cheers,
Jim


Jim Lewis
  Reply With Quote
Old 04-03-2007, 10:22 PM   #4
Amal
 
Posts: n/a
Default Re: RFC: VHDL testbench enhancements
On Apr 3, 2:25 pm, Jim Lewis <j...@synthworks.com> wrote:
> Andy,
> Thanks for your post. We are in the position where we need to
> hear all users speak up (privately to me is ok), even when they
> agree with what has already been stated.
>
>
>
> > Yes! I whole-heartedly support expanding the "testbench" features of
> > VHDL. The main problem with using separate languages to create the
> > testbench are two-fold. 1) multi-language simulators are more
> > expensive, and 2) there are always some gotcha's at the interface when
> > it comes to connecting the testbench to the UUT, especially if you use
> > other than SL or SLV port types for your UUT.

>
> > That being said, I would caution against creating too much variance in
> > VHDL between what can be done in a simulation only environment, vs a
> > synthesis environment. OO principles come to mind. The eventual
> > application of OO to synthesis should be carefully considered when
> > developing the OO structure and syntax, even though it is now just for
> > simulation.

>
> > Also, there are plenty of areas in synthesizable vhdl that need work
> > too, like user definable modes for record ports, expanded integer
> > synthesis (boolean operator definition, expanded range), as well as
> > fixed point representations along the lines of ada.

>
> Record ports is high on my list too. Have to finish the verification
> features first. The other items you mention also sound interesting.
>
> Cheers,
> Jim


These new features are greatly needed and appreciated.
-- Amal



Amal
  Reply With Quote
Old 04-04-2007, 07:02 AM   #5
Eli Bendersky
 
Posts: n/a
Default Re: RFC: VHDL testbench enhancements
On Apr 3, 6:10 pm, Jim Lewis <j...@synthworks.com> wrote:
> Hi,
> Let me try this again.
>
> The VHDL standards community has been considering whether
> to enhance VHDL to add advanced testbench features.
>
> If you are a VHDL user,
> Do you want these features added to VHDL?
> Would you rather adopt a verification language that
> already supports these (SystemVerilog, SystemC, E, Vera).
>
> I think VHDL needs these features to stay competitive.
>
> The current plan in the VHDL working group is to make
> these features similar to other verification languages
> while at the same time keeping the nature of VHDL.
>


This would be excellent, and I will be happy to use such features.
VHDL already supports a large (compared, say, to Verilog) non
synthesizable subset for the sake of testbenches. Then why not make it
more useful.



Eli Bendersky
  Reply With Quote
Old 04-04-2007, 12:02 PM   #6
Martin Thompson
 
Posts: n/a
Default Re: RFC: VHDL testbench enhancements

Hi Jim,

Jim Lewis <> writes:

> Classes / OO:
> Classes are useful for creating verification data structures,
> transaction communication, and grouping for transaction based
> randomization (building relationships between separate data
> items). Many of the data structures (such as scoreboards,
> memories, and linked structures) can already be created, however,
> classes give you the ability to hide all pointer manipulations.
> For example, using a memory would require a declaration with
> initialization of the memory data structure, then MemWrite and
> MemRead would allow a user to store and retrieve items from the
> data structure. Pointers and allocation of the sparse data
> structure are handled by MemWrite and MemRead and the
> user would not need to be aware of it.
> Status:
> Peter Ashenden submitted a class proposal last year and
> provided updates to it this year at DVCon. Currently
> he plans on finishing an updated draft soon.
>


Is there anyway us non-members can see this? I'm on the reflector,
and see the links to files, but of course, I can't see them

I'd like to see more OO, and I agree with Andy, I'd like synthesis of
these extensions to be taken very seriously early on.

> Randomization:
> Randomization is useful for designs that have numerous configurable
> features. Testing features individually in an isolated manner is
> typically straightforward. However, testing how these features
> interact can be a large verification space – one that may not be able
> to be simulated completely. It is also may be difficult to predict
> all of the corner cases. Randomization has been used to sequence a
> test in a non-deterministic way to get reasonably good coverage of
> this verification space.
> While I do not share the thought that randomization should be
> adapted to work for all verification problems, I do believe it
> to be a valuable technique for some problems.
>
> I wrote a draft of the randomization proposal and it is ready
> for review.
>


I have to admit, I've never had a need for random testing... yet.
However, I can see where it would be useful!

> Functional Coverage:
> Tool/structural coverage can tell you that you did a FIFO
> read or that the the FIFO went empty, but it can't tell
> you that you did a read while the FIFO was empty.
>
> Functional coverage constructs allow you to track this.
> Some functional coverage capability will come from assertions
> (since PSL has been integrated into VHDL). Additional constructs
> will be added to allow data binning (coverage groups) and
> correlation between different coverage items (cross coverage).
>
> I have started working on this - anyone else who is interested
> is welcome to contribute as much as they would like.
>


Yes, this would be great!

Thanks for all your efforts!

Cheers,
Martin

--

TRW Conekt - Consultancy in Engineering, Knowledge and Technology
http://www.conekt.net/electronics.html


Martin Thompson
  Reply With Quote
Old 04-04-2007, 01:16 PM   #7
Amal
 
Posts: n/a
Default Re: RFC: VHDL testbench enhancements
On Apr 4, 7:02 am, Martin Thompson <martin.j.thomp...@trw.com> wrote:
> Hi Jim,
>
>
>
> Jim Lewis <j...@synthworks.com> writes:
> > Classes / OO:
> > Classes are useful for creating verification data structures,
> > transaction communication, and grouping for transaction based
> > randomization (building relationships between separate data
> > items). Many of the data structures (such as scoreboards,
> > memories, and linked structures) can already be created, however,
> > classes give you the ability to hide all pointer manipulations.
> > For example, using a memory would require a declaration with
> > initialization of the memory data structure, then MemWrite and
> > MemRead would allow a user to store and retrieve items from the
> > data structure. Pointers and allocation of the sparse data
> > structure are handled by MemWrite and MemRead and the
> > user would not need to be aware of it.
> > Status:
> > Peter Ashenden submitted a class proposal last year and
> > provided updates to it this year at DVCon. Currently
> > he plans on finishing an updated draft soon.

>
> Is there anyway us non-members can see this? I'm on the reflector,
> and see the links to files, but of course, I can't see them
>
> I'd like to see more OO, and I agree with Andy, I'd like synthesis of
> these extensions to be taken very seriously early on.
>
>
>
> > Randomization:
> > Randomization is useful for designs that have numerous configurable
> > features. Testing features individually in an isolated manner is
> > typically straightforward. However, testing how these features
> > interact can be a large verification space - one that may not be able
> > to be simulated completely. It is also may be difficult to predict
> > all of the corner cases. Randomization has been used to sequence a
> > test in a non-deterministic way to get reasonably good coverage of
> > this verification space.
> > While I do not share the thought that randomization should be
> > adapted to work for all verification problems, I do believe it
> > to be a valuable technique for some problems.

>
> > I wrote a draft of the randomization proposal and it is ready
> > for review.

>
> I have to admit, I've never had a need for random testing... yet.
> However, I can see where it would be useful!
>
> > Functional Coverage:
> > Tool/structural coverage can tell you that you did a FIFO
> > read or that the the FIFO went empty, but it can't tell
> > you that you did a read while the FIFO was empty.

>
> > Functional coverage constructs allow you to track this.
> > Some functional coverage capability will come from assertions
> > (since PSL has been integrated into VHDL). Additional constructs
> > will be added to allow data binning (coverage groups) and
> > correlation between different coverage items (cross coverage).

>
> > I have started working on this - anyone else who is interested
> > is welcome to contribute as much as they would like.

>
> Yes, this would be great!
>
> Thanks for all your efforts!
>
> Cheers,
> Martin
>
> --
> martin.j.thomp...@trw.com
> TRW Conekt - Consultancy in Engineering, Knowledge and Technologyhttp://www.conekt.net/electronics.html


Where can one find the proposed changes documents and files to get an
idea of the the syntax and features? Should you be a member to have
access to them? Are they at Accellera?

-- Amal



Amal
  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
How to execute an external software from VHDL? And how to interface VHDL with JAVA? becool_nikks Software 0 03-06-2009 07:08 PM
Vending machine using VHDL arie General Help Related Topics 0 03-05-2009 05:45 AM
Help on auto conversion from Matlab to vhdl on filter design hardheart Hardware 0 12-07-2007 09:19 AM
VHDL RAM help!:) lastval Hardware 0 11-09-2007 01:40 PM
ARRAY(n DOWNTO 0) OF STD_LOGIC_VECTOR(m DOWNTO 0) - VHDL freitass Hardware 0 11-01-2007 03:44 PM




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