Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 454 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 454 Bytes

CMOS Circuit Generator

This repository contains a python script which converts a Boolean Expression to a .sim file which is used for designing CMOS circuits.

Running

python3 BEtosim.py

NOTE: It is necessary to use paranthesis wherever possible.
e.g. !A.B.C should be writtern as (((!(A)).B).C). The input variables can be any alphabet. The final output is 'out'.The following gates can be used:

  1. '+' (OR)
  2. '.' (AND)
  3. '!' (NOT)