160.10. verilator-5.052
Verilog simulator and linter
5.052-1 · LGPL-3.0-only OR Artistic-2.0 · 6.2 SBU · 46.4 MiB, 138 files · 41_system, 440 of 1047 · ports/core/eda/verilator
Homepage: https://verilator.org/
Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/eda.txt:
The lint as much as the simulator: verilator catches the width mismatches and inferred latches iverilog will happily simulate and a real part will not do.
Depends on: autoconf, automake, perl, help2man, bison, flex, python3, zlib, z3, ccache.
Required by: no port names it.
Sources: verilator-5.052.tar.gz (6.7 MiB). Every step kpkg takes applies to this port.
Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.
--disable-jemalloc, line 15: jemalloc
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install verilator'
build.sh:
autoconf
export LDFLAGS="$LDFLAGS -Wl,--strip-debug"
./configure --prefix=/usr \
--with-solver='z3 --in' \
--disable-jemalloc \
--disable-tcmalloc \
OBJCACHE=ccache
make
make DESTDIR=$PKG install
Programs: verilator, verilator_bin, verilator_bin_dbg, verilator_coverage, verilator_coverage_bin_dbg, verilator_gantt, verilator_profcfunc.
Directories: /usr/share/licenses/verilator, /usr/share/verilator.