I tried to sketch something similar in ROHD to compare. Leveraged the `ShiftRegister` from the library, had to put explicit `clk` and explicit `depth`, and don't have a nice extension (yet?) for `sum`.
I tried to sketch something similar in ROHD to compare. Leveraged the `ShiftRegister` from the library, had to put explicit `clk` and explicit `depth`, and don't have a nice extension (yet?) for `sum`.