1
0
mirror of https://github.com/myhdl/myhdl.git synced 2024-12-14 07:44:38 +08:00

in run_all

This commit is contained in:
jand 2003-08-08 22:18:33 +00:00
parent d5ee3fa46a
commit 6fee7200cc
2 changed files with 6 additions and 3 deletions

View File

@ -41,7 +41,9 @@ def Consumer(q):
def main():
P = Producer(q)
C = Consumer(q)
return P, C
sim = Simulation(P, C)
sim.run()
sim = Simulation(main())
sim.run()
if __name__ == '__main__':
main()

View File

@ -7,6 +7,7 @@ modules = ('hello1',
'mux',
'mux2',
'inc',
'queue',
'sparseMemory',
'fifo',
)