diff --git a/Changes b/Changes index 10285fb52..c59b23a17 100644 --- a/Changes +++ b/Changes @@ -8,6 +8,8 @@ The contributors that suggested a given feature are shown in []. Thanks! *** Add --protect-ids to obscure information in objects, bug1521. [Todd Strader] +**** Increase case duplicate/incomplete to 16 bit tables, bug1545. [Yossi Nivin] + * Verilator 4.020 2019-10-06 diff --git a/src/V3Case.cpp b/src/V3Case.cpp index f3ef95fb4..789b0aae5 100644 --- a/src/V3Case.cpp +++ b/src/V3Case.cpp @@ -49,7 +49,7 @@ #include #include -#define CASE_OVERLAP_WIDTH 12 // Maximum width we can check for overlaps in +#define CASE_OVERLAP_WIDTH 16 // Maximum width we can check for overlaps in #define CASE_BARF 999999 // Magic width when non-constant #define CASE_ENCODER_GROUP_DEPTH 8 // Levels of priority to be ORed together in top IF tree diff --git a/test_regress/t/t_sv_cpu_code/cpu.sv b/test_regress/t/t_sv_cpu_code/cpu.sv index c4eced71d..4ec44eff9 100644 --- a/test_regress/t/t_sv_cpu_code/cpu.sv +++ b/test_regress/t/t_sv_cpu_code/cpu.sv @@ -157,6 +157,7 @@ module cpu idec_mem_re = 1'b0; idec_mem_we = 1'b0; + // verilator lint_off CASEINCOMPLETE casez ( ir ) 16'h0000:; // NOP (<=> Default)