京都大学 情報学研究科 通信情報システム専攻 2021年7月実施 専門基礎B [B-4]
Author
SUN, 祭音Myyura
Description
下記のすべての問に答えよ。
は論理否定、 は論理積、 は論理和、 は排他的論理和を表す。
(1)
以下に示す論理関数 について、以下の問に答えよ。
(a) 論理関数 の最小積和形表現を求めよ。
(b) 論理関数 の最小和積形表現を求めよ。
(c) 3入力 NAND ゲートのみを用いて、論理関数 を出力とするゲート数最小の論理回路を示せ。なお、入力として、 およびそれらの否定 が与えられるものとする。
(d) 論理関数
を考える。
を満足するすべての論理関数 の中から、積項数が最小でリテラル数が最も少ない積和形論理式を持つ論理関数の最小積和形表現を求めよ。
(2)
図(a)に示す入力 と出力 を持つ順序回路について、以下の問に答えよ。
(a) 状態遷移出力表を示せ。リセットされた状態を初期状態とし、初期状態から回路を動作させても到達できない状態は記載しないこと。
(b) 問(a)で求めた状態遷移出力表について、状態数が最小であるか答えよ。最小でない場合には、等価な状態の組を示せ。
题目描述
回答全部问题。、、、 分别表示逻辑非、与、或、异或。
-
对逻辑函数
回答:
- 求 的最简与或式。
- 求 的最简或与式。
- 仅用三输入 NAND 门设计门数最少、输出为 的电路;可直接使用 及其反变量。
- 令 、。在所有满足 的逻辑函数 中,求其最简与或式,使乘积项数最少,并在此基础上文字数也最少。
-
对下图所示、输入为 、输出为 的时序电路:
- 写出状态转移—输出表,以复位状态为初态,不列从初态不可达的状态。
- 判断所得状态数是否最少;若不是,指出等价状态对。
Kai
(1)
(a)
Derive the corresponding K-map of and
![]() | ![]() |
(b)
Simplified Boolean Expression for
(c)
NAND/Logic Expression for
The three product terms are formed by three 3-input NAND gates (duplicate one input for ), and a fourth 3-input NAND gate combines their outputs. Hence four gates suffice.
The three 1-inputs cannot be covered in pairs by a single implicant, so at least three product terms are necessary.
To justify minimality, observe that the function has no literal that is always true on all of its 1-inputs, and no entire literal half-space on which it is 1. Consequently, the final NAND cannot take a primary literal directly. With at most three gates, it must use only the outputs of the preceding one or two NAND gates. If those preceding gates are parallel, or both their outputs enter the final gate, De Morgan's law reduces the result to at most two product terms. In the remaining chain case the output has the form , where are products of literals. A nonconstant would force a literal on every 1-input; a constant would make the output the complement of a single product, which also does not equal this function. Thus none of these cases realizes a function requiring three product terms, and four gates are minimal.
(d)
Derive the K-map of
![]() | ![]() | ![]() |
Equation for :
(2)
(a)
![]() | ![]() |
![]() |
State Transition Table
| Current State () | : Next/Output | : Next/Output |
|---|---|---|
| 000 | 000 / 0 | 001 / 0 |
| 001 | 011 / 1 | 101 / 0 |
| 010 | 010 / 0 | 001 / 0 |
| 011 | 100 / 0 | 101 / 0 |
| 100 | 010 / 1 | 011 / 1 |
| 101 | 100 / 1 | 000 / 0 |
(b)
The first product term of the output gate is connected to , not in the original circuit. Thus its correct expression is , as used above.
Partitioning by the two outputs for inputs gives
Refining by the blocks containing the next states gives
This partition is stable: and both output for either input; on input each stays within their common block, and on input each goes to . All other blocks are distinguished by the refinement. Therefore the equivalent pair is and the minimum number of states is .







