Sometimes there are multiple installation of verilator on a machine. It is not suitable to use PATH to figure out the installation path of verilator under this circumstance, thus a dedicated variable is required to be specified.
VERILATOR_ROOT is used to configure installation path for verilator itself, and it seems to be natural to use this to specify verilator installation path for us.
Sometimes there are multiple installation of verilator on a machine. It is not suitable to use
PATH
to figure out the installation path of verilator under this circumstance, thus a dedicated variable is required to be specified.VERILATOR_ROOT
is used to configure installation path for verilator itself, and it seems to be natural to use this to specify verilator installation path for us.