Bug#422048: GPL Cver 2.11a Multi-dimensional arrays.

2007-09-19 Thread NIIBE Yutaka

Ahmed El-Mahmoudy wrote:

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:


I think that multi-dimensional arrays is not the supported feature of
current GPL Cver.  This is new feature of Verilog 2001 standard,
while GPL Cver supports Verilog 1995 and some of Verilog 2001.
--



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#422048: GPL Cver 2.11a Multi-dimensional arrays.

2007-05-03 Thread Ahmed El-Mahmoudy
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;i8;i=i+1)
myarr[i] = i;
end

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