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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Sep 30 00:12:42 BST 2020


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

--- Comment #20 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Cesar Strauss from comment #19)
> (In reply to Cesar Strauss from comment #18)
> > However, the compunit tests seem to wait for a result that never comes.
> 
> This is the problem:
> 
> self.shadown_i = Signal(name="cu_shadown_i", reset=1)
> 
> On pysim, it keeps high, even if not driven by the simulation process.
> 
> On cxxsim, it stays low.

ah yes.

> Actually, if I explicitly set shadown_i high, most of the compunit tests
> begin to pass already.

ahh very interesting.

this might be optimised out (by yosys), or just forgot that reset arg can be
nonzero.

the signal is not driven yet because we have not yet added the shadow matrices.

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


More information about the libre-soc-bugs mailing list