1
0
mirror of https://github.com/myhdl/myhdl.git synced 2025-01-24 21:52:56 +08:00
myhdl/example/manual/run_all.py
Christopher Felton e3a42a6443
Updated docs for 0.11 release (#315)
* updated docs for 0.11 release

* revert docs back to the myhdl RTD
2019-05-19 15:21:04 -05:00

32 lines
643 B
Python

modules = ('hello1',
'hello2',
'greetings',
'bin2gray',
'bin2gray2',
'GrayInc',
'hec',
'rs232',
'mux',
'mux2',
'inc',
'fsm',
'fsm2',
'fsm3',
'queue',
'sparseMemory',
'fifo',
'rom',
'ram',
'custom',
)
for n in modules:
m = __import__(n)
info = "* %s.py *" % m.__name__
print()
print('*' * len(info))
print("* %s.py *" % m.__name__)
print('*' * len(info))
if hasattr(m, 'main'):
m.main()