configs: Update memory port name in Ruby
Memory port for controllers is now called memory_out_port. 'memory' is a depracated param according to this change: https://gem5-review.googlesource.com/c/public/gem5/+/34417 Change-Id: I6a561f5603c7597a3974af1766ab642acb3e59de Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/58189 Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -130,7 +130,7 @@ def setup_memory_controllers(system, ruby, dir_cntrls, options):
|
|||||||
if len(system.mem_ranges) > 1:
|
if len(system.mem_ranges) > 1:
|
||||||
crossbar = IOXBar()
|
crossbar = IOXBar()
|
||||||
crossbars.append(crossbar)
|
crossbars.append(crossbar)
|
||||||
dir_cntrl.memory = crossbar.cpu_side_ports
|
dir_cntrl.memory_out_port = crossbar.cpu_side_ports
|
||||||
|
|
||||||
dir_ranges = []
|
dir_ranges = []
|
||||||
for r in system.mem_ranges:
|
for r in system.mem_ranges:
|
||||||
@@ -152,7 +152,7 @@ def setup_memory_controllers(system, ruby, dir_cntrls, options):
|
|||||||
if crossbar != None:
|
if crossbar != None:
|
||||||
mem_ctrl.port = crossbar.mem_side_ports
|
mem_ctrl.port = crossbar.mem_side_ports
|
||||||
else:
|
else:
|
||||||
mem_ctrl.port = dir_cntrl.memory
|
mem_ctrl.port = dir_cntrl.memory_out_port
|
||||||
|
|
||||||
# Enable low-power DRAM states if option is set
|
# Enable low-power DRAM states if option is set
|
||||||
if issubclass(mem_type, DRAMInterface):
|
if issubclass(mem_type, DRAMInterface):
|
||||||
|
|||||||
Reference in New Issue
Block a user