Giter Club home page Giter Club logo

yk-youngk / ca_proj1-3_gem5 Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 0.0 17.82 MB

Implement branch predictor, cache replacement policy, and cache prefetcher on gem5. Course project 1-3 for Computer Architectures course in Peking University (2023 fall).

License: BSD 3-Clause "New" or "Revised" License

Python 15.25% Shell 0.19% C 7.64% C++ 75.71% Makefile 0.07% CMake 0.24% Starlark 0.05% HTML 0.31% SCSS 0.01% M4 0.07% SWIG 0.01% sed 0.01% BASIC 0.01% SuperCollider 0.02% Scala 0.01% Assembly 0.25% Awk 0.01% Hack 0.14% Fortran 0.03% Forth 0.01%
computer-architecture gem5 pku

ca_proj1-3_gem5's Introduction

Computer Architectures, Project 1-3 (2023 fall)

Implement branch predictor, cache replacement policy, and cache prefetcher on gem5. Course project 1-3 for Computer Architectures course in Peking University (2023 fall).

Project 2: Implement simple branch predictor (always taken) and perceptron branch predictor. See src/cpu/pred/mysimple.cc, src/cpu/pred/mysimple.hh, src/cpu/pred/myperceptron.cc, src/cpu/pred/myperceptron.hh for more details.

Project 3: Implement clock cache replacement policy and perceptron-based cache prefetcher. For clock cache replacement policy, you can refer to mem/cache/replacement_policies/myclock_rp.cc and mem/cache/replacement_policies/myclock_rp.hh for more details. For perceptron-based cache prefetcher, I implement it based on signature path prefetcher. You can refer to mem/prefetch/spp_ppf.cc, mem/prefetch/spp_ppf.hh, mem/prefetch/sppv2_ppf.cc, and mem/prefetch/sppv2_ppf.hh for more details.

Besides, each project has several simulation and evaluation tasks which are not listed above. You can refer to project instructions for more details. For how to compile and use gem5, you can refer to project manual.

ca_proj1-3_gem5's People

Contributors

yk-youngk avatar

Stargazers

Jiahui Niu avatar

ca_proj1-3_gem5's Issues

关于课程的相关资料

Besides, each project has several simulation and evaluation tasks which are not listed above. You can refer to project instructions for more details.

您好,

我想通过贵校arch课程设计的lab(slides)学习gem5,请问readme提到的tasks和instructions可以分享吗?

万分感谢恳求

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.