Fix build of core_dram_tb and dram_tb and fix tracing
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 4 Sep 2022 14:21:47 +0000 (00:21 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 4 Sep 2022 14:24:51 +0000 (00:24 +1000)
commit39c2abae5144f71fe3fa3503d725e68ca5e25289
treee4c6ee2898553e42a68b5bace3ca188016eead9d
parente31a4f7a9a14ae188af6de385f9f24a5122b97f5
Fix build of core_dram_tb and dram_tb and fix tracing

We disabled --trace by default, so we need to stop linking verilated_vcd_c.o
as it doesn't exist in that case.

While at it, make a Makefile variable to enable/disable verilator tracing
and add a couple of generics to those test benches to control tracing
in the L2 and in litedram.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Makefile
core_dram_tb.vhdl
dram_tb.vhdl
litedram/extras/sim_litedram_c.cpp