Thursday, January 08, 2009     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: generic task for hdl node force/release in system verilog
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
unmesh
Posts: 1
Online: User is Offline
4/16/2007 8:12 AM  

i want to develop a generic task to force an hdl node inside the rtl.
the hdl path will be passed as a string to the task
eg: string s = "top.u_block1.u_block2.node_a";

this string will be passed as input to a task and the task should either force the value of the hdl path.
the hdl path should not be hardcoded. it should be only passed as a string. the string format can vary but it should only be a string.

is there any way to do this? i am using IUS583-s001. i don't see any example to do this in the documentation. also i am only using modules and not classes.

thanks and best regards

   Unmesh

Staff Engineer, Broadcom.
+91-9886404415

ajeetha
Posts: 97
Online: User is Offline
4/16/2007 10:41 AM  
Hi Unmesh,
      I believe you posted this in vguild as well: Here is a consolidated reply from my end:

I believe this is doable with VPI - through vpi_handle_by_name and vpi_put in combination.

Are there good reasons to do this? ANy run time path generation sounds fancy, but can get you into trouble - imagine:

1. You run a sim till 100ms,
2. Do a fancy force like this and got a typo error
3. Bang! You hit an error and tool exits! Or sim fails!

It is better to let the path be statically checked at elaboration and let the sim run peacefully - Just MHO.

In any case I see 2 choices:

1. Use VPI as I suggested - IMHO, your best bet to be tool independent
2. Use TCL interface and get this done, fairly straight forward to do, though may not be as optimal as #1. This will be lot less work from your end:
  
HTH
Ajeetha, CVC
www.noveldv.com



Posting to forums is available to community members only.
Login or Register

Forums > Functional Verification > SystemVerilog > generic task for hdl node force/release in system verilog


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.