mirror of
https://github.com/openhwgroup/cve2.git
synced 2025-04-25 06:27:22 -04:00
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). |
||
---|---|---|
.. | ||
verilated_toplevel.cc | ||
verilated_toplevel.h | ||
verilator_sim_ctrl.cc | ||
verilator_sim_ctrl.h |