CENG 342 – Digital Systems
Regular Sequential Circuit Larry Pyeatt
SDSM&T
CENG 342 Digital Systems Regular Sequential Circuit Larry Pyeatt - - PowerPoint PPT Presentation
CENG 342 Digital Systems Regular Sequential Circuit Larry Pyeatt SDSM&T Mealy vs Moore Moore machine is a finite-state machine whose output values are determined solely by its current state. Mealy machine is a finite-state machine
SDSM&T
1 CLK’event and CLK=’1’
1 rising_edge(CLK)
1 CLK’event and CLK=‘0’
1 falling_edge (CLK)
1 library ieee; 2 use ieee.std_logic_1164.all; 3 4 entity d_ff is 5
6
7
8
9
10 end d_ff; 11 12 architecture arch of d_ff is 13 begin 14
15
16
17
18
19
20 end arch;
1 library ieee; 2 use ieee.std_logic_1164.all; 3 4 entity d_ff_reset is 5
6
7
8
9
10 end d_ff_reset; 11 12 architecture arch of d_ff_reset is 13 begin 14
15
16
17
18
19
20
21
22 end arch;
1 library ieee; 2 use ieee.std_logic_1164.all; 3 4 entity d_ff_en is 5
6
7
8
9
10 ); 11 end d_ff_en; 12 13 architecture arch of d_ff_en is 14 begin 15
16
17
18
19
20
21
22
23
24
25 end arch;
1
2
3
1 architecture two_seg_arch of d_ff_en is 2
3 begin 4
5
6
7
8
9
10
11
12
13
14
15
16
17 end two_seg_arch;