PPT ½½¶óÀ̵å
- Loop statements can be constructed for any repetitive operation. There are different forms, each having a different method of control. We shall examine the ¡°for loop¡±.
The loop variable Index is not declared, and is not visible outside the loop. It is treated as a constant.
With each loop iteration, it successively assumes the discrete values indicated in the range.
process ( A, B_bus ) begin for I in 0 to 7 loop C_bus (I) <= A and B_bus (I) ; end loop ;