Parts | ||
Resources | ||
UndoCommands | ||
CircuitBuffer.cpp | ||
CircuitBuffer.h | ||
CircuitSimulator.pro | ||
Connector.cpp | ||
Connector.h | ||
eConnectorType.h | ||
ePartType.h | ||
FileHandler.cpp | ||
FileHandler.h | ||
LICENSE | ||
Logic.cpp | ||
Logic.h | ||
main.cpp | ||
MainWindow.cpp | ||
MainWindow.h | ||
MainWindow.ui | ||
Part.cpp | ||
Part.h | ||
README.md | ||
Resources.qrc | ||
Scene.cpp | ||
Scene.h | ||
Wire.cpp | ||
Wire.h |
Circuit Logic Simulator
Build Instructions
-
Install dependencies:
- Qt base:
qt5-base
- QMake:
qt5-tools
- Compiler:
g++
orclang
, must support C++ 11 or later - Note that your distro's package names might vary. All provided package names are those used by Archlinux.
- Qt base:
-
Clone the repository and cd into it:
$
git clone https://github.com/xypwn/circuit-logic-simulator.git
$
cd circuit-logic-simulator
-
Create a build directory and cd into it:
$
mkdir build
$
cd build
-
Configure build using QMake:
$
qmake ..
-
Start build (replace 4 with the number of threads you have to speed it up)
$
make -j 4
-
Run the executable:
There should now be an executable file called
CircuitSimulator
in your build folder. You can put it anywhere or run it with:$
./CircuitSimulator
Notes
- The software is currently under heavy development and therefore still crawling with bugs
- The
About
andTutorial
menu item haven't yet been implemented - Although some icons are missing, you can hover over an item to see what it does