rubytest: seperated read and write ports.
Review Request #1126 - Created April 4, 2012 and submitted
Information | |
---|---|
Brad Beckmann | |
gem5 | |
default | |
Reviewers | |
Default | |
Changeset 8927:33cb489aee57 --------------------------- rubytest: seperated read and write ports. This patch allows the ruby tester to support protocols where the i-cache and d-cache are managed by seperate controllers.
Issue Summary
4
1
0
3
Description | From | Last Updated | Status |
---|---|---|---|
Brad, this printf() statement also got committed. | Nilay Vaish | April 6, 2012, 10:26 a.m. | Open |
Posted (April 4, 2012, 7:26 p.m.)
-
src/cpu/testers/rubytest/RubyTester.hh (Diff revision 1) -
Why not call these getInstPort and getDataPort like we do for the actual CPU models, or is that not what it is supposed to model?
Posted (April 4, 2012, 7:26 p.m.)
I would suggest inst/data rather than read/write throughout to be consistent with the gem5 CPU models.
Review request changed
Updated (April 5, 2012, 7:28 a.m.)
Description: |
|
|||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+135 -51) |
Review request changed
Updated (April 5, 2012, 11:06 a.m.)
Description: |
|
|||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 3 (+135 -51) |
Posted (April 5, 2012, 4:48 p.m.)
-
src/cpu/testers/rubytest/RubyTester.cc (Diff revision 3) -
This seems to be wrong if a data port is in both read and write. Overall, I would prefer an organisation of instPorts and dataPorts, and then use the getRead/Write Port to do the "magic" mapping into these two.
-
src/cpu/testers/rubytest/RubyTester.cc (Diff revision 3) -
May as well made the index a size_t to please the STL array lookup and comparison with size().
Thanks for the changes!
Review request changed
Updated (April 6, 2012, 6:40 a.m.)
Description: |
|
|||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 4 (+134 -51) |
Posted (April 6, 2012, 10:26 a.m.)
-
src/cpu/testers/rubytest/RubyTester.cc (Diff revision 4) -
Brad, this printf() statement also got committed.