New Genesis version (r10407) now as default on the Stanford servers

0 views
Skip to first unread message

Ofer Shacham

unread,
Apr 14, 2012, 10:24:22 PM4/14/12
to genesis...@googlegroups.com, Ted Humpal
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.

Don Stark

unread,
Apr 15, 2012, 1:27:44 PM4/15/12
to genesis...@googlegroups.com
Where did you get the idea to add these ;-)    ?
Reply all
Reply to author
Forward
0 new messages