From 8352ba4af4d49defa560f4f1260572e7a41de9a0 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sat, 3 Dec 2016 15:01:35 -0500 Subject: [PATCH] Commentary, bug1116 --- bin/verilator | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/bin/verilator b/bin/verilator index 96ecbe103..babe3cdc8 100755 --- a/bin/verilator +++ b/bin/verilator @@ -1344,9 +1344,15 @@ We'll compile this example into C++. } EOF -If you installed Verilator from sources, or a tarball, but not as part of -your operating system (as an RPM), first you need to point to the kit: +See the README in the source kit for various ways to install or point to +Verilator binaries. In brief, if you are running Verilator that came from +your operating system (as an RPM), or did a "make install" to place +Verilator into your default path, you do not need anything special in your +environment, and should not have VERILATOR_ROOT set. However, if you +installed Verilator from sources and want to run Verilator out of where you +compiled Verilator, you need to point to the kit: + # See above; don't do this if using an OS-distributed Verilator export VERILATOR_ROOT=/path/to/where/verilator/was/installed export PATH=$VERILATOR_ROOT/bin:$PATH @@ -1411,9 +1417,15 @@ This is an example similar to the above, but using SystemC. } EOF -If you installed Verilator from sources, or a tarball, but not as part of -your operating system (as an RPM), first you need to point to the kit: +See the README in the source kit for various ways to install or point to +Verilator binaries. In brief, if you are running Verilator that came from +your operating system (as an RPM), or did a "make install" to place +Verilator into your default path, you do not need anything special in your +environment, and should not have VERILATOR_ROOT set. However, if you +installed Verilator from sources and want to run Verilator out of where you +compiled Verilator, you need to point to the kit: + # See above; don't do this if using an OS-distributed Verilator export VERILATOR_ROOT=/path/to/where/verilator/was/installed export PATH=$VERILATOR_ROOT/bin:$PATH