{"id":28724090,"url":"https://github.com/mshockwave/mips-r3000-cpu-simulator","last_synced_at":"2025-08-16T17:04:34.657Z","repository":{"id":77311677,"uuid":"54686020","full_name":"mshockwave/MIPS-R3000-CPU-Simulator","owner":"mshockwave","description":null,"archived":false,"fork":false,"pushed_at":"2016-06-09T15:23:21.000Z","size":4084,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-15T10:09:15.853Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mshockwave.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,"zenodo":null}},"created_at":"2016-03-25T01:39:00.000Z","updated_at":"2025-03-09T21:18:34.000Z","dependencies_parsed_at":"2023-03-12T00:23:20.373Z","dependency_job_id":null,"html_url":"https://github.com/mshockwave/MIPS-R3000-CPU-Simulator","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mshockwave/MIPS-R3000-CPU-Simulator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mshockwave%2FMIPS-R3000-CPU-Simulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mshockwave%2FMIPS-R3000-CPU-Simulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mshockwave%2FMIPS-R3000-CPU-Simulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mshockwave%2FMIPS-R3000-CPU-Simulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mshockwave","download_url":"https://codeload.github.com/mshockwave/MIPS-R3000-CPU-Simulator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mshockwave%2FMIPS-R3000-CPU-Simulator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270742043,"owners_count":24637504,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-06-15T10:09:14.746Z","updated_at":"2025-08-16T17:04:33.988Z","avatar_url":"https://github.com/mshockwave.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"MIPS R3000 CPU Simulator\n=====================\nThis is a series of homework in one of the Computer Architecture courses(10420CS 410001) in [CS department of National Tsing Hua University](http://web.cs.nthu.edu.tw/).\n\nThe first homework would implement a single cycle MIPS CPU simulator.\nWe use [reduced set of MIPS R3000 ISA](doc/MIPS_R3000_ISA.pdf).\u003cbr/\u003e\nThe tests/test_dataset folder contains subdirectories of test binary files.\n\nBuild\n-------------\nThis project use **CMake**, the minimum version required is 2.8.\nThe main programming language is C++11.\n* Initialize cmake files:\u003cbr/\u003e\n  `mkdir build`\u003cbr/\u003e\n  `cd build`\u003cbr/\u003e\n  `cmake -DCMAKE_BUILD_TYPE=\u003cDebug/Release\u003e ..`\u003cbr/\u003e\n  `Release` build type use `-Os` compiler optimization flag since `-O3` is proved to break the programs execution logic.\n\n\n* Build main program:\u003cbr/\u003e\n  `make pipeline`\n\n* Build unit tests main program:\u003cbr/\u003e\n  `make pipelineTests`\n\n* Or just build all stuff:\u003cbr/\u003e\n  `make`\n\nUsage\n-----\n* `./pipeline \u003cPath of folder contains test binaries\u003e`\u003cbr/\u003e\n  E.g. `./pipeline test_dataset/func` Where test_dataset/func contains the desired binary files: `iimage.bin` and `dimage.bin`\n\n* `./ArchiHW1` would find those two binary files in current path.\n\nThe result output files, `snapshot.rpt` and `error_dump.rpt`, would put in current path.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmshockwave%2Fmips-r3000-cpu-simulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmshockwave%2Fmips-r3000-cpu-simulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmshockwave%2Fmips-r3000-cpu-simulator/lists"}