[Libre-soc-bugs] [Bug 475] cxxsim improvements

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Sep 26 18:37:36 BST 2020


--- Comment #6 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Cesar Strauss from comment #5)
> All non-broken pipe_caller and compunit tests seem to hang in cxxsim.
> I will try to see what they have in common, and investigate further.
> Interestingly, these seem to hang even in pysim:
> src/soc/fu/compunits/test/test_alu_compunit.py
> src/soc/fu/compunits/test/test_cr_compunit.py

damnit i've not been keeping these up-to-date, relying on test_issuer instead.
this means that one of the operands needed is not being set up properly

this leaves either the rd.req "unanswered" (with the obvious result that
the compunit waits indefinitely for an operand that is never going to be
supplied) or the wr.req "unanswered" (with the obvious result that the
compunit waits indefinitely for a result to be read that is never going to
be read).

this is since creating the PowerDecoder2 "subsets".

test_issuer.py uses its own completely separate (full) PowerDecoder2
called "simdec", but the */test_pipe_caller.py tests do not do that.
they'll need to be updated.

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

More information about the libre-soc-bugs mailing list