mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
examples/dataflow/structuring: infinite source
This commit is contained in:
parent
4785ca526b
commit
956d1257c2
1 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
from itertools import count
|
||||
|
||||
import networkx as nx
|
||||
import matplotlib.pyplot as plt
|
||||
|
||||
|
@ -11,7 +13,7 @@ from migen.flow import perftools
|
|||
pack_factor = 5
|
||||
|
||||
def source_gen():
|
||||
for i in range(180):
|
||||
for i in count(0):
|
||||
yield Token("source", {"value": i})
|
||||
|
||||
def sink_gen():
|
||||
|
|
Loading…
Reference in a new issue