Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
dt-code-sequ [2014/01/08 10:58] beckmanf flipflop process -> concurrent |
dt-code-sequ [2014/01/08 11:02] (current) beckmanf flipflop process -> concurrent |
||
---|---|---|---|
Line 69: | Line 69: | ||
begin | begin | ||
- | ff_p : process(clk, reset_n)Â | + | q <= '0' when reset_n = '0' else new_q when rising_edge(clk); |
- | ²ú±ð²µ¾±²ÔÌý | + | |
- | if reset_n = '0' ³Ù³ó±ð²ÔÌý | + | |
- | q <= '0';Ìý | + | |
- | elsif rising_edge(clk) ³Ù³ó±ð²ÔÌý | + | |
- | q <= new_q; Â | + | |
- | end if;Ìý | + | |
- | end process ff_p; | + | |
new_q <= not q; | new_q <= not q; | ||
- | end; | + | end architecture rtl; |
</code> | </code> |