diff options
| author | vin <git@vineetk.net> | 2025-12-09 19:31:07 -0500 |
|---|---|---|
| committer | vin <git@vineetk.net> | 2025-12-09 19:31:07 -0500 |
| commit | 92e45e47c29ec037842c4a34ebc0c14143d413ff (patch) | |
| tree | 1e539e42689a74714e6cf35e8dac717de4817dbe /lang | |
| parent | 76c3c24be5b5bf825164bd9856f4e6da007ab334 (diff) | |
update verilator to 5.042
It was previously over 8 years out of date...
Diffstat (limited to 'lang')
| -rw-r--r-- | lang/verilator/CVS/Entries | 4 | ||||
| -rw-r--r-- | lang/verilator/CVS/Repository | 1 | ||||
| -rw-r--r-- | lang/verilator/Makefile | 30 | ||||
| -rw-r--r-- | lang/verilator/distinfo | 2 | ||||
| -rw-r--r-- | lang/verilator/pkg/CVS/Entries | 3 | ||||
| -rw-r--r-- | lang/verilator/pkg/CVS/Repository | 1 | ||||
| -rw-r--r-- | lang/verilator/pkg/DESCR | 6 | ||||
| -rw-r--r-- | lang/verilator/pkg/PLIST | 122 |
8 files changed, 169 insertions, 0 deletions
diff --git a/lang/verilator/CVS/Entries b/lang/verilator/CVS/Entries new file mode 100644 index 0000000..9ccce75 --- /dev/null +++ b/lang/verilator/CVS/Entries | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | D/pkg//// | ||
| 2 | /distinfo/1.7/Thu Oct 5 17:14:10 2017// | ||
| 3 | D/patches//// | ||
| 4 | /Makefile/1.20/Tue Sep 26 17:19:57 2023// | ||
diff --git a/lang/verilator/CVS/Repository b/lang/verilator/CVS/Repository new file mode 100644 index 0000000..cd467c8 --- /dev/null +++ b/lang/verilator/CVS/Repository | |||
| @@ -0,0 +1 @@ | |||
| ports/lang/verilator | |||
diff --git a/lang/verilator/Makefile b/lang/verilator/Makefile new file mode 100644 index 0000000..b9be2ee --- /dev/null +++ b/lang/verilator/Makefile | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | COMMENT= very fast free Verilog HDL simulator | ||
| 2 | |||
| 3 | DISTNAME = verilator-5.042 | ||
| 4 | CATEGORIES= lang devel | ||
| 5 | REVISION = 0 | ||
| 6 | |||
| 7 | GH_TAGNAME = v5.042 | ||
| 8 | GH_ACCOUNT = verilator | ||
| 9 | GH_PROJECT = verilator | ||
| 10 | |||
| 11 | HOMEPAGE= https://www.veripool.org/wiki/verilator/Intro | ||
| 12 | |||
| 13 | # LGPLv3 or Perl | ||
| 14 | PERMIT_PACKAGE= Yes | ||
| 15 | |||
| 16 | WANTLIB= c m ${COMPILER_LIBCXX} | ||
| 17 | |||
| 18 | COMPILER = base-clang ports-gcc base-gcc | ||
| 19 | |||
| 20 | BUILD_DEPENDS += devel/bison | ||
| 21 | |||
| 22 | MODULES = devel/cmake | ||
| 23 | |||
| 24 | MAKE_FLAGS= VERILATOR_ROOT=${PREFIX}/share/verilator/ \ | ||
| 25 | COPT="${CFLAGS}" | ||
| 26 | |||
| 27 | TEST_TARGET= test | ||
| 28 | TEST_FLAGS= VERILATOR_ROOT=${WRKSRC} | ||
| 29 | |||
| 30 | .include <bsd.port.mk> | ||
diff --git a/lang/verilator/distinfo b/lang/verilator/distinfo new file mode 100644 index 0000000..15f1941 --- /dev/null +++ b/lang/verilator/distinfo | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | SHA256 (verilator-5.042.tar.gz) = vsFPF95ySFGxELaY870l4i7/qs7XJlsm0rwTB12/tL8= | ||
| 2 | SIZE (verilator-5.042.tar.gz) = 4670033 | ||
diff --git a/lang/verilator/pkg/CVS/Entries b/lang/verilator/pkg/CVS/Entries new file mode 100644 index 0000000..4023413 --- /dev/null +++ b/lang/verilator/pkg/CVS/Entries | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | /DESCR/1.1.1.1/Sun Nov 13 12:44:04 2011// | ||
| 2 | /PLIST/1.8/Sat Mar 12 08:16:49 2022// | ||
| 3 | D | ||
diff --git a/lang/verilator/pkg/CVS/Repository b/lang/verilator/pkg/CVS/Repository new file mode 100644 index 0000000..039eeca --- /dev/null +++ b/lang/verilator/pkg/CVS/Repository | |||
| @@ -0,0 +1 @@ | |||
| ports/lang/verilator/pkg | |||
diff --git a/lang/verilator/pkg/DESCR b/lang/verilator/pkg/DESCR new file mode 100644 index 0000000..24bde1a --- /dev/null +++ b/lang/verilator/pkg/DESCR | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | Verilator is the fastest free Verilog HDL simulator, and beats most | ||
| 2 | commercial simulators. It compiles synthesizable Verilog (not test-bench | ||
| 3 | code!), plus some PSL, SystemVerilog and Synthesis assertions into C++ | ||
| 4 | or SystemC code. It is designed for large projects where fast simulation | ||
| 5 | performance is of primary concern, and is especially well suited to | ||
| 6 | generate executable models of CPUs for embedded software design teams. | ||
diff --git a/lang/verilator/pkg/PLIST b/lang/verilator/pkg/PLIST new file mode 100644 index 0000000..54e8491 --- /dev/null +++ b/lang/verilator/pkg/PLIST | |||
| @@ -0,0 +1,122 @@ | |||
| 1 | bin/verilator | ||
| 2 | @bin bin/verilator_bin | ||
| 3 | bin/verilator_ccache_report | ||
| 4 | bin/verilator_difftree | ||
| 5 | bin/verilator_gantt | ||
| 6 | bin/verilator_includer | ||
| 7 | bin/verilator_profcfunc | ||
| 8 | @comment share/verilator/include/verilatedos.h.orig | ||
| 9 | examples/ | ||
| 10 | examples/cmake_hello_c/ | ||
| 11 | examples/cmake_hello_c/CMakeLists.txt | ||
| 12 | examples/cmake_hello_c/Makefile | ||
| 13 | examples/cmake_hello_sc/ | ||
| 14 | examples/cmake_hello_sc/CMakeLists.txt | ||
| 15 | examples/cmake_hello_sc/Makefile | ||
| 16 | examples/cmake_protect_lib/ | ||
| 17 | examples/cmake_protect_lib/CMakeLists.txt | ||
| 18 | examples/cmake_protect_lib/Makefile | ||
| 19 | examples/cmake_tracing_c/ | ||
| 20 | examples/cmake_tracing_c/CMakeLists.txt | ||
| 21 | examples/cmake_tracing_c/Makefile | ||
| 22 | examples/cmake_tracing_sc/ | ||
| 23 | examples/cmake_tracing_sc/CMakeLists.txt | ||
| 24 | examples/cmake_tracing_sc/Makefile | ||
| 25 | examples/json_py/ | ||
| 26 | examples/json_py/Makefile | ||
| 27 | examples/json_py/sub.v | ||
| 28 | examples/json_py/top.v | ||
| 29 | examples/make_hello_binary/ | ||
| 30 | examples/make_hello_binary/Makefile | ||
| 31 | examples/make_hello_binary/top.v | ||
| 32 | examples/make_hello_c/ | ||
| 33 | examples/make_hello_c/Makefile | ||
| 34 | examples/make_hello_c/sim_main.cpp | ||
| 35 | examples/make_hello_c/top.v | ||
| 36 | examples/make_hello_sc/ | ||
| 37 | examples/make_hello_sc/Makefile | ||
| 38 | examples/make_hello_sc/sc_main.cpp | ||
| 39 | examples/make_hello_sc/top.v | ||
| 40 | examples/make_protect_lib/ | ||
| 41 | examples/make_protect_lib/Makefile | ||
| 42 | examples/make_protect_lib/secret_impl.v | ||
| 43 | examples/make_protect_lib/sim_main.cpp | ||
| 44 | examples/make_protect_lib/top.v | ||
| 45 | examples/make_tracing_c/ | ||
| 46 | examples/make_tracing_c/Makefile | ||
| 47 | examples/make_tracing_c/Makefile_obj | ||
| 48 | examples/make_tracing_c/input.vc | ||
| 49 | examples/make_tracing_c/sim_main.cpp | ||
| 50 | examples/make_tracing_c/sub.v | ||
| 51 | examples/make_tracing_c/top.v | ||
| 52 | examples/make_tracing_sc/ | ||
| 53 | examples/make_tracing_sc/Makefile | ||
| 54 | examples/make_tracing_sc/Makefile_obj | ||
| 55 | examples/make_tracing_sc/input.vc | ||
| 56 | examples/make_tracing_sc/sc_main.cpp | ||
| 57 | examples/make_tracing_sc/sub.v | ||
| 58 | examples/make_tracing_sc/top.v | ||
| 59 | include/gtkwave/ | ||
| 60 | include/gtkwave/fastlz.c | ||
| 61 | include/gtkwave/fastlz.h | ||
| 62 | include/gtkwave/fst_config.h | ||
| 63 | include/gtkwave/fst_win_unistd.h | ||
| 64 | include/gtkwave/fstapi.c | ||
| 65 | include/gtkwave/fstapi.h | ||
| 66 | include/gtkwave/lz4.c | ||
| 67 | include/gtkwave/lz4.h | ||
| 68 | include/verilated.cpp | ||
| 69 | include/verilated.h | ||
| 70 | include/verilated.mk | ||
| 71 | include/verilated.v | ||
| 72 | include/verilated_config.h | ||
| 73 | include/verilated_cov.cpp | ||
| 74 | include/verilated_cov.h | ||
| 75 | include/verilated_cov_key.h | ||
| 76 | include/verilated_dpi.cpp | ||
| 77 | include/verilated_dpi.h | ||
| 78 | include/verilated_fst_c.cpp | ||
| 79 | include/verilated_fst_c.h | ||
| 80 | include/verilated_fst_sc.cpp | ||
| 81 | include/verilated_fst_sc.h | ||
| 82 | include/verilated_funcs.h | ||
| 83 | include/verilated_imp.h | ||
| 84 | include/verilated_intrinsics.h | ||
| 85 | include/verilated_probdist.cpp | ||
| 86 | include/verilated_profiler.cpp | ||
| 87 | include/verilated_profiler.h | ||
| 88 | include/verilated_random.cpp | ||
| 89 | include/verilated_random.h | ||
| 90 | include/verilated_saif_c.cpp | ||
| 91 | include/verilated_saif_c.h | ||
| 92 | include/verilated_saif_sc.h | ||
| 93 | include/verilated_save.cpp | ||
| 94 | include/verilated_save.h | ||
| 95 | include/verilated_sc.h | ||
| 96 | include/verilated_sc_trace.h | ||
| 97 | include/verilated_std.sv | ||
| 98 | include/verilated_std_waiver.vlt | ||
| 99 | include/verilated_sym_props.h | ||
| 100 | include/verilated_syms.h | ||
| 101 | include/verilated_threads.cpp | ||
| 102 | include/verilated_threads.h | ||
| 103 | include/verilated_timing.cpp | ||
| 104 | include/verilated_timing.h | ||
| 105 | include/verilated_trace.h | ||
| 106 | include/verilated_trace_imp.h | ||
| 107 | include/verilated_types.h | ||
| 108 | include/verilated_vcd_c.cpp | ||
| 109 | include/verilated_vcd_c.h | ||
| 110 | include/verilated_vcd_sc.cpp | ||
| 111 | include/verilated_vcd_sc.h | ||
| 112 | include/verilated_vpi.cpp | ||
| 113 | include/verilated_vpi.h | ||
| 114 | include/verilatedos.h | ||
| 115 | include/verilatedos_c.h | ||
| 116 | include/vltstd/ | ||
| 117 | include/vltstd/sv_vpi_user.h | ||
| 118 | include/vltstd/svdpi.h | ||
| 119 | include/vltstd/veriuser.h | ||
| 120 | include/vltstd/vpi_user.h | ||
| 121 | verilator-config-version.cmake | ||
| 122 | verilator-config.cmake | ||
