[試題] 103下 歐陽明 數位系統與實驗 期末考

看板NTU-Exam作者 (天然呆)時間9年前 (2016/11/30 12:46), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/1
課程名稱︰數位系統與實驗 課程性質︰必修 課程教師:歐陽明 開課學院:電資學院 開課系所︰資工系 考試日期(年月日)︰2015.06.25 考試時限(分鐘): 試題 : Digital System Design and Lab, Final Exam 6/25/2015 1. (10%) Determine the Q output for the negative-edge-triggered J-K flip-flop for the input waveform, and assume that Q=0 initially ┌─────┐ ┌──────── J │ │ │ 0 ─────┘ └─────┘ ┌────────────── K │ 0 ───────────┘ ┌──┐ ┌──┐ ┌──┐ ┌──┐ CLK │ │ │ │ │ │ │ │ 0 ──┘ └──┘ └──┘ └──┘ └── Q T_1 T_2 T_3 T_4 T_5 T_6 T_7 T_8 2. (10%) For the Moore machine state table given below, please determine a minimal state table. ┌───────┬─────┬───┐ │Present state │Next state│Output│ ├───────┼─────┼───┤ │ │ Input │ │ │ │ 0 1 │ │ ├───────┼─────┼───┤ │ A │ B C │ 1 │ ├───────┼─────┼───┤ │ B │ D E │ 0 │ ├───────┼─────┼───┤ │ C │ A F │ 1 │ ├───────┼─────┼───┤ │ D │ E C │ 0 │ ├───────┼─────┼───┤ │ E │ G H │ 1 │ ├───────┼─────┼───┤ │ F │ B H │ 1 │ ├───────┼─────┼───┤ │ G │ D F │ 0 │ ├───────┼─────┼───┤ │ H │ F E │ 1 │ └───────┴─────┴───┘ 3. (20%) Our TA wants to make a 0(010)*1 recognizer and gets a state diagram. Given this state machine (see the following figure), please answer the following questions. (a) (3%) Is it a Moore machine or a Mealy machine? (b) (3%) Draw the state transition table for this state diagram. (c) (4%) Try to reduce the number of states first using Implication Chart Method. What are the benefits of reducing states number of a machine? (d) (10%) Implement a circuit of this machine using D flip-flop(s). Use as few flip-flops as possible. Figure: http://i.imgur.com/GeyhD9Y.png
4. (20%) (Reverse Engineering) Consider a sequential circuit shown in following diagram. It has one input x. one output z with a clock trigger signal clk (rising edge trigger for flip-flops). (i) (10%) Draw the state transition diagram first. (ii) (10%) Please draw the output waveform of z. Figure01: http://i.imgur.com/Kg4YQVP.png
Figure02: http://i.imgur.com/Hutqu4I.png
5. (20%) Design a system (a counter) using four T flip flops, A, B, C, D. It is a binary-coded-decimal, using 2421 code below, and is going through the sequence: 0, 2, 6, 9, 3, 5, 8, 7, 4, 1. ┌───────┬─────┐ │Decimal digit │2421 code │ ├───────┼─────┤ │ 0 │ 0000 │ ├───────┼─────┤ │ 1 │ 0001 │ ├───────┼─────┤ │ 2 │ 0010 │ ├───────┼─────┤ │ 3 │ 0011 │ ├───────┼─────┤ │ 4 │ 0100 │ ├───────┼─────┤ │ 5 │ 1011 │ ├───────┼─────┤ │ 6 │ 1100 │ ├───────┼─────┤ │ 7 │ 1101 │ ├───────┼─────┤ │ 8 │ 1110 │ ├───────┼─────┤ │ 9 │ 1111 │ └───────┴─────┘ 6. (20%) Design a sequential system (a counter) with one input line, x, and three flip flops, A, B, C. When x = 0, the system sequences through the state (0, 1, 2, 3, 4) repeatedly, and when x = 1, the system sequences through (2, 3, 4, 5, 6, 7) repeatedly. If at any time, x is 0 when the state is in states 5, 6, or 7, or if x = 1 when the system is in states 0, or 1, it should go to state 3 on the next clock. (i) (10%) Draw the state transition table for this machine. (ii) (10%) Design the system using D flip flops. -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 118.160.57.98 ※ 文章網址: https://www.ptt.cc/bbs/NTU-Exam/M.1480481170.A.57E.html

11/30 12:46, , 1F
已收資訊系精華區!
11/30 12:46, 1F
文章代碼(AID): #1OFbcIL- (NTU-Exam)