ruby: change clock periods for requests associated with ruby port
Review Request #3451 - Created April 15, 2016 and updated
Information | |
---|---|
Brandon Potter | |
gem5 | |
default | |
Reviewers | |
Default | |
Changeset 11444:4e99eb9997e2 --------------------------- ruby: change clock periods for requests associated with ruby port This suggestion was brought up here: reviews.gem5.org/r/3442 This change involves using the clock period set by a ruby port (instead of the clock period used by the ruby system) when issuing requests through the ruby port object to attached objects.
Ship It!
Posted (April 18, 2016, 1:01 p.m.)
-
src/mem/ruby/system/RubyPort.cc (Diff revision 1) -
Doh! Apologies for the incorrect recommendation in the other review request: instead of (curTick() + rp->clockPeriod()), these should be tightened up even farther to just use (rp->nextCycle()).
Review request changed
Updated (April 21, 2016, 12:49 p.m.)
Description: |
|
||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+4 -6) |
Posted (April 23, 2016, 2:09 a.m.)
-
src/mem/ruby/system/RubyPort.cc (Diff revision 2) -
May I propose we take one step further and do not use a queued port here?
This should be as easy as just returning rp->pioSlavePort.sendTimingResp(pkt);
The retry should not be difficult to wire up.
I really don't think there is a need for a queued port here.