projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a9d360
)
declare blank classes SPEC and EXTRA2 to add MSB-to-LSB conversion
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 17 Feb 2021 23:06:00 +0000
(23:06 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 17 Feb 2021 23:06:00 +0000
(23:06 +0000)
src/soc/consts.py
patch
|
blob
|
history
diff --git
a/src/soc/consts.py
b/src/soc/consts.py
index a2587b97a6294aa577abdbecfd1c2452d93efa70..d8b752c665d57304a2e2d811e341a03278d74879 100644
(file)
--- 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)