{"id":16621931,"url":"https://github.com/416rehman/computer-from-scratch","last_synced_at":"2026-03-18T21:01:57.147Z","repository":{"id":133875299,"uuid":"482199527","full_name":"416rehman/computer-from-scratch","owner":"416rehman","description":"A project aimed at building a modern computer bottom-up from scratch","archived":false,"fork":false,"pushed_at":"2022-06-20T05:46:23.000Z","size":44,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-30T12:01:49.928Z","etag":null,"topics":["32-bit","chip","chipset","circuit","hardware","hdl","logic-gates","nand2tetris"],"latest_commit_sha":null,"homepage":"","language":"Scilab","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/416rehman.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":"2022-04-16T08:32:16.000Z","updated_at":"2023-06-18T21:22:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"908afc87-77b1-4ecb-9c12-94c7de3a9bb1","html_url":"https://github.com/416rehman/computer-from-scratch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/416rehman/computer-from-scratch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/416rehman%2Fcomputer-from-scratch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/416rehman%2Fcomputer-from-scratch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/416rehman%2Fcomputer-from-scratch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/416rehman%2Fcomputer-from-scratch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/416rehman","download_url":"https://codeload.github.com/416rehman/computer-from-scratch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/416rehman%2Fcomputer-from-scratch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29175826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T20:14:21.878Z","status":"ssl_error","status_checked_at":"2026-02-06T20:14:21.443Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["32-bit","chip","chipset","circuit","hardware","hdl","logic-gates","nand2tetris"],"created_at":"2024-10-12T02:48:56.663Z","updated_at":"2026-02-06T21:02:16.908Z","avatar_url":"https://github.com/416rehman.png","language":"Scilab","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Computer From Scratch\nA project aimed at building a modern computer bottom-up from scratch, including the following components:\n - Hardware Chipset\n    - Circuitry and Logic Gates for Boolean Arithmetic\n    - CPU (Central Processing Unit) \n    - ALU (Arithmetic Logic Unit)\n    - RAM (Random Access Memory)\n - Low Level Programming\n    - Machine Language\n    - Assembly Language\n - Virtual Machine\n    - VM Translator\n - High-Level Programming\n    - Object Oriented Programming Language\n    - Syntax Analysis and Code Generation\n    - Compiler\n - Operating System.\n\n# Hardware Chipset\nThe chipset designed for this computer, including the standard logic-gates, custom ALU, and random-access memory. Logic written and tested using HDL (hardware description language) by Nand2Tetris.\n\n## How to use\n\nInstall [Nand2Tetris for VS Code](https://marketplace.visualstudio.com/items?itemName=roblourens.vscode-nand2tetris-hdl)\nto open the .hdl files, and use the Nand2Tetris's Run Code feature to test the logic for a circuit (tests defined in .tst, and correct results in .cmp)\n\nYou can also use the online [falstad circuit simulator](http://www.falstad.com/circuit/) to run the .circuitjs.txt files to simulate the circuits.\n\n## Circuit Designs\nThese are some of the designs implemented using the falstad circuit simulator, the logic for these can be found in the corresponding `.circuitjs.txt` files.\n\nArithmetic Logic Unit\n![ALU](https://i.imgur.com/uyOP5xF.png)\n\nDmux\n![DMux](https://i.imgur.com/i2oeImq.png)\n\nDMux4way\n![DMux4Way](https://i.imgur.com/TH1DaN4.png)\n\nDMux8Way\n![DMux8Way](https://i.imgur.com/2DQr3mK.png)\n\nAnd\n![And](https://i.imgur.com/FiB1May.png)\n\nOr\n![Or](https://i.imgur.com/QWb1TWh.png)\n\n\u003chr\u003e\n\n*If you would like to complete this project yourself, make sure to check out the exemplary [nand2tetris](https://www.nand2tetris.org/) course.*","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F416rehman%2Fcomputer-from-scratch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F416rehman%2Fcomputer-from-scratch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F416rehman%2Fcomputer-from-scratch/lists"}