# simulator_learning **Repository Path**: tiaozhanzhe1900/simulator_learning ## Basic Information - **Project Name**: simulator_learning - **Description**: 基于CPP的仿真器学习 - **Primary Language**: C++ - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-05-30 - **Last Updated**: 2024-11-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # simulator_learning ## 介绍 基于CPP的仿真器学习合集,用于个人学习,目前包含基于行为级仿真的Cache Model、基于行为级仿真的x86 CPU Model。 代码在阅读与学习过程中也有修改。 ### CacheSim: 基于行为级仿真的Cache Model 搬运自FindHao的https://gitee.com/findspace/CacheSim 教程在https://www.findhao.net/easycoding/1717 操作为 ``` cd CacheSim cmake . make ./CacheSim ``` ### NEMU: 基于行为级仿真的x86 CPU Model NEMU(NJU Emulator)是南京大学计算机系统基础课程实验,同时也是复旦大学计算机原理课程实验,搬运自jasha64的https://github.com/jasha64/ics2015 教程在https://fdu-ics.gitbooks.io/ics-programming-assignment/content/ 和https://legacy.gitbook.com/book/nju-ics/ics2015-programming-assignment/details 其中,我删去了和游戏与操作系统相关的代码,实验只保留到Cache那一步。个人笔记记录在```NEMU/report/note.md```。 操作为 ``` sudo apt-get install libreadline-dev cd NEMU make make run ``` 出现```HIT GOOD TRAP```表示运行成功。