New Genesis2 and GUI release (r10566)

4 views
Skip to first unread message

Ofer Shacham

unread,
May 31, 2012, 5:28:14 PM5/31/12
to genesis...@googlegroups.com
Hello Everyone,

There is a new genesis2 & gui release. Default on the Stanford servers. Send me an email to get the tar ball other places.

Genesis2 Engine:
  • New command line flag "-perl_libs path/to/lib" to specify where additional perl packages are located. This is similar but more flexible to the use of the environment variable GENESIS_PROJECT_LIBS.
  • The generated genesis_clean.cmd file is now an executable to make it shell independent. (Thanks Glen!)
  • New introspection method: 
    sub get_top
    Returns a pointer to the top level of the hierarchy
    //; my $top_module = $self->get_top(); 
  • And another introspection method:
    sub search_subinst
    API method for searching the entire design hierarchy or portions of it according to user defined criteria(s)
    All criteria are optional. The returned value is a list of objects that matched ALL specified criteria.
    From
    Either pointer or text path to an instance work here (default is the design top)
    Depth
    How deep in the hierarchy should we search? (default is 10000 ;-)
    PathRegex
    Return only instances who's path matches some regular expression (e.g., '.*\.ahb0\..*')
    INameRegex
    Return only instances who's instance name matches a regular expression
    MNameRegex
    Return only instances who's finalized module name matches a regular expression
    BNameRegex
    Return only instances who's base module name (before uniquification) matches a regular expression
    SNameRegex
    Return only instances who's source file name matches a regular expression
    HasParamRegex
    Return only instances that has a parameter who's name matches the regular expression The HasParamRegex arg can be either a string (e.g., 'Width') or an a string array ref (e.g., ['Width', 'Radix']). Note that in the string array case, we search for instances that has a param that matchs regex1 AND a param that matches regex2 AND...
    ApplyMap
    If you have some complex way of determining if an instance should be returned, you can create your own function that accept/reject an objects. Your function must return 0/1. E.g., sub func{ my $obj = shift; return ($obj-iname eq 'ofer'); }
     
    @subinst_arr = $anyObj->search_subinst(
                            From=>$ObjToStartFrom   OR  'path.to.objToStartFrom', 
                            Depth=>$HowDeepToSearch,
                            PathRegex=>'Path.to.Inst',  
                            INameRegex=>'InstanceName',
                            MNameRegex=>'ModuleName',
                            BNameRegex=>'BaseModuleName', 
                            SNameRegex=>'SourceTemplateName',
                            HasParamRegex=>'ParamName' OR \@ParamList,
                            ApplyMap=>\&func);
  • Small bug fix: The existing subroutine "get_subinst_array" used to return an array pointer/ref where it should have returned an array. Now it does.
Genesis2 GUI:
GUI release 10566 includes support for displaying parameters in either decimal or hexadecimal form.  Numeric parameters with values greater than 256 are displayed as hex by default, all others are deximal.  The user can toggle between formats by way of a little "R" button embedded in the corner of the parameter box.
Inline image 1

Other changes include more robust support for installing, updating and/or restarting instances of Stewie the standalone GUI; and download support for verilog files with ".sv" extension as well as ".v".  The CMP-generator demo has been improved and should work without error at non-Stanford sites.  Also: clone modules have a shortcut button to take you to the original source module.

Enjoy!

Steve & Ofer.

image.png

Artem Vassiliev

unread,
May 31, 2012, 10:00:39 PM5/31/12
to genesis...@googlegroups.com
Hi Ofer,
Today I started to get this error on cluster doing runs:

make: locDesignMap.pl: Command not found
make: *** [genesis_vlog.vf] Error 127
Could not open file.

Could it be due to the new version of Genesis? Any ideas how to fix it?
Artem
Reply all
Reply to author
Forward
0 new messages