Re: [Gems-users] Choosing which Ruby coherence protocol to use...


Date: Wed, 17 Jun 2009 01:21:06 +0200
From: David Bonavila <david.bonavila@xxxxxxxxxxxxxxxxxx>
Subject: Re: [Gems-users] Choosing which Ruby coherence protocol to use...

So if I run "GEMS_ROOT/simics/home/MSI_MOSI_CMP_directory/simics -stall config.simics", it actually runs MOSI_SMP_bcast, which is the last one I compiled. Why?

Thanks!

2009/6/17 David Bonavila <david.bonavila@xxxxxxxxxxxxxxxxxx>

Hi again,

I have compiled Ruby with 2 protocols:
- First MSI_MOSI_CMP_directory (make PROTOCOL=MSI_MOSI_CMP_directory DESTINATION=MSI_MOSI_CMP_directory).
- Second MOSI_SMP_bcast (make PROTOCOL=MOSI_SMP_bcast DESTINATION=MOSI_SMP_bcast).

In "GEMS_ROOT/simics/home/MSI_MOSI_CMP_directory" I have a softlink called "simics" which points to "../sarek/simics", and that points to "../../simics" (which is in fact "GEMS_ROOT/simics/simics" executable).

The same happens with the "MOSI_SMP_bcast" folder. So I can only run Ruby with the last protocol I have compiled.

What am I doing wrong??


Thank you!!



2009/6/15 David Bonavila <david.bonavila@xxxxxxxxxxxxxxxxxx>

OK, thank you for your answer!!

Greetings!!

2009/6/15 David Bonavila <david.bonavila@xxxxxxxxxxxxxxxxxx>


Hi,

I am using Ruby + Opal.
I have compiled Ruby with the MSI_MOSI_CMP_directory protocol.
I would like to know if I can have other protocols compiled (MOESI_CMP_token for example) and choose which one of them to use for simulation, or I have to recompile every time I want to use a different protocol.

For example, can I compile MSI_MOSI_CMP_directory and MOESI_CMP_token ONCE, and then simulate using one of them, and then simulate again using the other one, without recompiling??


Thank you!




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