CASE Statements (Behavior Modeling Style) -
Syntax -
CASE (identifier) IS
when ch1 => statements;
when ch2 => statements;
when ch3 => statements;
...
...
...
when others => statements;
END CASE ;
Sample Programs -
- Design of 1 to 4 Demultiplexer using case statement.
- Design of 4 to 2 Encoder using case statement.
- Design of 2 to 4 Decoder using case statement.
- Design of Grading System using case statement.
- 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.
No comments:
Post a Comment