cve2/dv/verilator/simutil_verilator
Philipp Wagner 7a0614a1d0 simutil_verilator: Always produce toplevel class
Previously, verilated_toplevel.h contained a macro, VERILATED_TOPLEVEL()
to produce a class TOPLEVEL (whatever the toplevel happens to be). This
required all compilation units referring to that TOPLEVEL class to call
the macro.

After this change, the class is always generated in
verilated_toplevel.h. For that to work, a new define TOPLEVEL_NAME must
be globally set (e.g. passed to the compiler with -DTOPLEVEL_NAME=xxx).
2019-09-16 14:53:54 +01:00
..
cpp simutil_verilator: Always produce toplevel class 2019-09-16 14:53:54 +01:00
simutil_verilator.core simutil_verilator: Always produce toplevel class 2019-09-16 14:53:54 +01:00