Está en la página 1de 15

BI TP

GV: V Th Hng nga

I. Thit k mch t hp
Cc bc thit k mch t hp: - Xc nh s ng vo/ra - Lp bng trng thi - Vit hm ca cc ng ra theo cc ng vo - Rt gn hm ca cc ng ra - V mch logic

Bi tp 1: Thit k mch dch 8 bit dng mux

Bi tp 2: Thit k ALU (arithmetic logic unit) Draw the complete 4-bit ALU circuit having the following operations.

Bi tp 3: Thit k mch cng hai s BCD s dng b cng 4 bt 7483.

Bi tp 4a
Thit k FSM dng T FF c grap trng thi nh hnh sau:

Bi tp 4b
Thit k FSM dng D FF c grap trng thi nh hnh sau:

Bi tp 5: V grap trng thi cho FSM

Bi tp 6a
Thit k FSM m t hot ng ca n giao thng 1 tr
RESET

FSM

ck
Yu cu: Thi gian sng ca cc n nh sau: n xanh : 8s n vng: 4s n : 12s - Dng T Flip Flop (chn Cl, Pr tch cc mc thp) - Chn Reset ni vi nt nhn,khi nhn nt Reset th chu trnh bt u li t u vi n xanh sng
9

Bi tp 6b
Thit k FSM m t hot ng ca n giao thng 1 tr
stop RESET

FSM

ck
Yu cu: Thi gian sng ca cc n nh sau: n xanh : 12s n vng: 3s n : 15s - Dng T Flip Flop (chn Cl, Pr tch cc mc cao) - Chn Reset ni vi nt nhn,khi nhn nt Reset th chu trnh bt u li t u vi n xanh sng - Chn stop ni vi cng tc,khi gt cng tc stop th n 10 sng

Bi tp 6c
Thit k FSM m t hot ng ca b m ln/xung ca s BCD 1 digit, hin th trn Led 7 on loi anode chung S ck
Yu cu: - Dng T Flip Flop (Cl tch cc cao, Pr tch cc thp) - khi nhn nt Reset th led hin th s 0 - khi S= 0 th b m m xung, khi S= 1 th b m m ln. - Thi gian sng ca cc s l 1 s
RESET

FSM

74LS47

11

Bi tp 7
Thit k FSM m t hot ng ca b m ln ca s BCD 2 digit (00-12), hin th trn Led 7 on loi anode chung
RESET

FSM

74LS4 7 74LS4 7

ck

Yu cu: - Dng T Flip Flop (Cl tch cc cao, Pr tch cc thp) - khi nhn nt Reset th led hin th s 00 - Thi gian sng ca cc s l 0,5 s
12

Bi tp 8
1. Thit k 48 KB b nh dng vi mch 62128 sao cho c tm a ch hot ng t 4000H FFFFH. 2. Thit k 64 KB b nh dng vi mch 27128 v 2764 sao cho c tm a ch hot ng t 0000H FFFFH. Bit rng s lng mi IC c dng ti a l 3 con

13

BAI TAP 9
Design a Two-digit Counter (00 24), using decoder BCD to led 7 segment

74LS47

Digit 2 Digit 1

ck

Counter 00 - 24
RESET

74LS47

14

oc hiu : Traffic Light Controller


Link to Chapter 8 (State Machines/page 186) MIT.Press,.Circuit.Design.with.VHDL.(2004).TLF_UnE ncrypted.pdf

15