ruby: Simplify RubyPort flow control and routing
Review Request #2039 - Created Oct. 10, 2013 and submitted
| Information | |
|---|---|
| Andreas Hansson | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10024:e4070f4c57f3 --------------------------- ruby: Simplify RubyPort flow control and routing This patch simplfies the retry logic in the RubyPort, avoiding redundant attributes, and enforcing more stringent checks on the interactions with the normal ports. The patch also simplifies the routing done by the RubyPort, using the port identifiers instead of a heavy-weight sender state. The patch also fixes a bug in the sending of responses from PIO ports. Previously these responses bypassed the queue in the queued port, and ignored the return value, potentially leading to response packets being lost.
All regressions pass
Posted (Jan. 20, 2014, 1:02 p.m.)
-
src/mem/ruby/system/RubyPort.cc (Diff revision 1) -
How do you know that the destination value is what it should be? Should not the packet be routed using the address in the packet?
Ship It!
Review request changed
Updated (Jan. 23, 2014, 9:34 a.m.)
Description: |
|
|||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+74 -98) |
