This repository contains a python script which converts a Boolean Expression to a .sim file which is used for designing CMOS circuits.
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:
- '+' (OR)
- '.' (AND)
- '!' (NOT)