From 1198ee919dd40b58dd4f4bfc06f69982f3f8a011 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Thu, 12 Mar 2026 07:22:33 -0400 Subject: [PATCH] Commentary: Changes update --- Changes | 3 +++ test_regress/t/t_randomize_subobj_enum.v | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Changes b/Changes index 10c3cb1ea..e3ceb15cd 100644 --- a/Changes +++ b/Changes @@ -52,6 +52,9 @@ Verilator 5.047 devel * Fix `dist` operator inside constraint if blocks (#7221) (#7224). [Rahul Behl, Testorrent USA, Inc.] * Fix soft cross-object constraint priority inversion (#7228) (#7233). [Yilou Wang] * Fix internal error when derived class calls this.randomize() with inherited rand members (#7229) (#7234). [Yilou Wang] +* Fix enum range constraints missing for rand variables in sub-objects (#7230) (#7235). [Yilou Wang] +* Fix vpi_put_value release on non-continuous signal (#7231) (#7241). [Christian Hecken] +* Fix tracing of typedefed 1D packed arrays with --trace-structs (#7237). [Geza Lore, Testorrent USA, Inc.] Verilator 5.046 2026-02-28 diff --git a/test_regress/t/t_randomize_subobj_enum.v b/test_regress/t/t_randomize_subobj_enum.v index 3f26dc40c..b1ea537c7 100644 --- a/test_regress/t/t_randomize_subobj_enum.v +++ b/test_regress/t/t_randomize_subobj_enum.v @@ -25,15 +25,15 @@ module t; typedef enum logic [1:0] { - RED = 2'd0, + RED = 2'd0, GREEN = 2'd1, - BLUE = 2'd2 + BLUE = 2'd2 } color_e; typedef enum logic [2:0] { - IDLE = 3'd0, - RUN = 3'd3, - STOP = 3'd5 + IDLE = 3'd0, + RUN = 3'd3, + STOP = 3'd5 } state_e; class InnerObj;