Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   VHDL (http://www.velocityreviews.com/forums/f18-vhdl.html)
-   -   VHDL and System Verilog Assertions (http://www.velocityreviews.com/forums/t752832-vhdl-and-system-verilog-assertions.html)

thunder 08-14-2011 05:42 PM

VHDL and System Verilog Assertions
 
Hi All

I started off implementing PSL assertions to the VHDL IP that we
develop (after reading the advice in this newsgroup)

However, management decision is that we need to implement System
Verilog assertions since eventually we want to build a UVM compliant
test bench.

My question is : how to interface the VHDL RTL to the SVA? From what i
can see, only the vunit method is viable. Embedding it directly in the
VHDL RTL is not possible ? Is that correct?

Also another question : We use Cadence ncsim for our simulation. Any
one have any experience of how easy/difficult it is to debug the SVA
in the VHDL IP/Cadence ncsim environment ?


Thanks in advance

JO

Jonathan Bromley 08-14-2011 06:09 PM

Re: VHDL and System Verilog Assertions
 
On Sun, 14 Aug 2011 10:42:35 -0700 (PDT), thunder wrote:

>However, management decision is that we need to implement System
>Verilog assertions since eventually we want to build a UVM compliant
>test bench.
>
>My question is : how to interface the VHDL RTL to the SVA? From what i
>can see, only the vunit method is viable. Embedding it directly in the
>VHDL RTL is not possible ? Is that correct?


Write a module containing the SVA, with ports whose names
match the signals in the RTL that you wish to monitor.
Use SystemVerilog "bind" directive to inject an instance
of this module into your VHDL RTL. All the major simulators
support this methodology, but the precise details of how
to get port names right, etc, vary from one tool to another.

>Also another question : We use Cadence ncsim for our simulation. Any
>one have any experience of how easy/difficult it is to debug the SVA
>in the VHDL IP/Cadence ncsim environment ?


Should be fine. Again, all the major tools have excellent
support for mixed-language including waveform viewing etc.

This is one of the sweet spots for SV "bind", and it was
enthusiastically adopted by all the vendors almost as soon
as SV hit the streets. It should be mature and easy to use.
--
Jonathan Bromley


All times are GMT. The time now is 05:25 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, 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 47 48 49 50 51 52 53 54 55 56 57