1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-04-25 03:55:09 +00:00
Files
antonblanchard.microwatt/litedram/extras/sim_dram_verilate.mk
Benjamin Herrenschmidt 6fe077910b litedram: Add simulation support
This adds a simulated litedram model along with the necessary
Makefile gunk to verilate it and wrap it for use by ghdl.

The core_dram_tb test bench is a variant of core_tb with
LiteDRAM simulated. It's not built by default, an explicit

make core_dram_tb

is necessary as to not require verilator to be installed for
the normal build process (also it's slow'ish).

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

11 lines
171 B
Makefile

OPT_FAST=-O3 -fstrict-aliasing
OPT_SLOW=-O3 -fstrict-aliasing
top_all: top_all2
include Vlitedram_core.mk
top_all2: default $(VK_GLOBAL_OBJS)
.PHONY: top_all top_all2