東京大学 情報理工学系研究科 創造情報学専攻 2008年8月実施 筆記試験 第2問
Author
Description
Consider an digit decimal counter specified as follows:
a. A one digit decimal is represented by 4 bits.
b. The counter is synchronous and has a clock CK, bit outputs where .
c. The initial value of the counter is 0, namely, where .
d. The value of the counter increases by 1 at every input of the clock. When the value of the counter reaches the maximum value, the next clock input sets the output to be 0.
For example, the following figure depicts the input (the clock CK) and the output () representing a decimal number with digits.
(1) Draw a table or a diagram showing the state-transition for the case .
(2) Construct the logic circuit of the counter for the case using AND, OR, NOT gates and D flip-flops.
(3) Construct the logic circuit of the counter for the case using 4 counters based on (2) with AND, OR and NOT gates.
(4) For a given , describe a method to construct the logic circuit of the counter whose delay time is . Approximate the delay time by the number of AND, OR and NOT gates between the output and the input of D flip-flops.
题目描述
设计一个满足下列规格的 位十进制计数器。
- 每一位十进制数用 4 位二进制表示。
- 计数器为同步电路,输入为时钟 ,输出为 位 ()。
- 初值为 0,即所有 。
- 每输入一个时钟,计数值加 1;达到最大值后,下一个时钟使输出回到 0。
原文图示给出了 时的时钟输入与 输出。
- 对 画出状态转移表或状态转移图。
- 仅用与门、或门、非门和 D 触发器构造 的计数器逻辑电路。
- 使用四个由第 2 问得到的计数器模块,再配合与门、或门、非门,构造 的计数器逻辑电路。
- 对一般的 ,说明如何构造延迟为 的计数器逻辑电路。延迟以 D 触发器输出到输入之间经过的与、或、非门数量近似衡量。