Skip to content

lista-11-c5 created by GitHub Classroom

Notifications You must be signed in to change notification settings

JMendyk/Logicon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logicon

Logic gates & circuits simulator

logicon_promo

Download

All compiled packages are available in "releases" section.

Compile from sources

Requirements:

  • Modern C++ compiler supporting C++14,
  • Make and CMake,
  • (Linux) xorg-dev,
  • (Windows) FreeGLUT,
  • Development version of OpenGL version 1.2+. More details available in dependencies/README.md.
git clone "https://github.com/IIUWR17/lista-11-c5.git" logicon && cd logicon
# git checkout develop # to build development version (may be unstable)
mkdir build && cd build
cmake -H.. -B. -G "CodeBlocks - Unix Makefiles"
cmake --build . --target logicon --
make install

To utilize multiple cores of processor, parameter -j X (where X = cores to use) can be added to improve build speed.

In project's root folder, directory dist will be created with redistributable package for your platform.

Free port inputs/outputs reading/saving

logicon_import_states FOSSA Status

Application lets user set values on free (not connected) inputs of gates in circuit and read values of free outputs to/from file. These files follow format (and should be saved with *.json extension):

[
    {
        "gblock_id": 1,
        "port": 0,
        "state": 1
    }
]

GBlock's ID and port's index can be seen when hovering desired gate and it's port. State is 1 when ON and 0 when OFF.

Authors

(in alphabetical order)

License

FOSSA Status

About

lista-11-c5 created by GitHub Classroom

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 98.5%
  • CMake 1.5%