{"id":"f8932fff-4d4a-4029-bc9d-c187151351b8","title":"GitHub - 416rehman/computer-from-scratch: A project aimed at building a modern computer bottom-up from scratch","source_url":"https://github.com/416rehman/computer-from-scratch","topic":"Building A Computer","topic_slug":"building-a-computer","content_md":"A project aimed at building a modern computer bottom-up from scratch, including the following components:\n\nHardware Chipset\n\n- Circuitry and Logic Gates for Boolean Arithmetic\n\n- CPU (Central Processing Unit)\n\n- ALU (Arithmetic Logic Unit)\n\n- RAM (Random Access Memory)\n\nLow Level Programming\n\n- Machine Language\n\n- Assembly Language\n\nVirtual Machine\n\n- VM Translator\n\nHigh-Level Programming\n\n- Object Oriented Programming Language\n\n- Syntax Analysis and Code Generation\n\n- Compiler\n\n- Operating System.\n\n## Hardware Chipset\n\n[](#hardware-chipset)\n\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\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\n\n[](#circuit-designs)\n\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[](https://camo.githubusercontent.com/ffdbdb20d9b4b600fda941a530f2aa46586585f5e6318804345488a6bcd1a1cd/68747470733a2f2f692e696d6775722e636f6d2f75794f503578462e706e67)\n\nDmux\n[](https://camo.githubusercontent.com/8b3d9e8ebab9678b47ae9625c822646bdb8f96990384087cda5b0421ac6e7acf/68747470733a2f2f692e696d6775722e636f6d2f69326f65496d712e706e67)\n\nDMux4way\n[](https://camo.githubusercontent.com/1e6dea717743cc7ff1eb086ee64bdb1c9e6e1df096b4ee9a841e5f73f7edba12/68747470733a2f2f692e696d6775722e636f6d2f54483144614e342e706e67)\n\nDMux8Way\n[](https://camo.githubusercontent.com/4f7d453c81eb77b7380e7c9022c8ccc5fa3dc76f65332a71cc7b10806e4d46fc/68747470733a2f2f692e696d6775722e636f6d2f32445172336d4b2e706e67)\n\nAnd\n[](https://camo.githubusercontent.com/9851c8341ae3d2091c7f18cfc54727c01cc158d4c08bdf45275672cfc5aea357/68747470733a2f2f692e696d6775722e636f6d2f466942314d61792e706e67)\n\nOr\n[](https://camo.githubusercontent.com/8447e7d8d45901716946f497911a15c0ea328eae72682a9cdc113a561a0a24bb/68747470733a2f2f692e696d6775722e636f6d2f515762315457682e706e67)\n\n_If you would like to complete this project yourself, make sure to check out the exemplary [nand2tetris](https://www.nand2tetris.org/) course._","votes":{"Groq Llama 3.3 70B (FREE)":{"points":30,"reasoning":"The article accurately describes the components of a modern computer, including hardware and software elements, and provides specific tools and resources, such as Nand2Tetris and Falstad circuit simulator, for testing and simulating the designs, demonstrating correctness, authenticity, and usefulness, but lacks detailed explanations and clarity in some sections.","voted_at":"2026-05-16T01:34:55.997266+00:00"},"CF: Mistral 7B v0.1 (free)":{"points":25,"reasoning":"The article provides mostly correct and useful information about building a modern computer from scratch, including the components and tools needed. The circuits designs for logic gates and memory units are implemented and tested using both Nand2Tetris and the falstad circuit simulator.","voted_at":"2026-05-16T01:35:00.039914+00:00"},"Mistral Small (FREE)":{"points":33.33333333333333,"reasoning":"The article accurately describes the Nand2Tetris project's components (e.g., HDL logic gates, ALU, RAM) and provides verifiable tools (VS Code extension, Falstad simulator) and resources (nand2tetris.org), ensuring correctness, authenticity, and usefulness for building a computer from scratch.","voted_at":"2026-05-16T01:34:56.262352+00:00"}},"total_points":88.33333333333333,"max_possible":100,"model_count":3,"comments":[],"ingested_at":"2026-05-14T20:07:23.10658+00:00"}