[sv-bc] Open array mixed with normal array

From: Surya Pratik Saha <spsaha_at_.....>
Date: Wed Dec 21 2005 - 03:30:19 PST
SV supports open array for DPI construct. It is not clear whether open array
can be mixed up with normal array or not. Please can you someone clarify whether
the following two examples are correct or not.

e.g. 1
module top;
typedef bit  array_int[1:0][2:0];

import "DPI" function  int XYZ_1(array_int yi[][], bit[5:0] b);

endmodule

e.g. 2
module top;

import "DPI" function  int XYZ_1(input logic yi[1:0][]);

endmodule

Regards
Surya.
Received on Wed Dec 21 03:25:05 2005

This archive was generated by hypermail 2.1.8 : Wed Dec 21 2005 - 03:25:47 PST