Re: [vhdl-200x] Clocked Shorthand for Sequencing Testbench Assertions?

From: Daniel Kho <daniel.kho@gmail.com>
Date: Mon Mar 12 2012 - 20:05:06 PDT

Hi Jim,
Yes, that syntax is for property / sequence assertions. That expression can
be defined as a sequence in SV, then used in assertions, i.e. the assertion
will check if the sequence really took place.
Not sure of the exact SV syntax, but might look like this:
sequence s
    d ##[1:3] e ##1 f;
endsequence;

assert s;

Thanks for pointing me to PSL. To be frank, I've never used PSL or VHPI or
other techniques that require interfacing to an external language.
That said, I'll still be taking a good look into PSL as this can be
directly embedded into VHDL code. Are there any benefits in picking up PSL?

I heard some tools are also able to generate hardware descriptions from
PSL, does anyone know which vendor / tool is capable of doing this? Please
email me in private as it might not be appropriate to discuss specific
vendor tools on the reflector.

regards, daniel

On Tue, Mar 13, 2012 at 12:24 AM, Jim Lewis <Jim@synthworks.com> wrote:

> Hi Daniel,
> That syntax is for assertions right? Are they
> using it for testbench sequencing or randomizing
> anything too?
>
> The corresponding syntax for VHDL would be PSL in
> the VHDL flavor.
>
>
> > I'm still new to advanced VHDL verification techniques
> You will probably need to read one of the PSL books.
>
> Best,
> Jim
>
> Hi all,
>> I updated the Clocked Shorthand Wiki page with a question on whether it's
>> currently possible to do VHDL testbench sequencing for property assertions,
>> similar to what's been done in SV?
>> For example, the SV sequence:
>> d ##[1:3] e ##1 f;
>>
>> could perhaps follow the same clocked shorthand notation being currently
>> proposed? For example, the above sequence could be written as follows in
>> VHDL:
>> seq := d, e @ (1 to 3), f @1;
>>
>> I'm still new to advanced VHDL verification techniques, so let me know if
>> there is a compact way of defining test sequences using existing VHDL
>> techniques.
>>
>> regards, daniel
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by *MailScanner* <http://www.mailscanner.info/>**, and
>> is
>> believed to be clean.
>>
>
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~**~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~**~
> Jim Lewis
> Director of Training mailto:Jim@SynthWorks.com
> SynthWorks Design Inc. http://www.SynthWorks.com
> 1-503-590-4787
>
> Expert VHDL Training for Hardware Design and Verification
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~**~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~**~
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Mar 12 20:06:01 2012

This archive was generated by hypermail 2.1.8 : Mon Mar 12 2012 - 20:06:34 PDT