System Design using LOOP Statements (Behavior Modeling Style) -
Loops Statemetns (Behavior Modeling Style) -
- FOR Loop.
 - WHILE Loop.
 - FOREVER Loop.
 - REPEAT Loop.
 
FOR Loop Syntax -
for     ( initilization    ;     condition    ;    increment  ) begin
          Sequential Statements   ;
end
While Loops Syntax -
while    (condition)     begin
          Sequential Statements    ;
end
Forever Loop    Syntax -
forever     begin
       Sequential Statements    ;
end
Repeat Loop    Syntax -
repeat     (numbers)   begin
         Sequential Statements   ;
end
Sample Programs for Loops Statements -
- Design of 4 Bit Adder using For Loop (Verilog CODE).
 - Design of 4 Bit Subtractor using For Loop (Verilog CODE).
 - Design of 4 Bit adder/subtractor using For Loop (Verilog CODE).
 
01:00
Unknown
0 comments :
Post a Comment