cnu4u
Newbie level 5
- Joined
- Feb 25, 2014
- Messages
- 9
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 50
What is the difference in generating clock using 'always' and 'forever'? Please gimme detailed answer. Thanks in advance
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
always
begin
#10 clk = 1; #5 clk = 0;
end
initial forever
begin
#10 clk = 1; #5 clk = 0;
end
initial #2 forever
begin
#10 clk2 = 1; #5 clk2 = 0;
end