Re: [Gems-users] some questions about Opal


Date: Mon, 22 Sep 2008 10:45:46 -0500 (CDT)
From: Luke Yen <lyen@xxxxxxxxxxx>
Subject: Re: [Gems-users] some questions about Opal

If you simulate with both Opal & Ruby, the flag CONFIG_WITH_RUBY should be true and Opal's cache class will _not_ be used (so it doesn't matter what you configured it with).

Otherwise when running with Opal only you need to set its cache params to your needs.

  Luke

On Mon, 22 Sep 2008, wei wang wrote:

so i have to make rubycache the same configuration as Ruby ? because it
seems that every cache access is checked to make sure it behaves (miss/hit)
the same in rubycache and Ruby.

wei

On Tue, Sep 16, 2008 at 2:54 PM, Luke Yen <lyen@xxxxxxxxxxx> wrote:

On Tue, 16 Sep 2008, wei wang wrote:

1. i just saw a rubycache class in Opal. why does Opal have its own cache
module, while we have Ruby modeling a complete memory sub-system? can i
turn
the rubycache off when Opal and Ruby are both loaded? if this class is
necessary, should i make the cache configuration of rubycache the same as
Ruby?

    Opal's rubycache is only meaniful in uniprocessor target systems, as it
doesn't do any cache coherence.  Even then I would recommend running with
Ruby to simulate that target system, as it has more accurate memory
timings.

2. is there an option for Opal to control which type of instructions can
be
seens by cache? like what "USER_MODE_DATA_ONLY" does in Ruby?

    No.

  Luke
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:
https://lists.cs.wisc.edu/archive/gems-users/"; to your search.



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