From 93d1fd6bb5ab1d2decc956e3da00ca1f1db83cca Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Tue, 22 Jan 2019 18:46:47 -0500 Subject: [PATCH] Commentary, msg2820 --- bin/verilator | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/bin/verilator b/bin/verilator index e170797cd..ee6af7e48 100755 --- a/bin/verilator +++ b/bin/verilator @@ -416,19 +416,27 @@ Specifies the Verilog file containing the top module to be Verilated. =item {file.c/.cc/.cpp/.cxx} -Specifies optional C++ files to be linked in with the Verilog code. If any -C++ files are specified in this way, Verilator will include a make rule -that generates a I executable. Without any C++ files, Verilator -will stop at the I__ALL.a library, and presume you'll continue -linking with make rules you write yourself. See also the -CFLAGS option. +Specifies optional C++ files to be linked in with the Verilog code. The +file path should either be absolute, or relative to where the make will be +executed from, or add to your makefile's VPATH the appropriate directory to +find the file. + +If any C++ files are specified in this way, Verilator will include a make +rule that generates a I executable. Without any C++ files, +Verilator will stop at the I__ALL.a library, and presume you'll +continue linking with make rules you write yourself. See also the -CFLAGS +option. =item {file.a/.o/.so} Specifies optional object or library files to be linked in with the Verilog -code, as a shorthand for -LDFLAGS "". If any files are specified in -this way, Verilator will include a make rule that uses these files when -linking the I executable. This generally is only useful when used -with the --exe option. +code, as a shorthand for -LDFLAGS "". The file path should either be +absolute, or relative to where the make will be executed from, or add to +your makefile's VPATH the appropriate directory to find the file. + +If any files are specified in this way, Verilator will include a make rule +that uses these files when linking the I executable. This +generally is only useful when used with the --exe option. =item +1364-1995ext+I