Duality4Y / PyLogicSim

Simulating Logic Circuits in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is python code to simulate logic

Running The program.

to run it:

python main.py

this will print a test log similair to this:

Testing 'And' part.
A |B |Q 
0 |0 |0 
0 |1 |0 
1 |0 |0 
1 |1 |1 

Testing 'Or' part.
A |B |Q 
0 |0 |0 
0 |1 |1 
1 |0 |1 
1 |1 |1

Todo

To do

About

Simulating Logic Circuits in Python

License:GNU Affero General Public License v3.0


Languages

Language:Python 100.0%