{"id":16569347,"url":"https://github.com/skyleaworlder/mips-cpu31","last_synced_at":"2026-03-06T18:33:04.964Z","repository":{"id":122580333,"uuid":"325931953","full_name":"skyleaworlder/Mips-CPU31","owner":"skyleaworlder","description":":warning: 单周期 31 条指令 Mips-CPU。疫情在家写的，甚至没下过板子，谁知道能不能跑呢？","archived":false,"fork":false,"pushed_at":"2021-01-01T07:12:56.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T00:53:38.300Z","etag":null,"topics":["mips-simulator"],"latest_commit_sha":null,"homepage":"https://skyleaworlder.github.io/2020/06/18/CPU31/","language":"Verilog","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skyleaworlder.png","metadata":{"files":{"readme":"README.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-01T06:54:09.000Z","updated_at":"2021-01-01T07:13:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"c6fb7511-d8c0-4b34-9544-792686a459cf","html_url":"https://github.com/skyleaworlder/Mips-CPU31","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyleaworlder%2FMips-CPU31","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyleaworlder%2FMips-CPU31/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyleaworlder%2FMips-CPU31/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyleaworlder%2FMips-CPU31/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skyleaworlder","download_url":"https://codeload.github.com/skyleaworlder/Mips-CPU31/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242023210,"owners_count":20059297,"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":["mips-simulator"],"created_at":"2024-10-11T21:13:10.525Z","updated_at":"2026-03-06T18:32:59.911Z","avatar_url":"https://github.com/skyleaworlder.png","language":"Verilog","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mips-CPU31\n\n**:warning: 这份代码存在跑不通的可能**。\n\n## 一、其实\n\n当时在家里，板子没带回家，也仅仅只是做到了通过 `mips` 网站上的仿真，并不意味着一点 `bug` 都没有。\n\n更何况过了这么久，有没有改动过致命的地方、能不能跑在 `Vivado 2018` 上，这些我都不知道。\n\n\n\n## 二、尽管如此\n\n我相信大体框子是没有问题的。但是这里的 “没有问题” 也仅仅是对于 `CPU31` 而言的。一份代码需要看它的可扩展性，要看耦合度，我就是觉得这份代码可扩展性不强（原因是 `Controller.v` 这个文件在语义上清晰，但是内部实现很混乱，加一条指令就要改很多地方）。\n\n\n\n## 三、可是\n\n这份代码的理论是没有特别大的错误的，详见：[从 100 开始的 Mars Vivado CPU31 小实验 | 遐想的空中宫殿 (skyleaworlder.github.io)](https://skyleaworlder.github.io/2020/06/18/CPU31/)\n\n这篇博客虽然无法提供真真正正的技术支持，但还算是简略讲述了 “31 条指令单周期 CPU” 设计动脑最少的方法。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyleaworlder%2Fmips-cpu31","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskyleaworlder%2Fmips-cpu31","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyleaworlder%2Fmips-cpu31/lists"}