[sv-ec] Action Item 25


Subject: [sv-ec] Action Item 25
From: David W. Smith (david.smith@synopsys.com)
Date: Wed Oct 22 2003 - 10:38:36 PDT


Greetings,
 
Arturo generated the following proposal in response to AI-25.
 
Add the following text at the end of Section 11.23:
A parameterized class may extend another parameterized class. For example:

 
     class C #(parameter type T = bit); ... endclass // base class
 
    class D1 #(parameter type P) extends C; // T is bit (the
default)
    class D2 #(parameter type P) extends C #(integer); // T is integer
    class D3 #(parameter type P) extends C #(P); // T is P

Class D1 extends the base class C using the base class's default type (bit)
parameter. Class D2 extends the base class C using an integer parameter.
Class D3 extends the base class C using the parameterized type (P) with
which the extended class is parameterized.
 
 
Please review.
 
Regards
David



This archive was generated by hypermail 2b28 : Wed Oct 22 2003 - 11:06:48 PDT