Sunday 21 July 2013

How to use IF-ELSE Statements in Behavior Modeling Style






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-



Basic Flip Flops & Latches Design using if-else Statements -



0 comments :

Post a Comment

 
Design by Wordpress Theme | Bloggerized by Free Blogger Templates | coupon codes