litescope: pep8 (E261, E271)
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 13 Apr 2015 11:40:30 +0000 (13:40 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 13 Apr 2015 11:40:30 +0000 (13:40 +0200)
misoclib/tools/litescope/core/storage.py
misoclib/tools/litescope/example_designs/test/test_la.py
misoclib/tools/litescope/host/dump/csv.py

index df1cebc9210140fc52ade827b3bca5e941c72ade..48bed37acb1ad4af7c1fcb773fe09eb4fe1a6f6d 100644 (file)
@@ -68,7 +68,7 @@ class LiteScopeRunLengthEncoderUnit(Module):
             ).Elif(change | counter_done,
                 source.stb.eq(1),
                 source.data[:flen(counter.value)].eq(counter.value),
-                source.data[-1].eq(1), # Set RLE bit
+                source.data[-1].eq(1),  # Set RLE bit
                 buf.q.ack.eq(source.ack),
                 If(source.ack,
                     NextState("BYPASS")
index f742285210fee7e9551576b2a2497ae28953d7ea..94ba28392b1c54122056d3703f1d577ad5a9bc2d 100644 (file)
@@ -7,7 +7,7 @@ def main(wb):
     la = LiteScopeLADriver(wb.regs, "la", debug=True)
 
     #cond = {"cnt0"    :    128} # trigger on cnt0 = 128
-    cond = {} # trigger on cnt0 = 128
+    cond = {}  # trigger on cnt0 = 128
     la.configure_term(port=0, cond=cond)
     la.configure_sum("term")
     la.configure_subsampler(1)
index 80a6d3bbf96630f83df229fc643be8a78c675f11..495f3df08fbee4eea5d69fe4e42e391b60faf13a 100644 (file)
@@ -7,7 +7,7 @@ class CSVDump(Dump):
         if init_dump:
             self.vars = init_dump.vars
 
-    def  generate_vars(self):
+    def generate_vars(self):
         r = ""
         for var in self.vars:
             r += var.name