{"id":13998217,"url":"https://github.com/howardlau1999/yatcpu","last_synced_at":"2025-07-23T06:30:57.521Z","repository":{"id":37904811,"uuid":"438091365","full_name":"howardlau1999/yatcpu","owner":"howardlau1999","description":"Yet another toy CPU.","archived":false,"fork":false,"pushed_at":"2023-12-10T06:28:57.000Z","size":549,"stargazers_count":80,"open_issues_count":14,"forks_count":12,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-08-10T19:16:28.725Z","etag":null,"topics":["chisel-generator","chisel3","cpu","risc-v","riscv"],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/howardlau1999.png","metadata":{"files":{"readme":"README-zh_CN.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-12-14T02:29:59.000Z","updated_at":"2024-07-14T14:31:07.000Z","dependencies_parsed_at":"2024-01-15T19:44:15.370Z","dependency_job_id":"ce3cb65e-72a1-4332-a7e5-1ee1e40f97d5","html_url":"https://github.com/howardlau1999/yatcpu","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"chipsalliance/chisel-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howardlau1999%2Fyatcpu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howardlau1999%2Fyatcpu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howardlau1999%2Fyatcpu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howardlau1999%2Fyatcpu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/howardlau1999","download_url":"https://codeload.github.com/howardlau1999/yatcpu/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227245137,"owners_count":17753239,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chisel-generator","chisel3","cpu","risc-v","riscv"],"created_at":"2024-08-09T19:01:29.121Z","updated_at":"2024-11-30T00:31:17.708Z","avatar_url":"https://github.com/howardlau1999.png","language":"Scala","funding_links":[],"categories":["Scala"],"sub_categories":[],"readme":"# YatCPU\n\n简体中文 | [English](README.md)\n\nYatCPU(**Y**et **a**nother **t**oy CPU) 是一个使用 Chisel 3 硬件设计语言开发的简单的三级流水线 RISC-V CPU，支持 AXI4-Lite。上手简单，具有 VGA 输出功能（目前支持 Basys 3 开发板）。\n\n你可以在自己开发的 CPU 上运行自己开发的俄罗斯方块！\n\n![tetris-demo](https://howardlau.me/wp-content/uploads/2022/06/tetris.gif)\n\n你还可以在自己开发的 CPU 上运行红白机模拟器！\n\n![litenes-demo](https://howardlau.me/wp-content/uploads/2022/06/litenes-scaled.jpg)\n\n本项目深受 [tinyriscv](https://gitee.com/liangkangnan/tinyriscv) 项目的启发, 目前还处于非常初期的阶段。我们正在努力改进，并且希望得到您的反馈和贡献！\n\n## 开发计划\n\n- [ ] L1 指令缓存和数据缓存\n- [ ] 分支预测器\n- [ ] 运行 [逸仙 OS RISC-V](https://github.com/NelsonCheung-cn/yatsenos-riscv)\n- [ ] 支持 RV32M 扩展\n- [x] 通过 RISC-V 合规性测试 \n- [x] 运行 CoreMark 性能测试 \n\n## 前置要求\n\n### 你需要……\n\n- 掌握基本的数字电路与逻辑的设计与分析方法\n- 掌握基本的 C 或 C++ 编程\n- （可选）一个 FPGA 开发板\n\n### 你的电脑需要……\n\n- Windows 10 及以上 / Linux (Debian, Ubuntu, WSL1/2 或其他系统) / macOS\n    - 我们已经在 Windows 10 和 WSL Debian 11 上测试过\n    - macOS 可以运行软件仿真，但无法烧写 FPGA 开发板\n- Java 8 及以上\n- Scala 2.13.8 (不是 3)\n- sbt\n- （可选） [最新版 Verilator](https://veripool.org/guide/latest/install.html)\n- （可选） Vivado 2020.1 及以上\n\n## 快速入门\n\n请参考 [YatCPU 文档](https://yatcpu.sysu.tech)。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhowardlau1999%2Fyatcpu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhowardlau1999%2Fyatcpu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhowardlau1999%2Fyatcpu/lists"}