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:
parent
d5ee3fa46a
commit
6fee7200cc
@ -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()
|
||||
|
@ -7,6 +7,7 @@ modules = ('hello1',
|
||||
'mux',
|
||||
'mux2',
|
||||
'inc',
|
||||
'queue',
|
||||
'sparseMemory',
|
||||
'fifo',
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user