1
0
mirror of https://github.com/myhdl/myhdl.git synced 2024-12-14 07:44:38 +08:00
myhdl/example/manual/run_all.py
2008-11-22 22:40:25 +01:00

31 lines
606 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)
m.main()