[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
Sat Jan 2 15:03:47 GMT 2021


--- Comment #77 from Cesar Strauss <cestrauss at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #76)
> (In reply to Cesar Strauss from comment #75)
> > 2) I noticed that, for the CompUnit outputs, MultiCompUnit strips out the
> > *.ok ALU output fields by flattening the Data Record (*.data and *.ok) into
> > a Signal, truncating it.
> ah, right: if you find any of those... yyyees, strictly speaking this should
> not happen: there is supposed to be detection of the data/ok and to create a
> suitable Record, matching it.  i may have missed some of those and used
> Signal instead.

Here, you see data_r is a Record:


A little below (line 281) it is appended to "drl".

Then, drl[i] is placed in dest[i]. which is a Signal:


The issue is actually mentioned in a comment, when dest[i] is created:


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

More information about the libre-soc-bugs mailing list