configs,mem-ruby: Procotol-spec. names in CHI
Use the protocol-specific controller names in CHI. **Important**: This could change some scripts. As long as people use CHI_config (likely), this shouldn't be a problem, but if you have a different version of CHI_config.py locally, you will need to make the following updates: `Cache_Controller` -> `CHI_Cache_Controller` `Memory_Controller` -> `CHI_Memory_Controller` Website updates coming soon! Change-Id: I7afdcede884ac5f9a9a76cc3d3dd35941e4e2faa Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
This commit is contained in:
committed by
Bobby R. Bruce
parent
d56d561102
commit
42fe5accea
@@ -28,7 +28,7 @@ import math
|
||||
from abc import abstractmethod
|
||||
|
||||
from m5.objects import (
|
||||
Cache_Controller,
|
||||
CHI_Cache_Controller,
|
||||
MessageBuffer,
|
||||
RubyNetwork,
|
||||
)
|
||||
@@ -53,7 +53,7 @@ class OrderedTriggerMessageBuffer(TriggerMessageBuffer):
|
||||
ordered = True
|
||||
|
||||
|
||||
class AbstractNode(Cache_Controller):
|
||||
class AbstractNode(CHI_Cache_Controller):
|
||||
"""A node is the abstract unit for caches in the CHI protocol.
|
||||
|
||||
You can extend the AbstractNode to create caches (private or shared) and
|
||||
|
||||
@@ -28,7 +28,7 @@ from typing import List
|
||||
|
||||
from m5.objects import (
|
||||
AddrRange,
|
||||
Memory_Controller,
|
||||
CHI_Memory_Controller,
|
||||
MessageBuffer,
|
||||
Port,
|
||||
RubyNetwork,
|
||||
@@ -48,8 +48,8 @@ class MemCtrlMessageBuffer(MessageBuffer):
|
||||
ordered = True
|
||||
|
||||
|
||||
class MemoryController(Memory_Controller):
|
||||
"""A controller that connects to memory."""
|
||||
class MemoryController(CHI_Memory_Controller):
|
||||
"""A controller that connects to memory"""
|
||||
|
||||
_version = 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user