From 8f9bd24f6f23dd629575d8044177c798dd50e45b Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 13 Apr 2015 13:40:30 +0200 Subject: [PATCH] litescope: pep8 (E261, E271) --- misoclib/tools/litescope/core/storage.py | 2 +- misoclib/tools/litescope/example_designs/test/test_la.py | 2 +- misoclib/tools/litescope/host/dump/csv.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/misoclib/tools/litescope/core/storage.py b/misoclib/tools/litescope/core/storage.py index df1cebc9..48bed37a 100644 --- a/misoclib/tools/litescope/core/storage.py +++ b/misoclib/tools/litescope/core/storage.py @@ -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") diff --git a/misoclib/tools/litescope/example_designs/test/test_la.py b/misoclib/tools/litescope/example_designs/test/test_la.py index f7422852..94ba2839 100644 --- a/misoclib/tools/litescope/example_designs/test/test_la.py +++ b/misoclib/tools/litescope/example_designs/test/test_la.py @@ -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) diff --git a/misoclib/tools/litescope/host/dump/csv.py b/misoclib/tools/litescope/host/dump/csv.py index 80a6d3bb..495f3df0 100644 --- a/misoclib/tools/litescope/host/dump/csv.py +++ b/misoclib/tools/litescope/host/dump/csv.py @@ -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 -- 2.30.2