You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The patch in Issue 413 to allow short-circuiting of conditionals introduced a bug in evaluating generate IF conditionals that yield a constant selection. For example
generate
if ((SIZE < 8'h04) && MASK[0]) begin
where SIZE and MASK are parameters with values 2 and 2'h11 respectively.
Author Name: Jeremy Bennett (@jeremybennett)
Original Redmine Issue: 492 from https://www.veripool.org
Original Date: 2012-04-25
Original Assignee: Jeremy Bennett (@jeremybennett)
The patch in Issue 413 to allow short-circuiting of conditionals introduced a bug in evaluating generate IF conditionals that yield a constant selection. For example
where SIZE and MASK are parameters with values 2 and 2'h11 respectively.
Please pull a patch for this and an associated regression test from https://github.com/jeremybennett/verilator/tree/gen-if-const.
The text was updated successfully, but these errors were encountered: