[Libre-soc-bugs] [Bug 485] Create I-Cache from microwatt icache.vhdl

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Oct 13 04:27:56 BST 2020


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

--- Comment #74 from Cole Poirier <colepoirier at gmail.com> ---
The unit test fails in different ways depending on the address being requested.
Some will fail the assert on the first of the 100 loop iterations/requests,
others will fail by hanging.

```fail first assert
    ICACHE get 1f0 data 5d5f2f0e00000000
    ICACHE LOOKUP FAIL 1c0
Traceback (most recent call last):
  File "test_mmu_dcache.py", line 216, in <module>
    test_icache()
[snip]
  File "test_mmu_dcache.py", line 115, in icache_sim
    "insn @%x=%x expected %x" % (nia, insn, v)
AssertionError: insn @1f3=0 expected aebed43600000000
```

```fail by hanging
ICACHE LOOKUP FAIL 190
^CTraceback (most recent call last):
  File "test_mmu_dcache.py", line 216, in <module>
    test_icache()
  File "test_mmu_dcache.py", line 146, in test_icache
    sim.run()
[snip]
KeyboardInterrupt
```

Any idea of what this tells us?

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


More information about the libre-soc-bugs mailing list