1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-05-02 22:43:29 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
Anton Blanchard
21f482f967 Reformat testbenches
Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
2021-03-22 10:55:32 +11:00
Benjamin Herrenschmidt
02abb135a8 litedram: l2: Add support for more geometries
Make the DRAM data lines and user port width configurable, also
don't hard wire dependency on the wishbone data width.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2020-07-08 16:47:30 +10:00
Benjamin Herrenschmidt
1441b2a859 litedram: l2: Latency improvements
This implements in the L2 cache the feature already in the L1s
allowing a request to be completed before the end of a refill
using partial line valid bits, and starting a refill from the
row of the first miss on that line instead of the beginning of
the line.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2020-07-08 16:47:30 +10:00
Benjamin Herrenschmidt
7192ee825f litedram: Improve dram_tb error output
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2020-06-12 21:01:34 +10:00
Benjamin Herrenschmidt
a93d9e77c9 litedram: Remove remnants of riscv-inits
We still had some wires bringing an extra serial port out of
litedram for the built-in riscv processor. This is all gone now
so take them out.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2020-06-10 13:10:57 +10:00
Benjamin Herrenschmidt
6828e93113 litedram: Test bench
The test bench test simple access forms for now, it's a starting point
but it already helped find/fix a bug.

Includes a litedram update to be able to operate the sim model without
inits.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2020-06-05 10:33:27 +10:00