Skip to content

Commit eacf45f

Browse files
Add default case statement to eliminate latches
1 parent 982ef47 commit eacf45f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

vtr_flow/benchmarks/verilog/stereovision3.v

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,6 +1016,13 @@ module sv_chip3_hierarchy_no_mem (tm3_clk_v0, tm3_clk_v2, tm3_vidin_llc, tm3_vid
10161016
iic_start = 1'b0 ;
10171017
reg_prog_nextstate = reg_prog_end ;
10181018
end
1019+
default:
1020+
begin
1021+
iicaddr = 8'b00000000 ;
1022+
iicdata = 8'b00000000 ;
1023+
iic_start = 1'b0 ;
1024+
reg_prog_nextstate = reg_prog_state;
1025+
end
10191026
endcase
10201027
end
10211028

0 commit comments

Comments
 (0)