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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Oct 3 03:06:59 BST 2020


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

--- Comment #41 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Cole Poirier from comment #40)

> *** I can see some mistakes in my above statements but I can't figure out
> the correct version so I'm writing it here for help and correction

pretty much.

1) start from known-good ie make sure that the dcache test works with
   the creation of the wb_get modification FIRST.

2) test and commit that.

3) do an equivalent test for icache

4) test and commit that

5) create a dictionary with 1000 entries where BOTH key AND data are
   large random values.

6) test and commit that.

note two things:

a) *keep what you do simple in each commit* and ALWAYS test it.  work
   INCREMENTALLY.  can you see the plan that you laid out was a chain
   of ever-complex dependence, without any checking that each stage was
   going to work before moving to the next?

b) you almost had the latter phase right: the for-loop is not to add
   *addresses* from 0 to 10,000, the idea behind the test is to
   have QTY 10,000 *completely* random data AND address requests.

but, start with 100 or 1000 and move upwards.

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


More information about the libre-soc-bugs mailing list