Skip to content

This is an attempt to make a CPU from the ground up

Notifications You must be signed in to change notification settings

QuackingBob/CPU-Emulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LC3 Processor Emulation

This is our attempt to emulate the LC3 Processor in CPP from a simulated transistor circuit upwards.

Resources:

How to Run:

VSCode:

To generate tasks, run

python generate_tasks.py

Then you can just run the task

CMake:

If using powershell, run

$ cmake_build_run.ps1

Alternatively, in terminal write:

$ cd "./cmake-build-debug"
$ cmake "../CMakeLists.txt"
$ cmake --build .
$ "./Debug/tests.exe"

G++

If using powershell, run

$ compile_tests.ps1

Else, run

$ g++ ./tests.cpp ./signals.cpp ./gates.cpp ./arithmetics.cpp ./switches.cpp ./alu.cpp ./mux.cpp ./mem.cpp ./stats.cpp ./decoder.cpp ./components.cpp -o ./tests.exe
$ ./tests.exe

About

This is an attempt to make a CPU from the ground up

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •