[Libre-soc-bugs] [Bug 450] Create MMU from microwatt mmu.vhdl

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Aug 15 04:29:10 BST 2020


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

--- Comment #53 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
 997         with m.If(tlbie_req):
 998 #           addr := r.addr;
 999 #           tlb_data := (others => '0');
1000             comb += addr.eq(r.addr)

comb += tlb_data.eq(0) is missing.

ok, it is and it isn't.  the default is the reset value, which in this case is
zero.  however check all prior lines: if tlb_data has previously been assigned
to, then it is critically important not to skip the assign to zero.


1004 #           tlb_data := pte;

this however is definitely missing.

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


More information about the libre-soc-bugs mailing list