Hi Everyone,
This is a minor revision with some improved error reporting and a couple of new introspection methods. The introspection methods are useful for adding modules that traverse the hierarchy looking for particular instances. For example it is useful if you want to find all the FMA's and dumping tcl scripts, or finding (for example) all the registers to build a memory map, or finding all the specialized processors to create the software compilation environment etc, etc.
- sub bname
-
Returns the base module name from which an object was generated. This is the name of the template, before uniquification. Note that this is syntactic sugar for the older style method get_base_name
//; my $BaseName = bname();
//; my $SomeObj_BaseName = $SomeObj->bname();
- sub sname
-
Returns the source file name from which an object was generated. This is the name of the template, before uniquification and before synonyms were applied. Note that this is syntactic sugar for the older style method get_source_name
//; my $SourceName = sname();
//; my $SomeObj_SourceName = $SomeObj->sname();
-
If you're out of stanford and would like to receive a new tar ball of the code, send me an email.
-
Ofer.