10
CASE Statements 1) Constant (1’b1) in Case Expression [4:2 PRIORITY ENCODER]

Understanding Verilog CASE Statements

Embed Size (px)

DESCRIPTION

Parallel, Full, Constant Exp,Synthesis

Citation preview

CASE Statements

1) Constant (1’b1) in Case Expression [4:2 PRIORITY ENCODER]

2) IF-ELSE [4:2 PRIORITY ENCODER]

3) CASEX [4:2 PRIORITY ENCODER]

4) CASEZ [4:2 PRIORITY ENCODER]

5) CASEX [2:4 PRIORITY ENCODER] Order of Case items does not Matter

6) CASEX [4:2 PRIORITY ENCODER] Order of Case items does not matter

7) CASEZ [Over lapping case items] Order of case items Matter!

8) PARALLEL CASE [case items order does not matter]

9) PARALLEL CASE [Order does not matter]