projects
/
ieee754fpu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
387cc1a
)
put am0 into top bits of dividend
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 22 Jul 2019 10:32:54 +0000
(11:32 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 22 Jul 2019 10:32:54 +0000
(11:32 +0100)
src/ieee754/fpdiv/div0.py
patch
|
blob
|
history
diff --git
a/src/ieee754/fpdiv/div0.py
b/src/ieee754/fpdiv/div0.py
index eb786ad3a3b91b9a247f96f0ba789a3fcd4d41ca..4bd12cb273b47bea8c24ceae71e2b8f40c6c0eef 100644
(file)
--- a/
src/ieee754/fpdiv/div0.py
+++ b/
src/ieee754/fpdiv/div0.py
@@
-71,7
+71,7
@@
class FPDivStage0Mod(Elaboratable):
m.d.comb += [self.o.z.e.eq(self.i.a.e - self.i.b.e + 1),
self.o.z.s.eq(self.i.a.s ^ self.i.b.s),
- self.o.dividend.eq(am0), # TODO: check
+ self.o.dividend
[-len(am0):]
.eq(am0), # TODO: check
self.o.divisor_radicand.eq(bm0), # TODO: check
self.o.operation.eq(Const(0)) # TODO check: DIV
]