From: Florent Kermarrec Date: Mon, 13 Apr 2015 11:40:30 +0000 (+0200) Subject: litescope: pep8 (E261, E271) X-Git-Tag: 24jan2021_ls180~2352 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f9bd24f6f23dd629575d8044177c798dd50e45b;p=litex.git litescope: pep8 (E261, E271) --- 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