verilator/docs/guide
Geza Lore 708abe0dd1 Introduce model interface class, make $root part or Syms (#3036)
This patch implements #3032. Verilator creates a module representing the
SystemVerilog $root scope (V3LinkLevel::wrapTop). Until now, this was
called the "TOP" module, which also acted as the user instantiated model
class. Syms used to hold a pointer to this root module, but hold
instances of any submodule. This patch renames this root scope module
from "TOP" to "$root", and introduces a separate model class which is
now an interface class. As the root module is no longer the user
interface class, it can now be made an instance of Syms, just like any
other submodule. This allows absolute references into the root module to
avoid an additional pointer indirection resulting in a potential speedup
(about 1.5% on OpenTitan). The model class now also contains all non
design specific generated code (e.g.: eval loops, trace config, etc),
which additionally simplifies Verilator internals.

Please see the updated documentation for the model interface changes.
2021-06-30 16:35:40 +01:00
..
figures
changes.rst
conf.py
connecting.rst Introduce model interface class, make $root part or Syms (#3036) 2021-06-30 16:35:40 +01:00
contributing.rst
contributors.rst
copyright.rst
deprecations.rst Remove deprecated --inhibit-sim (#3035) 2021-06-21 12:38:42 -04:00
environment.rst
example_cc.rst
example_common_install.rst
example_dist.rst
example_sc.rst
examples.rst
exe_sim.rst
exe_verilator_coverage.rst
exe_verilator_gantt.rst
exe_verilator_profcfuncs.rst
exe_verilator.rst Remove deprecated --inhibit-sim (#3035) 2021-06-21 12:38:42 -04:00
executables.rst
extensions.rst Emit model implementation as loose methods. (#3006) 2021-06-13 14:33:11 +01:00
faq.rst Add ccache-report target to standard Makefile (#3011) 2021-06-07 00:56:30 +01:00
files.rst Introduce model interface class, make $root part or Syms (#3036) 2021-06-30 16:35:40 +01:00
index.rst
install.rst Internals: Update to clang-format-11 (#3021) 2021-06-14 14:50:40 -04:00
languages.rst
overview.rst
simulating.rst Add ccache-report target to standard Makefile (#3011) 2021-06-07 00:56:30 +01:00
verilating.rst
warnings.rst