sohamroy19 / e-gater

A C++ implementation of logic gates and simple gate-level circuits.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

e-gater

e-gater is a C++ implementation of logic gates and simple gate-level circuits. Documentation: https://sohamroy19.github.io/e-gater/

The objective of this project is to emulate logic gates and simple gate-level circuits. The code is not meant to be fast or efficient in implementing components or computations, but is intended to be analogous to their actual physical design.

The logic gates considered as basic are the AND, OR, and NOT gates. All other circuit elements have been built using them.

The repository has been configured with GitHub Actions to auto-generate Doxygen-style Documentation with each push or pull request.

Use CMake to build automatically:

  • Run CMake with the CMakeLists.txt in the root directory
  • Run the make command to build the libraries and executables
  • Execute demo.exe in the generated build/ subdirectory

TODO:

  • Basic logic gates
  • Other gates using basic ones
  • CMake
  • LogicGate base class
  • Truth Table Helper
  • Doxygen-Style Documentation
  • Build instructions
  • General Combination base class
  • Complete documentation and demo
  • Latches
  • Clock System
  • Flip-Flops

About

A C++ implementation of logic gates and simple gate-level circuits.

License:MIT License


Languages

Language:C++ 92.6%Language:C 4.1%Language:CMake 3.4%