VHDL and System Verilog Assertions

T

thunder

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
 
J

Jonathan Bromley

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top