declare blank classes SPEC and EXTRA2 to add MSB-to-LSB conversion
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 17 Feb 2021 23:06:00 +0000 (23:06 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 17 Feb 2021 23:06:00 +0000 (23:06 +0000)
src/soc/consts.py

index a2587b97a6294aa577abdbecfd1c2452d93efa70..d8b752c665d57304a2e2d811e341a03278d74879 100644 (file)
@@ -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)