22
33# 🚀 Cache Simulator
44
5- ![ Version] ( https://img.shields.io/badge/version-1.2.1 -blue )
6- ![ C++17 ] ( https://img.shields.io/badge/C%2B%2B-17 -orange )
5+ ![ Version] ( https://img.shields.io/badge/version-1.2.2 -blue )
6+ ![ C++20 ] ( https://img.shields.io/badge/C%2B%2B-20 -orange )
77![ License] ( https://img.shields.io/badge/license-MIT-green )
88![ Build Status] ( https://img.shields.io/badge/build-passing-brightgreen )
99![ PRs Welcome] ( https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square )
2121
2222</div >
2323
24- ## ✨ What's New in v1.2.0
24+ ## ✨ What's New in v1.2.2
25+
26+ - ** 🪟 Windows Support** : Full cross-platform compatibility with PowerShell build scripts
27+ - ** 🐛 Bug Fixes** : Fixed replacement policy parsing for JSON/INI configs (FIFO, Random, PLRU now work)
28+ - ** 💬 Inline Comments** : Trace files now support comments at end of lines (` r 0x1000 # comment ` )
29+ - ** 📄 Enhanced Docs** : Comprehensive Windows platform guide
30+
31+ ### Previous: v1.2.0 Highlights
2532
2633- ** 🔄 NRU Replacement Policy** : Efficient Not Recently Used implementation with reference bit tracking
2734- ** 💾 Victim Cache** : Reduces conflict misses by up to 25% with configurable fully-associative cache
2835- ** 📝 Advanced Write Policies** : No-write-allocate and write combining buffer support
2936- ** ⚡ Parallel Processing** : Multi-threaded simulation with up to 4x speedup on 8-core systems
3037- ** 🖥️ Multi-Processor Support** : Complete MESI coherence protocol with directory-based tracking
3138- ** 📊 Statistical Visualization** : Built-in ASCII charts including line graphs, pie charts, and heatmaps
32- - ** 🔧 Enhanced Tools** : Cache analyzer and performance comparison utilities
3339
3440## 🎯 Key Features
3541
6369## 🚀 Quick Start
6470
6571### Prerequisites
66- - C++17 compatible compiler (GCC 7 +, Clang 5 +, MSVC 19.14 +)
72+ - C++20 compatible compiler (GCC 10 +, Clang 10 +, MSVC 2019 +)
6773- CMake 3.14+ or GNU Make
6874- Optional: Python 3.6+ for visualization scripts
6975
7076### Installation
7177
78+ #### Linux / macOS (Bash)
7279``` bash
7380# Clone the repository
7481git clone https://github.com/muditbhargava66/CacheSimulator.git
@@ -79,10 +86,30 @@ mkdir build && cd build
7986cmake -DCMAKE_BUILD_TYPE=Release ..
8087cmake --build . -j$( nproc)
8188
82- # Or build with Make
83- make -j$( nproc)
89+ # Or use the build script
90+ ./build.sh
91+ ```
92+
93+ #### Windows (PowerShell)
94+ ``` powershell
95+ # Clone the repository
96+ git clone https://github.com/muditbhargava66/CacheSimulator.git
97+ cd CacheSimulator
98+
99+ # Use the PowerShell build script
100+ .\build.ps1
101+
102+ # Or build manually
103+ mkdir build; cd build
104+ cmake -DCMAKE_BUILD_TYPE=Release ..
105+ cmake --build . --parallel
106+
107+ # Run tests
108+ ctest --output-on-failure
84109```
85110
111+ > ** 📖 See [ docs/WINDOWS.md] ( docs/WINDOWS.md ) for detailed Windows instructions.**
112+
86113### Basic Usage
87114
88115``` bash
@@ -297,7 +324,7 @@ If you use this simulator in your research, please cite:
297324@software{CacheSimulator2025,
298325 author = {Mudit Bhargava},
299326 title = {Cache Simulator: A C++17 Cache and Memory Hierarchy Simulator},
300- version = {1.2.1 },
327+ version = {1.2.2 },
301328 year = {2025},
302329 url = {https://github.com/muditbhargava66/CacheSimulator}
303330}
@@ -332,7 +359,7 @@ This simulator is ideal for:
332359📫 ** Contact** : [ @muditbhargava66 ] ( https://github.com/muditbhargava66 )
333360🐛 ** Report Issues** : [ Issue Tracker] ( https://github.com/muditbhargava66/CacheSimulator/issues )
334361
335- © 2025 Mudit Bhargava. [ MIT License] ( LICENSE )
362+ © 2026 Mudit Bhargava. [ MIT License] ( LICENSE )
336363<!-- Copyright symbol using HTML entity for better compatibility -->
337364
338365</div >
0 commit comments