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: Reg : problem with reg declaration in IUS58
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
mssajwan
Posts: 0
Online: User is Offline
4/22/2007 11:52 PM  
Hi all, I have declared a data member as reg. when i use it in an assign statement, I am supposed to get an error.Now 1. If i use the +sv switch i am not getting an error. 2. its showing an error if i do not use the +sv switch,which is as expected. I am using cadence IUS58, please clarify on this. thanks Manmohan
davyzhu
Posts: 90
Online: User is Offline
4/23/2007 12:24 AM  
Hi Manmohan,

If the data member is used on transaction layer, please declear it as bit (0/1) or logic (0/1/x/z).

Best regards,
Davy
mssajwan
Posts: 0
Online: User is Offline
4/23/2007 12:29 AM  
Hi Davy,

I have used the declaration inside a module

module test();
reg a,b;

assign a = b ? 1 : 0 ;

endmodule

in this code with +sv command line option its not giving me an error.
TAM
Posts: 56
Online: User is Offline
4/23/2007 6:45 AM  
In SystemVerilog, such code is now legal. Here's a snippet from the LRM:

SystemVerilog extends the functionality of variables by allowing them to be either written by procedural statements or
driven by a single continuous assignment, similar to a wire.

A wire can have multiple continuous assignments, like drivers on a bus. A reg can only have a single continuous assignment.
mssajwan
Posts: 0
Online: User is Offline
4/23/2007 7:07 AM  
Hi TAM,

thanks a lot for the reply. my doubt is now clear even though i have not checked the LRM but your comments
are sufficient.



thanks & regards
Manmohan Singh
Posting to forums is available to community members only.
Login or Register

Forums > Functional Verification > SystemVerilog > Reg : problem with reg declaration in IUS58


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.