1. Introduction - Siromanec/logic_discr GitHub Wiki

Interface

Screenshot 2022-06-06 010810

There are four main types of elements you can put on the board:

  • Logic Gates
  • Input Controls
  • Output Controls
  • Advanced elements (including 4 bit ALU)

To put something on the board, push the button with the element you want and click on the board (clicking on the board several times will put the element in all places of clicks).

There are two action buttons:

  • Connect: to connect pins (click on two pins you want to connect)
  • Delete: to delete an element and all connected lines from the board (click on the element you want to delete)

Connection rules

You can connect only input and output pins with each other. Moreover, output pins can have multiple connections, but input pins are limited to one.

The wire has become red. What happened?

That means that there are some problems with calculating your scheme. It happens either when there is a cycle:

image

or you have an element that is not fully connected:

image

Custom settings

You can discover more about the project structure on the following pages. It will help you to change code by yourself.