From 89a8d8daf35955bd8a0e4f541a720f155f79e4dd Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sun, 16 Jun 2013 13:12:57 +0200 Subject: [PATCH] use new migen API --- miscope/recorder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2