From 049a1b5faa58a945a2d57f2076594a9b41e8adcc Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 17 Feb 2021 23:06:00 +0000 Subject: [PATCH] declare blank classes SPEC and EXTRA2 to add MSB-to-LSB conversion --- src/soc/consts.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/soc/consts.py b/src/soc/consts.py index a2587b97..d8b752c6 100644 --- a/src/soc/consts.py +++ b/src/soc/consts.py @@ -188,7 +188,8 @@ class SPECb: SPEC_SIZE = 3 -SPEC = SPECb +class SPEC: + pass botchify(SPECb, SPEC, SPEC_SIZE-1) @@ -206,7 +207,8 @@ class EXTRA2b: EXTRA2_SIZE = 9 -EXTRA2 = EXTRA2b +class EXTRA2: + pass botchify(EXTRA2b, EXTRA2, EXTRA2_SIZE-1) -- 2.30.2