From: Florent Kermarrec Date: Sun, 16 Jun 2013 11:12:57 +0000 (+0200) Subject: use new migen API X-Git-Tag: 24jan2021_ls180~2575^2~95 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=89a8d8daf35955bd8a0e4f541a720f155f79e4dd;p=litex.git use new migen API --- diff --git a/miscope/recorder.py b/miscope/recorder.py index 47771642..87b7bf3d 100644 --- a/miscope/recorder.py +++ b/miscope/recorder.py @@ -137,7 +137,7 @@ class RLE: If(diff_rising.o & (~rle_max), self.stb_o.eq(1), self.dat_o[self.width-1].eq(1), - self.dat_o[:len(rle_cnt)].eq(rle_cnt) + self.dat_o[:flen(rle_cnt)].eq(rle_cnt) ).Elif(diff_d | rle_max, self.stb_o.eq(stb_i_d), self.dat_o.eq(dat_i_d)