[libre-riscv-dev] [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
Tue May 26 00:06:24 BST 2020


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

--- Comment #34 from Cesar Strauss <cestrauss at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #33)
> right.  so i've pushed another commit which shows where we would expect to
> put the inputs in (constructor).  rather than have them directly as arguments
> to op_sim(), all those arguments - a, b, op, inv_a, imm_ok, zero_a - they
> become the arguments to the constructor.
> 
> also expected_o should be in the constructor as well.

Implemented the issue_i/busy_o protocol check, for the moment.

Will add the above as I need them, incrementally.

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


More information about the libre-riscv-dev mailing list