From: Florent Kermarrec Date: Mon, 13 Apr 2015 14:58:04 +0000 (+0200) Subject: global: pep8 (E222) X-Git-Tag: 24jan2021_ls180~2323 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=042b160b81d7509ce8f44e15702a4864f606763a;p=litex.git global: pep8 (E222) --- diff --git a/misoclib/video/dvisampler/datacapture.py b/misoclib/video/dvisampler/datacapture.py index c4c40bbe..3f8d9bf4 100644 --- a/misoclib/video/dvisampler/datacapture.py +++ b/misoclib/video/dvisampler/datacapture.py @@ -98,7 +98,7 @@ class DataCapture(Module, AutoCSR): If(reset_lateness, lateness.eq(2**(ntbits - 1)) ).Elif(~delay_master_busy & ~delay_slave_busy & ~too_late & ~too_early, - If(pd_valid & pd_incdec, lateness.eq(lateness - 1)), + If(pd_valid & pd_incdec, lateness.eq(lateness - 1)), If(pd_valid & ~pd_incdec, lateness.eq(lateness + 1)) ) ]