Package: gplcver
Version: 2.11a-3

Hello,

  I was trying GPL Cver 2.11a on a verilog module that has 
  multi-dimensional arrays (the module is attached with this email), and 
  it gave the error below:

GPLCVER_2.11a of 07/05/05 (Linux-elf).
Copyright (c) 1991-2005 Pragmatic C Software Corp.
  All Rights reserved.  Licensed under the GNU General Public License (GPL).
  See the 'COPYING' file for details.  NO WARRANTY provided.
Today is Thu Dec 21 10:01:30 2006.
Compiling source file "test.v"
**test.v(15) ERROR** [1109] expression illegal token [[]
  Unable to begin simulation.
  There were 1 error(s), 0 warning(s), and 0 inform(s).
End of GPLCVER_2.11a at Thu Dec 21 10:01:30 2006 (elapsed 0.0 seconds).


NOTE: that the problem is when I try to use myarr[j][0], yet if I just 
try to use myarr[j] it works fine.

module test();
reg [3:0] myarr[7:0];
integer i,j;

initial
begin
  for(i=0;i<8;i=i+1)
    myarr[i] = i;
end

initial
begin
  #10
  for(j=0;j<8;j=j+1)
    $display("%d: %b",j,myarr[j][0]);
  $stop;
end
endmodule

Reply via email to