ruby: Atomic Message Interface Support
Review Request #1629 - Created Jan. 14, 2013 and updated
| Information | |
|---|---|
| Derek Hower | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9475:6f76e7b25361 --------------------------- ruby: Atomic Message Interface Support This patch adds Atomic Message Interfaces to SLICC/Ruby. AMIs look a lot like conventional MessageBuffers, except they guarantee immediate consumption of an enqueued message by the receiving controller, before any other activity. This feature simplifies protocols with co-located controllers where messages and information can be passed between the two, without worrying about unecessary races.
Issue Summary
7
5
0
2
| Description | From | Last Updated | Status |
|---|---|---|---|
| Can you explain what sim object members / methods are being used by this class? | Nilay Vaish | Jan. 17, 2013, 2:46 a.m. | Open |
| You should avoid using g_system_ptr->getTime(). The plan is to remove this function altogether. While I don't understand what the structure ... | Nilay Vaish | Jan. 17, 2013, 2:46 a.m. | Open |
| Same comment as above. | Nilay Vaish | Jan. 17, 2013, 2:46 a.m. | Open |
| Same as above. | Nilay Vaish | Jan. 17, 2013, 2:46 a.m. | Open |
| Same as above. | Nilay Vaish | Jan. 17, 2013, 2:46 a.m. | Open |
Posted (Jan. 14, 2013, 4:03 a.m.)
-
src/mem/ruby/system/SConscript (Diff revision 1) -
Do we still need this line?
-
src/mem/ruby/system/SConscript (Diff revision 1) -
Do we still need this line?
Review request changed
Updated (Jan. 16, 2013, 3:28 a.m.)
Description: |
|
|||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+559 -214) |
Posted (Jan. 17, 2013, 2:46 a.m.)
-
src/mem/ruby/system/AtomicMsgInterface.hh (Diff revision 2) -
Can you explain what sim object members / methods are being used by this class?
-
src/mem/ruby/system/AtomicMsgInterface.cc (Diff revision 2) -
You should avoid using g_system_ptr->getTime(). The plan is to remove this function altogether. While I don't understand what the structure AtomicMessageInterface is meant for, it should be using the clock of any clocked object it is naturally associated with. In this case, it might be the controller.
-
src/mem/ruby/system/AtomicMsgInterface.cc (Diff revision 2) -
Same comment as above.
-
src/mem/ruby/system/AtomicMsgInterface.cc (Diff revision 2) -
Same as above.
-
src/mem/ruby/system/AtomicMsgInterface.cc (Diff revision 2) -
Same as above.
