This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
en:projects:la [2011/07/30 17:12] – strijar | en:projects:la [2011/07/30 17:21] – [Client] strijar | ||
---|---|---|---|
Line 42: | Line 42: | ||
Here you see the test signals are generated in top.vhd: | Here you see the test signals are generated in top.vhd: | ||
- | | + | |
- | | + | if rising_edge(clock) then |
- | | + | if rst = ' |
+ | counter <= (others => '0'); | ||
+ | shift <= " | ||
+ | else | ||
+ | counter <= counter + 1; | ||
+ | shift <= shift(6 downto 0) & shift(7); | ||
+ | end if; | ||
+ | end if; | ||
+ | end process; | ||
+ | |||
+ | input(7 downto 0) <= counter; | ||
+ | | ||
+ | |