[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
Thu Dec 31 18:09:04 GMT 2020


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

--- Comment #74 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Cesar Strauss from comment #73)
> (In reply to Cesar Strauss from comment #71)
> > The next step is to add test cases for read and write masks, and
> > shadow/go_die.
> 
> The ALU CompUnit unit test now checks that masked-out input and output ports
> do not make requests. Individual test cases can specify whether any port is
> masked-out.

fantastic.

> The next step is to actually invent some new operations for the test ALU,
> that do not make use of some of the read ports,

the simplest one there is just bit-inversion (o = ~a).  or, perhaps, add 1?

> and maybe add some write ports to it as well.

hmm i can't think of anything that would be needed to be very difficult, it
only needs to be different and detectable.  how about add 1 for port 1 and
subtract 1 for port 2?

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


More information about the libre-soc-bugs mailing list