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: input port (array type) issue
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
borgonov69
Posts: 0
Online: User is Offline
9/04/2007 2:11 AM  
I have defined  in a module a input port of array type as following described:


module swfabr (

  .......
            input  logic                                                        req[ports_num-1:0],          
........

I got the compilation error:

ncvlog: *E,MEMDIO (/IPREUSE/DATABASE/INTERNAL/DIG/INPROGRESS/gborgo/simd_A0_a/config/../generic/rtl/svlog/swfabr.v,27|82): memory 'req' previously declared as input/output/inout.
        module simd.swfabr:v
                errors: 1, warnings: 0


but the req port is not previously decalared.


If I change the port direction from input to inout the error disappears.
Also if the port is declared as output there's no error.

Why ?

Thanks
BR
Giampiero




tpylant
Posts: 87
Online: User is Offline
9/04/2007 8:45 AM  
Your input declaration defines an unpacked array. This is not currently supported in IUS, so you have two choices to fix the problem.

1) Define as an unpacked array: input logic Ε:0] req

2) Use var keyword to define as variable instead of net: input var logic req Ε:0]

Tim
borgonov69
Posts: 0
Online: User is Offline
9/04/2007 9:15 AM  
1) I dont like to define a packed array for this type of signal (array of bus request).
2) Is it synthesizable in this case ? Which are the differences with a net keyword ?

Thanks
Giampiero
borgonov69
Posts: 0
Online: User is Offline
9/04/2007 9:19 AM  
When will the input unpacked array be supported by IUS ?
In case of parametric code, it seems useful.

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

Forums > Functional Verification > SystemVerilog > input port (array type) issue


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.