Skip to content

A simple python-based logic simulator for digital logic circuits. Input the digital circuit in the standard text file form and provide the input vector to generate the corresponding output of the logic circuit.

License

Notifications You must be signed in to change notification settings

lakshmi-sathi/Logic_Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logic_Simulator

Python based simulation of logic for digital logic circuits. Input the digital circuit in the standard text file form and provide the input vector to generate the corresponding output of the logic circuit

Dependencies:

itertools, sys

Usage:

python3 main.py
Eg:- python3 main.py s27 1101010
Note that the digital circuit file should be placed in the same location as the script in the standart text file representation.

Circuit File:

s27.txt, s298_2.txt, s344f_2.txt and s349f_2.txt are the sample circuit files which you can directly apply the script upon. Any digital circuit represented in this standard format can be used with this script.

About

A simple python-based logic simulator for digital logic circuits. Input the digital circuit in the standard text file form and provide the input vector to generate the corresponding output of the logic circuit.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages