For the second problem, may I define a in_port without
triggering any events (just like goo_in)?
in_port(goo_in, RequestMsg, goo)
{ if (goo_in.isReady())
{ peek(goo_in, RequestMsg) {
// assert(false); }
} }
and I have found MessageBuffer goo and foo in
MOESI_CMP_directory-L1Cache.sm, what are they used to
do?
When I created the victimbuffer within the L1 cache using
L1Cache_Entry as template_hack and create MessageBuffer for
it to communicate with L1, I need not specify the network and
virtual_network parameters, am I right?
|