{"id":26821443,"url":"https://github.com/thunder04/mips-simulator","last_synced_at":"2025-06-23T17:37:22.431Z","repository":{"id":229010533,"uuid":"754529335","full_name":"thunder04/mips-simulator","owner":"thunder04","description":"A minimal implementation of a Multi-cycle MIPS Simulator, written in C","archived":false,"fork":false,"pushed_at":"2025-03-13T09:57:05.000Z","size":196,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T10:36:22.426Z","etag":null,"topics":["mips-assembly","mips-simulator"],"latest_commit_sha":null,"homepage":"","language":"C","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/thunder04.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}},"created_at":"2024-02-08T08:51:29.000Z","updated_at":"2025-03-13T09:57:09.000Z","dependencies_parsed_at":"2024-03-21T16:27:43.478Z","dependency_job_id":"1d5bc18e-202e-4b53-b28d-999e0b6ae9e0","html_url":"https://github.com/thunder04/mips-simulator","commit_stats":null,"previous_names":["thunder04/mips-simulator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thunder04%2Fmips-simulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thunder04%2Fmips-simulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thunder04%2Fmips-simulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thunder04%2Fmips-simulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thunder04","download_url":"https://codeload.github.com/thunder04/mips-simulator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246290555,"owners_count":20753723,"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-assembly","mips-simulator"],"created_at":"2025-03-30T07:30:51.372Z","updated_at":"2025-03-30T07:30:52.767Z","avatar_url":"https://github.com/thunder04.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mips-simulator\n\nA minimal implementation of a Multi-cycle MIPS Simulator. It is not intended to be used for production use.\n\nIt accepts a pseudo-object file, which is a file consisting of multiple 32-bit words, separated by a newline.\nThe program assumes the file is valid. Any line starting with `#` are treated as comments, and are ignored.\n\n## Building The Simulator\n\nRun `make clean; make all`\n\n\u003e [!IMPORTANT]\n\u003e It has been tested only on Linux.\n\n### Running The Simulator\n\nRun `./mips_simulator pseudo-object-file stats-file`.\nFor example: `./mips_simulator tests/1_math_test.o ./math_test.stats`\n\n## Interesting Places\n\n\u003csup\u003eMore like keypoints for the university assignment\u003c/sup\u003e\n\n- The `clock` of the CPU is stored at [`src/units/control/control.c`](src/units/control/control.c#L19)\n- The `μPC` of the CPU is stored at [`src/units/control/control.c`](src/units/control/control.c#L19)\n- The microcode for the instructions is stored at [`src/units/control/microcode.c`](src/units/control/microcode.c#L11)\n- Registers, memory and Special Function Registers are stored at:\n  - For registers, [`src/units/register_file.c`](src/units/register_file.c)\n  - For memory, [`src/units/memory.c`](src/units/memory.c)\n  - For SFRs, [`src/special_function_registers.c`](src/special_function_registers.c)\n- The ALSU is stored at [`src/units/arithmetic_and_logic_shift_unit.c`](src/units/arithmetic_and_logic_shift_unit.c)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthunder04%2Fmips-simulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthunder04%2Fmips-simulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthunder04%2Fmips-simulator/lists"}