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

31 lines
606 B
Python
Raw Normal View History

2003-08-04 07:51:14 +00:00
modules = ('hello1',
'hello2',
'greetings',
'bin2gray',
'bin2gray2',
2008-11-22 22:40:25 +01:00
'GrayInc',
2003-08-04 07:51:14 +00:00
'hec',
'rs232',
'mux',
'mux2',
'inc',
2005-12-27 14:38:27 +00:00
'fsm',
'fsm2',
'fsm3',
2003-08-08 22:18:33 +00:00
'queue',
2003-08-04 07:51:14 +00:00
'sparseMemory',
'fifo',
2005-12-27 14:38:27 +00:00
'rom',
'ram',
2008-11-22 22:40:25 +01:00
'custom',
2003-08-04 07:51:14 +00:00
)
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()