ruby: Add bridges between RubyPort and NoncoherentBus
Review Request #2153 - Created Jan. 23, 2014 and discarded
| Information | |
|---|---|
| Andreas Hansson | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10022:6be85e163055 --------------------------- ruby: Add bridges between RubyPort and NoncoherentBus This patch adds bridges between the PIO port of the Ruby sequencers (based on RubyPort) and the PIO bus (based on NoncoherentBus). Both the RubyPort and the bus are multiplexing components, and as such, they should be connected by a bridge, similar to the memory bus and PIO bus in the classic memory system. The patch http://reviews.gem5.org/r/2039/ depends on this one.
All regressions pass (with some minor stats changes)
Issue Summary
1
1
0
0
| Description | From | Last Updated | Status |
|---|---|---|---|
| I think there is some problem here. You are setting source to 0 here, but in review 2039, you set ... | Nilay Vaish | Jan. 24, 2014, 8:40 p.m. | Open |
Posted (Jan. 24, 2014, 8:40 p.m.)
-
src/mem/ruby/system/RubyPort.cc (Diff revision 1) -
I think there is some problem here. You are setting source to 0 here, but in review 2039, you set source to the id of the port that received this request packet. Which one do you want to go with?
Posted (Jan. 26, 2014, 11:02 p.m.)
I think we should drop this patch. Two reasons: * I need to add port connections where the ruby port act as the slave side and the piobus acts as the master side. This means that the in-between bridge will have to inform the piobus of the address ranges the bridge will cater to. Those address ranges are not known to the ruby port until the attached interrupt controllers pass that information. But the bridge assumes that this information is available while the object is being constructed and the piobus is informed of the ranges in the init() function of the bridge. We cannot assign some big default range (as being done for most bridges used) since one bridge for each ruby port needs to be added. * In future we will severe this direct connection between ruby port and the piobus. I think we can simply retain the current setup of connecting things directly to the piobus.
