Re: [Gems-users] Regd using externally declared enumerations in the slicc files


Date: Wed, 1 Jun 2005 09:57:04 -0500 (CDT)
From: Mike Marty <mikem@xxxxxxxxxxx>
Subject: Re: [Gems-users] Regd using externally declared enumerations in the slicc files
> Thanks!! I noticed that there is a way to specify the
> ratio of the speed at which RUBY runs wrt OPAL. Is
> there any way to find out what the absolute frequency
> at which OPAL runs?
>

You can set a multiplier for the OPAL/SIMICS clock.  It is in
$GEMS_ROOT/ruby/config/rubyconfig.defaults

Here is a quote from an answer to a similar question:

"The OPAL_RUBY_MULTIPLIER is simply a frequency multiplier between Ruby's
and Opal's frequencies. If you set it to 1, Opal and Ruby have the same
frequency, higher Opal will have a faster frequency. The multiplier was
added as a performance enhancement. The assumption is Opal needs a high
frequency to model a fast out-of-order processor, but Ruby can use a lower
frequency because it models the relatively slow memory system. Since Ruby
is an eventqueue driven simulator, having a slower frequency in Ruby
results in less 'wakeup' cycles and thus reduces simulation time. However,
when using a non-unit multiplier, you need to remember the relation when
analyzing the stats. "

Now Simics has a notion of clock frequency as well to determine things
like real-time interrupts and such.

--Mike
[← Prev in Thread] Current Thread [Next in Thread→]