From: Luke Kenneth Casson Leighton Date: Wed, 17 Feb 2021 23:06:00 +0000 (+0000) Subject: declare blank classes SPEC and EXTRA2 to add MSB-to-LSB conversion X-Git-Tag: convert-csv-opcode-to-binary~214 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=049a1b5faa58a945a2d57f2076594a9b41e8adcc;p=soc.git declare blank classes SPEC and EXTRA2 to add MSB-to-LSB conversion --- 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)