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: ncvlog: *F, SVARRA: SystemVerilog mode incompatible with array access option.
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
explorer
Posts: 2
Online: User is Offline
12/27/2007 2:27 AM  

Hi, all,
I am new to SystemVerilog, so I decided to start with simple things, like SVA, first.
However, there is still something I could not figure out.
I made an SVA checker, during compiling, I met this error message:
ncvlog: 05.83-s008: ........
ncvlog: *F, SVARRA:  SystemVerilog mode incompatible with array access option.
The code segment related to this problem I guess is:

module clk_div_checker(
   rst_n,
   ref_clk,
   div,
   input_clk,
   ...
);
parameter DIV_WIDTH = 6;
parameter DIV_MAX = DIV_WIDTH -1 ;
input rst_n;
input ref_clk;
inout [DIV_MAX:0] div;
input input_clk;
...
tri1 rst_n;
tri1[DIV_MAX:0] div;
...
integer ref_cnt;
integer check_idx;
reg   input_clk_latch;
...
always_ff @(negedge rst_n or posedge input_clk) begin
   if (!rst_n) check_idx <= 0;
   else ckeck_idx <= ckeck_idx + 1;
end
always_ff @(negedge rst_n or posedge ref_clk) begin
   if (!rst_n) input_clk_latch<= 0;
   else input_clk_latch <= input_clk;
end
...
clk_frequence: assert property (CLK_FREQUENCE) else
   $error("CLK_FREQUENCE: .....");
property CLK_FREQUENCE;
   @(posedge input_clk)
      disable iff (!rst_n)
         (ckeck_idx  >1) |-> ref_cnt == (div - 1);
endproperty
...

The ncvlog.args is:

-INCDIR $HOME_ENV/std_ovl
-INCDIR $HOME_ENV/verilog_dut/my_clk_checker
-INCDIR $HOME_ENV/verilog_dut
...
-DEFINE OVL_ASSERT_ON
-DEFINE OVL_COVER_ON
-DEFINE OVL_SVA
-DEFINE ASSERT_ON
...
-SV
...
// Source Files
$HOME_ENV/verilog_dut/dut.v
$HOME_ENV/verilog_dut/my_clk_checker/checker.v
...

I tried this with IUS 5.83 and IUS 6.11. Both of them give the same error message.
Have any idea what could be wrong? I really don't have any idea where to start checking.
Thanks.

TAM
Posts: 56
Online: User is Offline
12/27/2007 5:27 AM  
I ran "nchelp ncvlog SVARR" and it said that you can't compile a SystemVerilog model with the "-nomempack" or "-arr_access" options. These options enable a particular PLI memory access routine that requires Verilog memories be stored using the Verilog-XL data structures. These PLI access routines are obsolete and have been explicitly disabled for SystemVerilog. They are very inefficient and their use is discouraged even in plain Verilog models. The SystemVerilog developers haven't even tried to make the standard backward compatible in this area.
explorer
Posts: 2
Online: User is Offline
1/02/2008 8:57 PM  
Thanks.  It helps.
I could not access this forum in last few days. This morning, I got this answer, and it helped me to find out what is wrong.
Thanks againg.
Posting to forums is available to community members only.
Login or Register

Forums > Functional Verification > SystemVerilog > ncvlog: *F, SVARRA: SystemVerilog mode incompatible with array access option.


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.