Advertisement
Guest User

for loops

a guest
Nov 7th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VHDL 0.34 KB | None | 0 0
  1.  
  2.  
  3. a <= '0'
  4. b <= '0'
  5. c <= '0'
  6. d <= '0'
  7. e <= '0'
  8.  
  9. for ai in 0 to 1 loop
  10.     for bi in 0 to 1 loop
  11.         for ci in 0 to 1 loop
  12.             for di in 0 to 1 loop
  13.                 for ei in 0 to 1 loop
  14.                     wait for 1 ns;
  15.                     e <= not e;
  16.                 end loop;
  17.                 d <= not d;
  18.             end loop;
  19.             c <= not c;
  20.         end loop;
  21.         b <= not b;
  22.     end loop;
  23.     a <= not a;
  24. end loop;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement