From 2dca9fd2ebc50faa69381db553ac3dabe93ad7b4 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 13 Sep 2020 14:05:53 +0100 Subject: [PATCH] syntax error in byterev --- src/nmutil/byterev.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nmutil/byterev.py b/src/nmutil/byterev.py index 52deddf..5c40e41 100644 --- a/src/nmutil/byterev.py +++ b/src/nmutil/byterev.py @@ -15,7 +15,7 @@ def byte_reverse(m, name, data, length): rev = [] for i in range(j): dest = data_r.word_select(i, 8) - res.append(data.word_select(j-1-i, 8)) + rev.append(data.word_select(j-1-i, 8)) comb += data_r.eq(Cat(*rev)) return data_r -- 2.30.2