Friday, November 21, 2008     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: 'class' not implemented??
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
marco.stanzani
Posts: 11
Online: User is Offline
5/18/2007 6:30 AM  
Hi there
I am compiling a class getting

ncvlog: *E,SVNIMP (/prj/so_asic/USERS/STANZANI/SO_ASIC/CONFIG/../DIGITAL/SIMULATION/TBENCH/so_i2s.v,52|17): SystemVerilog construct not yet implemented:  compilation unit top scope declaration.
class so_i2s_layer;

I am using version

ncvlog -ver
TOOL:   ncvlog  05.83-p002

how can it be claimed 'system verilog support' if classes (a key feature for SV) is not usable?

thanks


Marco Stanzani Accent S.p.A.
Sr. Consultant Engineer via Torri Bianche 3
Tel. +39-039-6290020 20059 - Vimercate (MI), Italy
stephenh
Posts: 77
Online: User is Offline
5/18/2007 6:42 AM  
Hi Marco.

At the moment, classes must be declared within a package, module or program.
They're not permitted to "float" at the top level, hence the message you saw.

I'd suggest you put any global classes into a package, and import that into whichever unit requires them.
This makes for tidier encapsulation anyway :-)

One last point, if you're using SystemVerilog, you'd do best to keep to the latest version, as that will have the best feature set. Currently the latest version is IUS6.1s2.

Steve.

Steve H.
marco.stanzani
Posts: 11
Online: User is Offline
5/18/2007 6:54 AM  
Thanks Stephen
agree that the ebst practice is to put them in a package. BTW it does not seems possible to define interfaces in a package as well (which is desirrable, IMO, sicne I'd put i a package everything that does not generate istances: right?)

actually whe have just this version @Accent

cheers

Marco Stanzani Accent S.p.A.
Sr. Consultant Engineer via Torri Bianche 3
Tel. +39-039-6290020 20059 - Vimercate (MI), Italy
bryan
Posts: 25
Online: User is Offline
5/18/2007 7:05 AM  
FWIW: Interfaces are more like a module. They are instanced, etc and many tools even search for them like modules if you use the -y directive. So I would not think putting them in a package would be a good thing.

Regards,
Bryan
ajeetha
Posts: 97
Online: User is Offline
5/18/2007 7:48 AM  
Posted By stephenh on 5/18/2007 6:42 AM

At the moment, classes must be declared within a package, module or program.
They're not permitted to "float" at the top level, hence the message you saw.

Steve.
Maybe it is worth adding that suggestion to the existing Error message as that would help the users in general a lot. How does one submit such "nice to have enhancement" if not via sourcelink? FWIW - I don't have sourcelink access as I'm not a NC customer but am running a verification services company in Bangalore.

Regards
Ajeetha, CVC
www.noveldv.com

stephenh
Posts: 77
Online: User is Offline
5/18/2007 7:56 AM  
Hi Ajeetha.

I'll file that enhancement request - it makes sense.
If you're using Cadence tools when working for your clients, I guess the best thing is to get your client to file the service request under their SourceLink account ID. There may be an alternative way that you can file them directly, but I'm not aware of it.

Regards.
Steve.

Steve H.
tpylant
Posts: 87
Online: User is Offline
5/18/2007 8:18 AM  
I filed enhance to improve error message. Thank you for the suggestion.

Tim
ajeetha
Posts: 97
Online: User is Offline
5/19/2007 8:56 AM  
Thanks Tim & Steve, glad to see the quick action to make the tool easy to use, appreciate it!

Cheers
Ajeetha, CVC
www.noveldv.com

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

Forums > Functional Verification > SystemVerilog > 'class' not implemented??


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.