GithubHelp home page GithubHelp logo

ifu's Introduction

iFu

你说得对,但是《 iFu 》是由 ??? 自主编写的一款全新超标量乱序CPU。CPU运行在一个被称作「 FPGA 」的物理世界,在这里被 SBT 选中的 Chisel Codes 将被授予「 编译运行 」,引导 仿真与综合 之力。你将扮演一位名为「 /*TODO*/ 」的神秘角色,在自由的 LoongArch32 中邂逅性格各异、能力独特的 Instructions ,和它们一起击败 CoreMark ,找回 性能 的同时,逐步发掘「 B+ = 3.3 」的真相 。

项目结构

.
|-- README.md
`-- iFu
    |-- Makefile
    |-- README.md
    |-- build.sbt
    |-- doc
    |-- mem.conf
    `-- src
        |-- main
        `-- test

环境配置

  1. 参考https://www.chisel-lang.org/docs/installation安装SBT

编译运行

  1. 修改iFu/Makfile中的gen_dirsystem verilog代码生成目录
  2. 运行make命令,即可在gen_dir目录下生成iFuCore.sv文件

仿真环境

  1. 本项目仿真依赖于chiplab
  2. gen_dir设置为chiplab/IP/myCPU
  3. 目前采用的总线协议为计算机组成与体系结构实验中使用的CBus,需要在chiplab/IP/myCPU/iFuCore.sv下添加部分文件用以将CBus转换为AXI总线协议
    • TODO: 修改为AXI总线协议
  4. iFuCore.sv接入到chiplab/IP/myCPU/mycpu_top.v
  5. 完成上述步骤后,即可使用chiplab提供的仿真环境进行仿真

ifu's People

Contributors

anon-233 avatar softegli avatar liusiyuan2022 avatar zeroknighting avatar octopus314 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.