RE: [sv-bc] proposal for nested modules and interfaces


Subject: RE: [sv-bc] proposal for nested modules and interfaces
From: Jonathan Bromley (jonathan.bromley@doulos.com)
Date: Mon Jan 05 2004 - 09:34:58 PST


> Why would you want to implicitly instantiate a nested module
> anyway?

If you are writing the nested module to encapsulate some
piece of local functionality, and you need that functionality
only once, it seems pretty silly to have to instantiate it
immediately after defining it.

It also matches with the way modules get instantiated
into $root (or whatever $root is called these days!); any
uninstantiated portless module is a top-level and is
therefore implicitly instantiated in the elaborated
simulation. So, all your regular modules are in fact
merely nested modules in $root...

-- 
Jonathan Bromley, Consultant
Doulos Ltd. Church Hatch, 22 Market Place, Ringwood, Hampshire, BH24 1AW, UK
Tel: +44 (0)1425 471223                   Email: jonathan.bromley@doulos.com
Fax: +44 (0)1425 471573                           Web: http://www.doulos.com

The contents of this message may contain personal views which are not the views of Doulos Ltd., unless specifically stated.



This archive was generated by hypermail 2b28 : Mon Jan 05 2004 - 09:36:28 PST