[Libre-soc-bugs] [Bug 336] ALU CompUnit needs to recognise that RA (src1) can be zero

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Nov 22 20:15:58 GMT 2020


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

--- Comment #70 from Cesar Strauss <cestrauss at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #69)
> that interaction is what also needs testing: a nonzero value placed into the
> regfile, use RA-or-Zero, have PowerDecoder2 decode that, and confirm that
> zero was passed as the operand.

Understood.

Meanwhile, the ALU parallel test case is done, including handling of the zero_a
and imm_ok cases.

These operand producers are kind of "dumb": they will happily respond to a
request, even if zero_a or imm_ok is asserted. But, they will still increment
their transaction counter. The counters are checked at the end, when busy is
negated, and the mismatch will be detected.

There is still a DummyALU CompUnit, with three operands, that remains to be
ported. Also, I will remove my earlier unfinished attempt.

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


More information about the libre-soc-bugs mailing list