mirror of
https://github.com/myhdl/myhdl.git
synced 2025-01-24 21:52:56 +08:00
32 lines
643 B
Python
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()
|