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:
Jason Lowe-Power
2022-03-30 17:13:24 -07:00
committed by Bobby R. Bruce
parent d56d561102
commit 42fe5accea
3 changed files with 14 additions and 14 deletions

View File

@@ -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

View File

@@ -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