A Java-based CPU, Cache, and Main Memory simulator demonstrating computer architecture concepts.
- CPU with register operations (ADD, SUBTRACT, MULTIPLY, DIVIDE)
- Cache memory with LRU replacement policy
- Main memory simulation
- Detailed operation logging
- Performance statistics
- Open in IntelliJ IDEA
- Run Main.java
- Watch the simulation in action!
- CPU: Handles arithmetic operations and register management
- Cache: Implements cache hits/misses with LRU eviction
- Main Memory: Data storage with random access patterns