Giter Site home page Giter Site logo

risc-v-cpu's Introduction

RISCV-CPU 2023

实现框架

  • Memory Controller
  • Instruction Fetcher, Instruction Cache, Predictor
  • Decoder(Despatcher)
  • Reservation Station
  • Reorder Buffer
  • Load Store Buffer
  • Register File
  • ALU

主要架构特点为 Instruction Fetcher 放在 Instruction Cache 和 Memory Controller 中间,其实实际效率可能没什么提升,大概只是自己当时的想法罢了

运行效率

​ 没有 Instruction Cache 的情况下,频率为 100 MHz,WNS 为 +1 ns 左右

​ 使用大小为 256 的 Instruction Cache 的情况下,频率为 83.3MHz,WNS 为 -0.5 ns 左右,效率已经达到了正常水平,具体测试点运行时间待更新

​ 使用大小为 512 的 Instruction Cache 的情况下,尚未测试,待更新

一些 bug

​ 模拟时问题太杂了,参考 commit 记录

​ 上板时组合逻辑中的 reg 没有赋初值导致存在 latch

risc-v-cpu's People

Contributors

polarisdane avatar rabbitcabbage avatar

Stargazers

Eason Wang avatar

Watchers

 avatar

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.