Commit 956d1257 authored by Sebastien Bourdeauducq's avatar Sebastien Bourdeauducq
Browse files

examples/dataflow/structuring: infinite source

parent 4785ca52
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():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment