Wednesday, February 08, 2012     Register | Login | Search | Contact Us
     

Many of you already received communications about the move of the Cadence user community into cadence.com. And many of you have already joined, with over 4000 registrations in the first two weeks.

The new Cadence Community enhances the ability of Cadence users to connect and collaborate. In addition to moving the community into cadence.com -- enabling single sign-on for community, Sourcelink and Cadence events -- the new site is organized around nine technology segments, giving you easy access to product information, training, forums and blogs. Some of the new features include:
  • Ability to respond to posts via e-mail
  • Technology-specific blogs
  • Latest Web 2.0 social networking capabilities
  • Public profile options
  • Private messaging
  • Friends lists
Visit the new Cadence Community today at www.cadence.com/community and join the discussions!

Registration note: Due to the scope of the enhancements and the new SSO registration system, we were not able to migrate existing cdnusers.org member accounts. So new registrations are required, but this enables a broader set of functionality we think you'll enjoy.

Forum note: Under the guidance of forum moderators, we have taken the 20+ cdnusers.org forums and consolidated them into 11 forums on the new site. Posts have been brought over so you can leverage that posting history. CDNusers forums will be set to read only starting 7/30, and cdnusers.org will be redirected to the new community on 8/4.

Best regards,
Mike and Tom

Michael A. Catrambone - Steering Committee Chairman
Distinguished Engineer
PCB/Mechanical
UTStarcom, Inc.

Tom Diederich
Cadence Community Manager
Home
Forums
Subject: Can I force or probe a signal in vhdl module from verilog top testbench?
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
foster
Posts: 0
Online: User is Offline
2/08/2007 12:07 AM  
At 2/07/2007 10:01 AM a message was posted to a thread you were tracking. -- RE: Using the Forum by hubertx

Can I force or probe a signal in vhdl module from verilog top testbench?
I heard some simulator has its own way to do that easily, can you give me a example code to do that with ncsim?

foster
Posts: 0
Online: User is Offline
2/08/2007 12:17 AM  
Hi Hubert,

from a VHDL module you can probe/force any VHDL or Verilog signal using ncmirror and ncforce, refer to the following documentation:

http://sourcelink.cadence.com/docs/files/Release_Info/Docs/ncvhdl/ncvhdl5.83/applications.html#1044121

There is no mechanic to access a VHDL object from a Verilog module today.

As a workaround you may instantiate a VHDL Mirror component inside your Verilog module. Inside this VHDL component you can use the ncmirror and ncforce functions as described above and connect the probed/force signals through the ports to local Verilog signals.

F.
TAM
Posts: 56
Online: User is Offline
2/08/2007 4:31 AM  
Actually you can access a VHDL object from a Verilog testbench using the $nc_force or $nc_mirror routines. They're relatively new to NC-Verilog. I just looked them up and I see that they're documented in Chapter 19 of the NC-Verilog Simulator Help manual.
hubertx
Posts: 0
Online: User is Offline
2/09/2007 10:52 AM  
Thank you very much, I'll try that.
maurizios
Posts: 8
Online: User is Offline
5/07/2007 12:34 AM  
Hi,
we are facing a similar isue. We need to check connectivity between a source signal which is instantiated in a VHDL module and a destination signal which is instantiated in a Verilog noe. It is not clear if and how to use $nc_force command, which requires a value ('0|1)) iwith Formal Verification tool. Does soembody have ever tried that?
jb
Posts: 16
Online: User is Offline
5/07/2007 9:08 AM  
In response to forcing signals in Formal, this cannot be done. To check connectivity, you would write a property to ensure the two signals are always the same like:

// psl verify_signals : assert always (siga == sigb);

If the source of the signal is a port of a module you can blackbox the module driving the signal or just use [b]cutpoint[/b] to free the driven signal from being driven by the design. Now IFV will drive this signal as a free input signal and allow you to verify the connectivity to the destination. Does this explaination make sense to you?
ccc
Posts: 1
Online: User is Offline
5/08/2007 9:04 AM  
Related to the last couple of posts, there was a paper presented at CDNLive in SJ last year regarding connectivity checking.
 
Session 1.8: Formal Analysis of Padring Mux-Logic Using IFV (Incisive Formal Verifier)

It talks about using Formal Analysis and assertions as a much more efficient way to solve the connectivity problem.  You might find it useful. It can be found at:

http://www.cdnusers.org/CDNLive/SiliconValley2006Proceedings/tabid/366/Default.aspx?topic=Functional%20verification
Posting to forums is available to community members only.
Login or Register

Forums > Functional Verification > Assertion-Based Verification and Formal Analysis > Can I force or probe a signal in vhdl module from verilog top testbench?


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.