projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
512e2d7
)
irony comment on how one line creates a massive array of gates
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 9 Jul 2020 09:55:52 +0000
(10:55 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 9 Jul 2020 09:55:52 +0000
(10:55 +0100)
src/soc/fu/mul/main_stage.py
patch
|
blob
|
history
diff --git
a/src/soc/fu/mul/main_stage.py
b/src/soc/fu/mul/main_stage.py
index 3d620367d5693b6d41ccdfbe4e57fcbbd930c7bb..68bcf47d5df861ec71708dac7b3b26121a3e4dc4 100644
(file)
--- a/
src/soc/fu/mul/main_stage.py
+++ b/
src/soc/fu/mul/main_stage.py
@@
-24,6
+24,7
@@
class MulMainStage2(PipeModBase):
a, b, o = self.i.a, self.i.b, self.o.o
# actual multiply (TODO: split into stages)
+ # it's ironic that one line of code can create 15,000 gates...
comb += o.eq(a * b)
###### xer and context, all pass-through #####