{"id":24775053,"url":"https://github.com/zeekersky/block-replacement-macsim","last_synced_at":"2025-10-04T09:42:42.132Z","repository":{"id":218897093,"uuid":"747598115","full_name":"Zeekersky/Block-Replacement-MacSIM","owner":"Zeekersky","description":"A block replacement policy for hybrid cache design is implemented using MacSIM.","archived":false,"fork":false,"pushed_at":"2024-12-26T10:20:16.000Z","size":64653,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T23:30:44.298Z","etag":null,"topics":["computer-architecture","cpp","macsim","makefile","simulator"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zeekersky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-01-24T09:01:44.000Z","updated_at":"2025-01-06T09:19:44.000Z","dependencies_parsed_at":"2024-12-26T11:31:52.224Z","dependency_job_id":null,"html_url":"https://github.com/Zeekersky/Block-Replacement-MacSIM","commit_stats":null,"previous_names":["zeekersky/macsim_progress","zeekersky/block-replacement-macsim"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Zeekersky/Block-Replacement-MacSIM","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeekersky%2FBlock-Replacement-MacSIM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeekersky%2FBlock-Replacement-MacSIM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeekersky%2FBlock-Replacement-MacSIM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeekersky%2FBlock-Replacement-MacSIM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zeekersky","download_url":"https://codeload.github.com/Zeekersky/Block-Replacement-MacSIM/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeekersky%2FBlock-Replacement-MacSIM/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278295847,"owners_count":25963427,"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-10-04T02:00:05.491Z","response_time":63,"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":["computer-architecture","cpp","macsim","makefile","simulator"],"created_at":"2025-01-29T06:37:38.497Z","updated_at":"2025-10-04T09:42:42.093Z","avatar_url":"https://github.com/Zeekersky.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Block Replacement Policy for Hybrid Cache\n\nThis codebase implements a **Block Replacement Policy** in a hybrid cache, aimed at enhancing the lifetime of the Non-Volatile Cache.\n\nFor detailed insights, refer to this [slide](https://github.com/Zeekersky/Block-Replacement-MacSIM/blob/main/Slides.pdf).\n\n---\n\n## Requirements\n\nTo build **MacSim**, ensure the following are in place:\n\n1. **Operating System:**  \n   Currently, only Linux distributions are supported. MacSim has been tested on:  \n   - Ubuntu  \n   - Redhat (TODO)\n\n2. **Compiler:**  \n   Any compiler that supports the C++0x (or C++11) standard.  \n   Verified to work with:  \n   - `gcc` 4.4 or higher  \n   - `icc` (work in progress)  \n\n3. **SConstruct:**  \n   Install `scons` using:\n   ```bash\n   sudo apt-get install scons\n   ```\n\n4. **Libraries:**  \n   The following libraries are required:  \n   - **zlib:** Install using:\n   ```bash\n   sudo apt-get install zlib1g-dev\n   ```\n   - **Python:** Ensure Python is installed for the build process.  \n     Install Python with:\n   ```bash\n   sudo apt-get install python\n   ```\n\n## Build Instructions  \n\nTo compile MacSim, follow these steps:  \n1. Clone the repository (if not already done):\n   ```bash\n   git clone https://github.com/Zeekersky/Block-Replacement-MacSIM\n   cd Block-Replacement-MacSIM\n   ```\n2. Build the project:\n   ```bash\n   ./build.py\n   ```\n3. Verify the build:\n   - If successful, the 'macsim' binary should be present inside the 'bin' directory.\n\n## Run Instructions  \n\nAfter building the project, proceed with the following steps to run MacSim:  \n1. Navigate to the bin directory:\n   ```bash\n   cd bin\n   ```\n2. Ensure the following files are present in the bin directory:  \n   - [params.in](https://github.com/Zeekersky/Block-Replacement-MacSIM/blob/main/bin/params.in)\n   - [trace_file_list](https://github.com/Zeekersky/Block-Replacement-MacSIM/blob/main/bin/trace_file_list)\n\n3. Run the MacSIM binary:\n   ```bash\n   ./macsim\n   ``` \n\nFor any issues or questions, feel free to reach out!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeekersky%2Fblock-replacement-macsim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeekersky%2Fblock-replacement-macsim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeekersky%2Fblock-replacement-macsim/lists"}