whoops Popcount datalen too big (wasted bits). reduce
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 10 Jun 2021 19:10:16 +0000 (20:10 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 10 Jun 2021 19:10:16 +0000 (20:10 +0100)
pinmux
src/soc/fu/logical/popcount.py
src/soc/litex/florent

diff --git a/pinmux b/pinmux
index 303ac486f3db396cf6406e2d40932444a221b9e8..096caad8418250693c93ccf90047750704adcaa7 160000 (submodule)
--- a/pinmux
+++ b/pinmux
@@ -1 +1 @@
-Subproject commit 303ac486f3db396cf6406e2d40932444a221b9e8
+Subproject commit 096caad8418250693c93ccf90047750704adcaa7
index 23c0ab632258ce9d52ee42ee7e88ab615734e37d..ca90112d495c326996e16b1b11d93ef2649dfb12 100644 (file)
@@ -26,7 +26,7 @@ class Popcount(Elaboratable):
     def __init__(self):
         self.a = Signal(64, reset_less=True)
         self.b = Signal(64, reset_less=True)
-        self.data_len = Signal(64, reset_less=True)
+        self.data_len = Signal(4, reset_less=True) # data len up to... err.. 8?
         self.o = Signal(64, reset_less=True)
 
     def elaborate(self, platform):
index 7d251f1b58cb3e1d5788645b4ce38286d6814c04..6efd2e59703f6f0747435f97030e8a463233457f 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 7d251f1b58cb3e1d5788645b4ce38286d6814c04
+Subproject commit 6efd2e59703f6f0747435f97030e8a463233457f