Denisse Lin wrote:
Dear List,
I would like to ask a couple of questions regarding how the cache and
directory controllers work in Ruby.
- Does the order of ports (mandatory queue, request queue, response
queue, etc.) affect the execution behavior?
Yes. The order you specify them is the order events trigger. Have a
look at the generated L1Cache_Wakeup.C file.
- Does Ruby allow events being triggered in parallel? For example, if
there are messages in several ports at the same time step, do the
events and corresponding actions take place simultaneously?
Ruby is a sequential simulator so events triggering in the same cycle
take place in the order above.
--Mike
|