diff --git a/assignment-7/components/__init__.py b/assignment-7/components/__init__.py index 913a1d0..abecee2 100644 --- a/assignment-7/components/__init__.py +++ b/assignment-7/components/__init__.py @@ -8,14 +8,13 @@ from gem5.components.processors.simple_processor import SimpleProcessor from gem5.isas import ISA -from cache_hierarchies import HW5MESITwoLevelCacheHierarchy +from cache_hierarchies import MESITwoLevelCacheHierarchy -HW5RISCVBoard = SimpleBoard +X86Board = SimpleBoard - -class HW5DDR4(ChanneledMemory): +class DDR4(ChanneledMemory): """ - HW5DDR4 models a 1 GiB single channel DDR4 DRAM memory with a data + DDR4 models a 1 GiB single channel DDR4 DRAM memory with a data bus clocked at 2400MHz. """ @@ -23,10 +22,10 @@ def __init__(self): super().__init__(DDR4_2400_8x8, 1, 128, size="1GiB") -class HW5O3CPU(SimpleProcessor): +class O3CPU(SimpleProcessor): def __init__(self, num_cores: int): """ - HW5O3CPU is an out of order processor with a configurable number of + O3CPU is an out of order processor with a configurable number of cores. Note that because of limitations of SE mode and OpenMP we need to have one more core than specified. E.g., for 4 threads you need 5 cores. You should ignore the "first" core's stats. @@ -42,8 +41,8 @@ def get_actual_num_cores(self): __all__ = [ - "HW5RISCVBoard", - "HW5DDR4", - "HW5O3CPU", - "HW5MESITwoLevelCacheHierarchy", + "X86Board", + "DDR4", + "O3CPU", + "MESITwoLevelCacheHierarchy", ] diff --git a/assignment-7/components/cache_hierarchies.py b/assignment-7/components/cache_hierarchies.py index f017db9..664918b 100644 --- a/assignment-7/components/cache_hierarchies.py +++ b/assignment-7/components/cache_hierarchies.py @@ -51,7 +51,7 @@ RubyPortProxy, ) -class HW5MESITwoLevelCacheHierarchy( +class MESITwoLevelCacheHierarchy( AbstractRubyCacheHierarchy, AbstractTwoLevelCacheHierarchy ): """A two level private L1 shared L2 MESI hierarchy. diff --git a/assignment-7/images/parallel-alg-1.png b/assignment-7/images/parallel-alg-1.png new file mode 100644 index 0000000..15040bc Binary files /dev/null and b/assignment-7/images/parallel-alg-1.png differ diff --git a/assignment-7/images/parallel-alg-2.png b/assignment-7/images/parallel-alg-2.png new file mode 100644 index 0000000..60ed99d Binary files /dev/null and b/assignment-7/images/parallel-alg-2.png differ diff --git a/assignment-7/images/parallel-alg-3.png b/assignment-7/images/parallel-alg-3.png new file mode 100644 index 0000000..1617e0c Binary files /dev/null and b/assignment-7/images/parallel-alg-3.png differ diff --git a/assignment-7/images/parallel-alg-4.png b/assignment-7/images/parallel-alg-4.png new file mode 100644 index 0000000..e4f739c Binary files /dev/null and b/assignment-7/images/parallel-alg-4.png differ diff --git a/assignment-7/images/parallel-alg-5.png b/assignment-7/images/parallel-alg-5.png new file mode 100644 index 0000000..3661be4 Binary files /dev/null and b/assignment-7/images/parallel-alg-5.png differ diff --git a/assignment-7/images/parallel-alg-6.png b/assignment-7/images/parallel-alg-6.png new file mode 100644 index 0000000..4be8048 Binary files /dev/null and b/assignment-7/images/parallel-alg-6.png differ