If-Else Sequential Statements (Behavior Modeling Style)-
Syntax -
if (Condition) begin
Statements ;
end else if (Condition) begin
Statements ;
end else begin
Statements;
end
Sample Programs-
Basic Combination Circuits Design using if-else Statements-
- Design of 4 to 1 Multiplexer using if-else statements.
- Design of 1 to 4 Demultiplexer using if-else statements.
- Design of 4 to 2 Encoder using if-else statements.
- Design of 2 to 4 Decoder using if -else statements.
- Design of 4 Bit comparator using if-else statement.
- Design of Binary to Gray Converter using using if-else statement.
- Design of Gray to Binary Converter using if-else statement.
- Design of BCD to 7 Segment Driver for common andod display using if -else statement.
Basic Flip Flops & Latches Design using if-else Statements -
- Design of D-Flip Flop using Behavior Modeling Style.
- Design of SR (Set-Reset) Flip Flop using Behavior Modeling Style.
- Design of JK Flip Flop using Behavior Modeling Style.
- Design of Toggle Flip Flop using Behavior Modeling Style.
- Design of D-Latch using Behavior Modeling Style.
- Design of SR - Latch using Behavior Modeling Style.
0 comments :
Post a Comment