[sv-cc] openArray::size() method

From: Jim Vellenga <vellenga@cadence.com>
Date: Mon Sep 26 2011 - 06:40:09 PDT

Arnab, is there any reason why we can't store the size along with openArray object, either by adding an argument to its constructor, or by adding a set_size() method? That would do a better job of keeping the implementation and interface independent of the creating language.

Jim

From: Saha, Arnab [mailto:arnab_saha@mentor.com]
Sent: Saturday, 24 Sep 2011 5:24 PM
To: Jim Vellenga
Cc: sv-cc@eda.org
Subject: RE: Container class for open arrays

<snip>

________________________________
From: Jim Vellenga [mailto:vellenga@cadence.com]
Sent: Fri 9/23/2011 8:26 AM
To: Saha, Arnab
Cc: sv-cc@eda.org
Subject: RE: Container class for open arrays
Arnab,

<snip>

-- The proposed openArray::size() method is implemented as a call to svSize(arrayhndl, dimension), so that size is determined soley by SystemVerilog.

ARNAB: Size can be implemented based on the source language.

<snip>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Sep 26 06:40:55 2011

This archive was generated by hypermail 2.1.8 : Mon Sep 26 2011 - 06:40:57 PDT