[Gems-users] Multiple Protocol Co-exist in Simics Tree?


Date: Sat, 21 Feb 2009 18:09:17 -0600
From: Yangchun Luo <yluo@xxxxxxxxxx>
Subject: [Gems-users] Multiple Protocol Co-exist in Simics Tree?
Hi,

I would like to hear any suggestions on how to maintain multiple cache coherence protocol in the simics tree.

A protocol is hard-coded in ruby. When ruby is compiled, a dynamic library ruby.so is generated in $simics_workspace/$(hostmachine_type)/lib/

If generating another protocol (compile ruby again), it is still the same file name (ruby.so). I did put DESTINATION=protocol_name when making ruby; however, it doesn't affect the location.

So we have to rename the ruby.so to reflect different protocols.

But my question is when doing "load-module ruby" in simics, what is the searching policy for the ruby module?

It looks like even I rename ruby.so to ruby-PROTOCOL_NAME.so, simics can still find it.
But if ruby-P1.so and ruby-P2.so co-exist there, how can we be sure which module is loaded?

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