[Libre-soc-bugs] [Bug 671] convert spec pseudocode to use XLEN width

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Mon Aug 30 20:08:25 BST 2021


https://bugs.libre-soc.org/show_bug.cgi?id=671

--- Comment #46 from dmitry.selyutin at 3mdeb.com ---
(In reply to Luke Kenneth Casson Leighton from comment #40)
> this one doesn't look right.  my intuition is that it should be
> redefined to be "counting halves of the input".

The confusion is raised by these words from the spec:

    A count of the number of one bits in each word of regis-
    ter RS is placed into the corresponding word of register
    RA. This number ranges from 0 to 32, inclusive.

I assumed "word" implies 32-bit. However, I think your rationale fits better.
Let me re-check these.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list