CASE Statements (Behavior Modeling Style) -
Syntax -
case (identifier)
ch1 : begin statements ; end
ch2 : begin statements ; end
ch3 : begin statements ; end
...
...
...
default : begin statements ; end
endcase
Sample Programs & Exercise -
- Design of 4 to 1 Multiplexer using case statements.
- Design of 1 to 4 Demultiplexer using case statements.
- Design of 4 to 2 Encoder using case statements.
- Design of 2 to 4 Encoder using case statements.
- Design of Binary to Gray Converter using case statement.
- Design of Gray to Binary Converter using case statement.
- Design of BCD to 7 Segment Driver for common cathode display using case statement.
0 comments :
Post a Comment