Skip to content

Basic boolean gates, latches and flip-flops in Python.

Notifications You must be signed in to change notification settings

robiamado/Logical-Components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

Python Logical Components

Boolean gates, latches and flip-flops in Python.

Requirements

  • Python >=3.9

Install

source install:

  • copy plc_main.py in your root folder and add from plc_main.py import * in .py source file.

pip install:

  • from dist folder: pip install plc_main-1.0-py3-none-any.whl add from plc_main import * in .py source file.

Gates

Buffer
And
Or
Not
Nand
Nor
Xor
Xnor

Latches

SR nor
SR nand
SR andor
JK nor
JK nand

Flip-Flops

To be used with an external clock on raising or lowering edge.

SR nor
SR nand
SR andor
JK nor
JK nand

Contacts

Please report any bug at [email protected]

About

Basic boolean gates, latches and flip-flops in Python.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages