parent
885fbaf075
commit
1011ea86fa
|
|
@ -40,7 +40,8 @@ To build using MSVC:
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
cd verilator # directory containing source files of verilator
|
cd verilator # directory containing source files of verilator
|
||||||
mkdir build
|
mkdir -p build
|
||||||
|
cd build
|
||||||
cmake .. -DCMAKE_BUILD_TYPE=Release --install-prefix $PWD/../install
|
cmake .. -DCMAKE_BUILD_TYPE=Release --install-prefix $PWD/../install
|
||||||
cmake --build . --config Release
|
cmake --build . --config Release
|
||||||
cmake --install . --prefix $PWD/../install
|
cmake --install . --prefix $PWD/../install
|
||||||
|
|
@ -50,7 +51,8 @@ To build using ninja:
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
cd verilator
|
cd verilator
|
||||||
mkdir build
|
mkdir -p build
|
||||||
|
cd build
|
||||||
cmake -G Ninja .. -DCMAKE_BUILD_TYPE=Release --install-prefix $PWD/../install -DCMAKE_MAKE_PROGRAM=<path to ninja binary> -DBISON_EXECUTABLE=<path to bison> -DFLEX_EXECUTABLE=<path to flex>
|
cmake -G Ninja .. -DCMAKE_BUILD_TYPE=Release --install-prefix $PWD/../install -DCMAKE_MAKE_PROGRAM=<path to ninja binary> -DBISON_EXECUTABLE=<path to bison> -DFLEX_EXECUTABLE=<path to flex>
|
||||||
<path to ninja binary> #execute ninja
|
<path to ninja binary> #execute ninja
|
||||||
cmake --install . --prefix $PWD/../install
|
cmake --install . --prefix $PWD/../install
|
||||||
|
|
@ -71,7 +73,7 @@ Example
|
||||||
|
|
||||||
cd verilator/examples
|
cd verilator/examples
|
||||||
cd cmake_hello_c
|
cd cmake_hello_c
|
||||||
mkdir build
|
mkdir -p build
|
||||||
cd build
|
cd build
|
||||||
cmake .. # cmake -G Ninja ..
|
cmake .. # cmake -G Ninja ..
|
||||||
cmake --build . --config Release # ninja
|
cmake --build . --config Release # ninja
|
||||||
|
|
|
||||||
|
|
@ -2601,11 +2601,11 @@ List Of Warnings
|
||||||
Since version 5.046:
|
Since version 5.046:
|
||||||
|
|
||||||
Issued if neither :vlopt:`--sched-zero-delay`, nor
|
Issued if neither :vlopt:`--sched-zero-delay`, nor
|
||||||
:vlopt:`--sched-zero-delay` is used on the command line, and the input does
|
:vlopt:`--sched-zero-delay` is used on the command line, and the input
|
||||||
not contain a compile time known ``#0`` delay, but does contain a
|
does not contain a compile time known ``#0`` delay, but does contain a
|
||||||
``#(expressin)`` where the delay value cannot be determined at compile time.
|
``#(expression)`` where the delay value cannot be determined at compile
|
||||||
Passing :vlopt:`--no-sched-zero-delay` can improve runtime performance if
|
time. Passing :vlopt:`--no-sched-zero-delay` can improve runtime
|
||||||
variable delays are all known to be non-zero at runtime.
|
performance if variable delays are all known to be non-zero at runtime.
|
||||||
|
|
||||||
Also issued if :vlopt:`--no-sched-zero-delay` is used on the command line,
|
Also issued if :vlopt:`--no-sched-zero-delay` is used on the command line,
|
||||||
but the input contains a compile time known ``#0`` delay. This is safe to
|
but the input contains a compile time known ``#0`` delay. This is safe to
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue