https://github.com/416rehman/computer-from-scratch
A project aimed at building a modern computer bottom-up from scratch
https://github.com/416rehman/computer-from-scratch
32-bit chip chipset circuit hardware hdl logic-gates nand2tetris
Last synced: 2 months ago
JSON representation
A project aimed at building a modern computer bottom-up from scratch
- Host: GitHub
- URL: https://github.com/416rehman/computer-from-scratch
- Owner: 416rehman
- Created: 2022-04-16T08:32:16.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-20T05:46:23.000Z (over 3 years ago)
- Last Synced: 2025-03-11T08:29:09.281Z (7 months ago)
- Topics: 32-bit, chip, chipset, circuit, hardware, hdl, logic-gates, nand2tetris
- Language: Scilab
- Homepage:
- Size: 43 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Computer From Scratch
A project aimed at building a modern computer bottom-up from scratch, including the following components:
- Hardware Chipset
- Circuitry and Logic Gates for Boolean Arithmetic
- CPU (Central Processing Unit)
- ALU (Arithmetic Logic Unit)
- RAM (Random Access Memory)
- Low Level Programming
- Machine Language
- Assembly Language
- Virtual Machine
- VM Translator
- High-Level Programming
- Object Oriented Programming Language
- Syntax Analysis and Code Generation
- Compiler
- Operating System.# Hardware Chipset
The 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.## How to use
Install [Nand2Tetris for VS Code](https://marketplace.visualstudio.com/items?itemName=roblourens.vscode-nand2tetris-hdl)
to 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)You can also use the online [falstad circuit simulator](http://www.falstad.com/circuit/) to run the .circuitjs.txt files to simulate the circuits.
## Circuit Designs
These are some of the designs implemented using the falstad circuit simulator, the logic for these can be found in the corresponding `.circuitjs.txt` files.Arithmetic Logic Unit
Dmux
DMux4way
DMux8Way
And
Or

*If you would like to complete this project yourself, make sure to check out the exemplary [nand2tetris](https://www.nand2tetris.org/) course.*