You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://star-history.com/#muditbhargava66/CacheSimulator&Date)
Copy file name to clipboardExpand all lines: docs/developer/architecture.md
+23-1Lines changed: 23 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,7 +109,7 @@ The `Cache` class provides a clean `access()` method that handles all the comple
109
109
110
110
The `MemoryHierarchy` class orchestrates the entire cache hierarchy, managing:
111
111
112
-
- Multiple cache levels (L1, L2)
112
+
- Multiple cache levels (L1, L2, L3) - L3 support added in v1.4.0
113
113
- Memory access flow through the hierarchy
114
114
- Prefetching configuration and coordination
115
115
- Statistics aggregation
@@ -118,6 +118,28 @@ The `MemoryHierarchy` class orchestrates the entire cache hierarchy, managing:
118
118
119
119
This class serves as the main API for applications interacting with the simulator, providing methods to access memory, process traces, and retrieve statistics.
120
120
121
+
#### L3 Cache Support
122
+
123
+
The `MemoryHierarchy` now supports an optional L3 cache with:
124
+
- Configurable size, associativity, and block size
125
+
- Inclusive or non-inclusive policy
126
+
- Statistics tracking (hit rate, miss rate)
127
+
- Proper access flow: L1 miss → L2 access → L2 miss → L3 access
128
+
129
+
#### Coherence Protocol Framework
130
+
131
+
Abstract `CoherenceProtocolBase` class with implementations:
0 commit comments