Skip to content

Commit dbaeaf7

Browse files
enjoy-digitalsbourdeauducq
authored andcommittedOct 17, 2014
remove trailing whitespaces
1 parent 22507b1 commit dbaeaf7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+350
-350
lines changed
 

‎examples/dataflow/dma.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def dumper_gen():
3838
class SimDumper(SimActor):
3939
def __init__(self):
4040
self.data = Sink([("d", 32)])
41-
SimActor.__init__(self, dumper_gen())
41+
SimActor.__init__(self, dumper_gen())
4242

4343
def trgen_gen():
4444
for i in range(10):

‎examples/dataflow/structuring.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ class TB(Module):
3939
def __init__(self):
4040
source = SimSource()
4141
sink = SimSink()
42-
42+
4343
# A tortuous way of passing integer tokens.
4444
packer = structuring.Pack(base_layout, pack_factor)
4545
to_raw = structuring.Cast(packed_layout, rawbits_layout)
4646
from_raw = structuring.Cast(rawbits_layout, packed_layout)
4747
unpacker = structuring.Unpack(pack_factor, base_layout)
48-
48+
4949
self.g = DataFlowGraph()
5050
self.g.add_connection(source, packer)
5151
self.g.add_connection(packer, to_raw)
@@ -58,7 +58,7 @@ def __init__(self):
5858
if __name__ == "__main__":
5959
tb = TB()
6060
run_simulation(tb, ncycles=1000)
61-
61+
6262
g = nx.MultiDiGraph()
6363
for u, v, edge in tb.g.edges_iter():
6464
g.add_edge(u, v, **edge)

0 commit comments

Comments
 (0)
Please sign in to comment.