Skip to content
This repository has been archived by the owner on Sep 17, 2023. It is now read-only.

Commit

Permalink
Update verilator to 5.002
Browse files Browse the repository at this point in the history
Summary:
**Summarized Changelog**

- Require C++20 for the new `--timing` features. Upgrading to a C++20 or newer compiler is strongly recommended.
- Support the Active and NBA scheduling regions as defined by the SystemVerilog standard (IEEE 1800-2017 chapter 4). This means all generated clocks are now simulated correctly.
- Support timing controls (delays, event controls in any location, wait statements) and forks. This may require adding `--timing` or `--no-timing`. See docs for details.
- Introduce a new combinational logic optimizer (DFG), that can yield significant performance improvements on some designs.
- Add `--binary` option as alias of `--main` `--exe` `--build` `--timing`.
- For designs where C++ was only used to make a simple no-I/O testbench, we recommend abandoning that C++, and instead letting Verilator build it with `--binary` (`or --main`).

Full changelog [here](verilator/verilator-announce#57)

Test Plan: - Run example c++ execution

Reviewers: #triage_team, algent

Reviewed By: #triage_team, algent

Subscribers: algent

Differential Revision: https://dev.getsol.us/D13716
  • Loading branch information
davidjharder authored and algent-al committed Nov 4, 2022
1 parent 83d4551 commit e0c7349
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
6 changes: 3 additions & 3 deletions package.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name : verilator
version : '4.228'
release : 32
version : '5.002'
release : 33
source :
- https://github.com/verilator/verilator/archive/refs/tags/v4.228.tar.gz : be6af6572757013802be5b0ff9c64cbf509e98066737866abaae692fe04edf09
- https://github.com/verilator/verilator/archive/refs/tags/v5.002.tar.gz : 72d68469fc1262e6288d099062b960a2f65e9425bdb546cba141a2507decd951
license :
- LGPL-3.0-only
- Artistic-2.0
Expand Down
12 changes: 8 additions & 4 deletions pspec_x86_64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
<Path fileType="data">/usr/share/verilator/examples/cmake_tracing_c/Makefile</Path>
<Path fileType="data">/usr/share/verilator/examples/cmake_tracing_sc/CMakeLists.txt</Path>
<Path fileType="data">/usr/share/verilator/examples/cmake_tracing_sc/Makefile</Path>
<Path fileType="data">/usr/share/verilator/examples/make_hello_binary/Makefile</Path>
<Path fileType="data">/usr/share/verilator/examples/make_hello_binary/top.v</Path>
<Path fileType="data">/usr/share/verilator/examples/make_hello_c/Makefile</Path>
<Path fileType="data">/usr/share/verilator/examples/make_hello_c/sim_main.cpp</Path>
<Path fileType="data">/usr/share/verilator/examples/make_hello_c/top.v</Path>
Expand Down Expand Up @@ -106,6 +108,8 @@
<Path fileType="data">/usr/share/verilator/include/verilated_syms.h</Path>
<Path fileType="data">/usr/share/verilator/include/verilated_threads.cpp</Path>
<Path fileType="data">/usr/share/verilator/include/verilated_threads.h</Path>
<Path fileType="data">/usr/share/verilator/include/verilated_timing.cpp</Path>
<Path fileType="data">/usr/share/verilator/include/verilated_timing.h</Path>
<Path fileType="data">/usr/share/verilator/include/verilated_trace.h</Path>
<Path fileType="data">/usr/share/verilator/include/verilated_trace_defs.h</Path>
<Path fileType="data">/usr/share/verilator/include/verilated_trace_imp.h</Path>
Expand All @@ -130,16 +134,16 @@
</Description>
<PartOf>programming.devel</PartOf>
<RuntimeDependencies>
<Dependency release="32">verilator</Dependency>
<Dependency release="33">verilator</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/usr/share/pkgconfig/verilator.pc</Path>
</Files>
</Package>
<History>
<Update release="32">
<Date>2022-10-01</Date>
<Version>4.228</Version>
<Update release="33">
<Date>2022-11-04</Date>
<Version>5.002</Version>
<Comment>Packaging update</Comment>
<Name>David Harder</Name>
<Email>david@davidjharder.ca</Email>
Expand Down

0 comments on commit e0c7349

Please sign in to comment.