[Gems-users] modules


Date: Wed, 18 Oct 2006 10:01:01 -0700 (PDT)
From: "Dave Z." <zhu_dave@xxxxxxxxx>
Subject: [Gems-users] modules
Hello,

I'm working on a new instruction decoder module in
Simics. The new instructions will basically send
special CacheMsg to the cache controller. I'm
wondering if it is possible to establish such
interaction with the cache controller from another
Simics module. 

For example, one of the instructions will take
destination cpu number (stored in a register) as an
argument and send some message to the cache
controller. The cache controller will then use the
destination cpu number and take some actions. Since
Ruby is implemented as a module, I'm wondering if it
is possible to access Ruby from another Simics module.
Does this approach introduce any inefficiency to the
system?

Finally, I believe I need to compile the decoder
module together with Ruby as it will use Ruby's
sequencer methods. Where should I put the decoder
module in the Ruby tree? Thank you for your help.

Regards,

Dave

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
[← Prev in Thread] Current Thread [Next in Thread→]