- draw_logic_network.py
This commit is contained in:
parent
2b642b9154
commit
b656a5c7dd
9
workspace/draw_logic_network.py
Normal file
9
workspace/draw_logic_network.py
Normal file
@ -0,0 +1,9 @@
|
||||
import sys
|
||||
from schemdraw import logic
|
||||
from schemdraw.parsing import logicparse
|
||||
|
||||
if len(sys.argv) < 4:
|
||||
exit(0)
|
||||
|
||||
network = logicparse(sys.argv[1], outlabel=sys.argv[2], gateH=1.2)
|
||||
network.save(sys.argv[3])
|
||||
Loading…
x
Reference in New Issue
Block a user