Commentary: Changes update

This commit is contained in:
Wilson Snyder 2026-07-14 19:55:50 -04:00
parent 3b43b304a3
commit 34603ebd60
8 changed files with 53 additions and 42 deletions

View File

@ -18,6 +18,7 @@ Verilator 5.051 devel
* Add comments as a branch description in coverage .info files (#7843). [Eryk Szpotanski] * Add comments as a branch description in coverage .info files (#7843). [Eryk Szpotanski]
* Add --enable-light-debug configure option (#7886). [Geza Lore, Testorrent USA, Inc.] * Add --enable-light-debug configure option (#7886). [Geza Lore, Testorrent USA, Inc.]
* Add user-provided DPI-C function declarations (#7626) (#7893). [Jakub Michalski] * Add user-provided DPI-C function declarations (#7626) (#7893). [Jakub Michalski]
* Add error on static virtual functions (#7932). [Igor Zaworski, Antmicro Ltd.]
* Support a sequence used as an event control (#7797) (#7846). [Yilou Wang] * Support a sequence used as an event control (#7797) (#7846). [Yilou Wang]
* Optimize random initialization. [Geza Lore, Testorrent USA, Inc.] * Optimize random initialization. [Geza Lore, Testorrent USA, Inc.]
* Optimize more always blocks in DFG (#7775). [Geza Lore, Testorrent USA, Inc.] * Optimize more always blocks in DFG (#7775). [Geza Lore, Testorrent USA, Inc.]
@ -25,18 +26,23 @@ Verilator 5.051 devel
* Fix $display accepting streaming concat arguments (#7663) (#7890). [Jaeuk Lee] * Fix $display accepting streaming concat arguments (#7663) (#7890). [Jaeuk Lee]
* Fix DFG misoptimizing bound checks (#7755). [Jakub Michalski] * Fix DFG misoptimizing bound checks (#7755). [Jakub Michalski]
* Fix unique0 case side effects (#7787). [Pawel Klopotek] * Fix unique0 case side effects (#7787). [Pawel Klopotek]
* Fix mid-window disable iff (#7792) (#7869). [Yilou Wang]
* Fix cleaning purity cache after assertions. [Geza Lore, Testorrent USA, Inc.] * Fix cleaning purity cache after assertions. [Geza Lore, Testorrent USA, Inc.]
* Fix internal error for coverpoints that reference a covergroup formal parameter (#7853 partial) (#7889). [Matthew Ballance] * Fix internal error for coverpoints that reference a covergroup formal parameter (#7853 partial) (#7889). [Matthew Ballance]
* Fix clang++ ambiguous overload of '==' operator (#7863). [Pawel Kojma, Antmicro Ltd.] * Fix clang++ ambiguous overload of '==' operator (#7863). [Pawel Kojma, Antmicro Ltd.]
* Fix heap-use-after-free in `VlRNG::VlRNG()` (#7865). [Dragon-Git] * Fix heap-use-after-free in `VlRNG::VlRNG()` (#7865). [Dragon-Git]
* Fix mixed-width inside and dist range bounds failing randomization (#7875). [Yilou Wang] * Fix mixed-width inside and dist range bounds failing randomization (#7875). [Yilou Wang]
* Fix solve-before over array variables failing randomization (#7876). [Yilou Wang]
* Fix scoped randomize with array members under rand_mode (#7877). [Yilou Wang]
* Fix range delays with parameter bounds (#7882). [Artur Bieniek, Antmicro Ltd.] * Fix range delays with parameter bounds (#7882). [Artur Bieniek, Antmicro Ltd.]
* Fix --coverage on labeled inline assert/cover property (#7898) (#7904). [Patrick Creighton] * Fix --coverage on labeled inline assert/cover property (#7898) (#7904). [Patrick Creighton]
* Fix memory leak in VerilatedFst::close() (#7899). [Jakub Michalski] * Fix memory leak in VerilatedFst::close() (#7899). [Jakub Michalski]
* Fix spurious FSM COVERIGN on comparisons (#7900) (#7908). [Yogish Sekhar]
* Fix independent force of multiply instantiated signals (#7905). [Artur Bieniek, Antmicro Ltd.] * Fix independent force of multiply instantiated signals (#7905). [Artur Bieniek, Antmicro Ltd.]
* Fix release of forced port nets (#7907) (#7901). [Artur Bieniek, Antmicro Ltd.] * Fix release of forced port nets (#7907) (#7901). [Artur Bieniek, Antmicro Ltd.]
* Fix VL_TO_STRING function for array of structs (#7912). [Kornel Uriasz, Antmicro Ltd.] * Fix VL_TO_STRING function for array of structs (#7912). [Kornel Uriasz, Antmicro Ltd.]
* Fix queues falling into wrong template spec (#7914). [Adam Kostrzewski, Antmicro Ltd.] * Fix queues falling into wrong template spec (#7914). [Adam Kostrzewski, Antmicro Ltd.]
* Fix crash streaming an unpacked array of unpacked structs (#7917). [Nick Brereton]
Verilator 5.050 2026-07-01 Verilator 5.050 2026-07-01

View File

@ -114,7 +114,7 @@ Options:
When a model was Verilated using :vlopt:`--x-initial unique When a model was Verilated using :vlopt:`--x-initial unique
<--x-initial>`, sets the simulation runtime initialization technique. 0 <--x-initial>`, sets the simulation runtime initialization technique. 0
= Reset to zeros. 1 = Reset to all-ones. 2 = Randomize. See = Reset to zeros. 1 = Reset to all-ones. 2 = Randomize. See
:ref:`Unknown States`. :ref:`Unknown States`. Default is 0.
.. option:: +verilator+seed+<value> .. option:: +verilator+seed+<value>

View File

@ -1,6 +1,6 @@
%Error: t/t_class_static_virtual_method_bad.v:8:23: Static methods cannot be virtual %Error: t/t_class_static_virtual_method_bad.v:8:23: Static methods cannot be virtual
: ... note: In instance '$unit.Foo' : ... note: In instance '$unit.Foo'
8 | static virtual task foo(); endtask 8 | static virtual task foo();
| ^~~ | ^~~
... See the manual at https://verilator.org/verilator_doc.html?v=latest for more assistance. ... See the manual at https://verilator.org/verilator_doc.html?v=latest for more assistance.
%Error: Exiting due to %Error: Exiting due to

View File

@ -5,5 +5,6 @@
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
class Foo; class Foo;
static virtual task foo(); endtask static virtual task foo();
endtask
endclass endclass

View File

@ -33,13 +33,18 @@ module t #(
output logic concat_hit, output logic concat_hit,
output logic masked_hit output logic masked_hit
); );
typedef enum logic [1:0] { IDLE, RUN, DONE } state_t; typedef enum logic [1:0] {
IDLE,
RUN,
DONE
} state_t;
state_t state; state_t state;
always_ff @(posedge clk) begin always_ff @(posedge clk) begin
if (rst) begin if (rst) begin
state <= IDLE; state <= IDLE;
end else begin end
else begin
case (state) case (state)
IDLE: if (go) state <= RUN; IDLE: if (go) state <= RUN;
RUN: state <= DONE; RUN: state <= DONE;

View File

@ -47,7 +47,8 @@ module t (
if (phase == PERIOD - 1) begin if (phase == PERIOD - 1) begin
phase <= 0; phase <= 0;
idx <= idx + 1; idx <= idx + 1;
end else begin end
else begin
phase <= phase + 1; phase <= phase + 1;
end end
if (phase == 0) begin if (phase == 0) begin

View File

@ -13,11 +13,9 @@
// source but then re-wrapped the now-packed expression in AstCvtArrayToPacked, // source but then re-wrapped the now-packed expression in AstCvtArrayToPacked,
// which EmitC dereferenced as an array. // which EmitC dereferenced as an array.
module t( /*AUTOARG*/ module t(
// Inputs input clk
clk
); );
input clk;
`define checkh(gotv, expv) \ `define checkh(gotv, expv) \
do if ((gotv) !== (expv)) begin \ do if ((gotv) !== (expv)) begin \