0% found this document useful (0 votes)
8 views9 pages

Logic Circuit Design and Simplification

Uploaded by

jessielimzhimin
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views9 pages

Logic Circuit Design and Simplification

Uploaded by

jessielimzhimin
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Table of Contents

Question 1: (30 marks, 10%) .............................................................................................................. 1

1. Draw the logic gates circuit based on the specification given above .................................... 1

2. Boolean Expression based on the logic circuit ....................................................................... 1

3. Truth table for all possible inputs. .......................................................................................... 2

4. Simplified the circuit................................................................................................................. 2

5. Compare the logic circuit based on each simplification method above. ............................. 4

6. Opinion on which simplification method is easier, practical, and preferred to be used in

the circuit design. ............................................................................................................................. 5

Question 2: (30 Marks, 10%) Adders ................................................................................................ 6

1. Present the step-by-step process to add any TWO 3-bits binary numbers between 410 to
710 by using Full adders. .................................................................................................................. 6

2. Draw and label the logic circuit combination of 3-bits parallel adders .................................. 6

Multiplexers ...................................................................................................................................... 7

3. Present the logic gates representation of the 16-inputs multiplexers. Explain its principle
with an example of application ....................................................................................................... 7
Question 1: (30 marks, 10%)

1. Draw the logic gates circuit based on the specification given above. (3 marks)

2. Present the Boolean Expression based on the logic circuit. (3 marks)

𝑋𝑋 = �𝐴𝐴𝐴𝐴 + 𝐶𝐶𝐶𝐶 �(�𝐴𝐴 + 𝐵𝐵� + (𝐶𝐶 + 𝐷𝐷)) + (𝐴𝐴𝐴𝐴 + 𝐶𝐶𝐶𝐶)(�𝐴𝐴 + 𝐵𝐵� + �𝐶𝐶 + 𝐷𝐷�)

1
3. Prepare the truth table for all possible inputs.

4. Simplified the circuit by using: (9 marks)


a. SOP or POS
In this assignment, we decided to use sum-of-products (SOP) to simplify the circuit. To develop a
standard SOP expression, we only have to look at output “1”. To prove our truth table is correct, we
have also used the express the expression to standard SOP.

A B C D X Product term
0 0 1 1 1 𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷
0 1 0 1 1 𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷
0 1 1 0 1 𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷
1 0 0 1 1 𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷
1 0 1 0 1 𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷
1 1 0 0 1 𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷

SOP= 𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷 + 𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷 + 𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷 + 𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷 + 𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷 + 𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷

2
b. Boolean Algebra

-DeMorgon’s 2nd Theorems


𝐴𝐴 + 𝐵𝐵 = 𝐴𝐴 𝐵𝐵
-Rule Number 9
𝐴𝐴 = 𝐴𝐴

-DeMorgon’s 1st Theorem


𝐴𝐴𝐴𝐴 = 𝐴𝐴 + 𝐵𝐵

-Distributive Law
A(B+C) = AB +AC

-Rules Number 8.
𝐴𝐴 ∙ 𝐴𝐴 = 0
-Rules Number 3.
𝐴𝐴 ∙ 0 = 0

c. Karnaugh Map

𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷
𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷
AB

CD 00 01 11 10

00 0 0 1 0

01 0 1 0 1

11 1 0 0 0 𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷
10 0 1 0 1

𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷 𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷

𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷

X= 𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷 + 𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷 + 𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷 + 𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷 + 𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷 + 𝐴𝐴 𝐵𝐵 𝐶𝐶 𝐷𝐷

3
5. Compare the logic circuit based on each simplification method above. (6 marks)

SOP= 𝑨𝑨 𝑩𝑩 𝑪𝑪 𝑫𝑫 + 𝑨𝑨 𝑩𝑩 𝑪𝑪 𝑫𝑫 + 𝑨𝑨 𝑩𝑩 𝑪𝑪 𝑫𝑫 + 𝑨𝑨 𝑩𝑩 𝑪𝑪 𝑫𝑫 + 𝑨𝑨 𝑩𝑩 𝑪𝑪 𝑫𝑫 + 𝑨𝑨 𝑩𝑩 𝑪𝑪 𝑫𝑫

K-Map Method X=𝑨𝑨 𝑩𝑩 𝑪𝑪 𝑫𝑫 + 𝑨𝑨 𝑩𝑩 𝑪𝑪 𝑫𝑫 + 𝑨𝑨 𝑩𝑩 𝑪𝑪 𝑫𝑫 + 𝑨𝑨 𝑩𝑩 𝑪𝑪 𝑫𝑫 + 𝑨𝑨 𝑩𝑩 𝑪𝑪 𝑫𝑫 + 𝑨𝑨 𝑩𝑩 𝑪𝑪 𝑫𝑫

Boolean Algebra Method X= 𝑨𝑨 𝑩𝑩 𝑪𝑪 𝑫𝑫 + 𝑨𝑨 𝑩𝑩 𝑪𝑪 𝑫𝑫 + 𝑨𝑨 𝑩𝑩 𝑪𝑪 𝑫𝑫 + 𝑨𝑨 𝑩𝑩 𝑪𝑪 𝑫𝑫 + 𝑨𝑨 𝑩𝑩 𝑪𝑪 𝑫𝑫 + 𝑨𝑨 𝑩𝑩 𝑪𝑪 𝑫𝑫

Above showed the simplified Boolean Expression using SOP, K-map and Boolean Algebra. The
results of the Boolean expression of each method are same. Thus, our logic circuit based on each
simplification method are same as well. The simplified logic circuit is relatively simple and easy to
understand compared to the original logic circuits. In this simplified logic circuit, we only use NOT
gate, AND gate, and OR gate to express the logical expression; while in the original circuit, we have
used XOR gate, AND gate, Or gate and NOT gate.

4
6. In your opinion, which simplification method is easier, practical, and preferred to be used
in the circuit design. State your reason with proper explanation. (5 marks)

Based on our logic gates circuit, our Boolean expression is:

𝑋𝑋 = �𝐴𝐴𝐴𝐴 + 𝐶𝐶𝐶𝐶 �(�𝐴𝐴 + 𝐵𝐵� + (𝐶𝐶 + 𝐷𝐷)) + (𝐴𝐴𝐴𝐴 + 𝐶𝐶𝐶𝐶)(�𝐴𝐴 + 𝐵𝐵� + �𝐶𝐶 + 𝐷𝐷�)
To ensure the Boolean expression is correct, we have simulated the logic circuit and also prepare
the truth table for all possible inputs. In this assignment, we were asked to use three methods to simplify
the circuit and they are: SOP, Boolean Algebra and Karnaugh Map. By using Boolean Algebra, we
are able to apply laws and rules of Boolean Algebra to simplify the expression. The second method we
used is SOP. The abbreviation of SOP is sum-of-product, and here we only have to look at high output
which is “1” from the truth table. To prove our truth table is correct, we have also expanded the
Boolean expression to standard SOP form. The last method we used is Karnaugh Map. By using
Karnaugh Map, we are able to simplify the circuit using a table or also known as K-map. In this
assignment, we circle 1’s since we are dealing with SOP minimization.

In conclusion, Karnaugh Map method is easier, practical and preferred to be used in


simplification of logic circuit design as it is less error-prone and time consuming compared to
Boolean Algebra. K-map always provides the results in minimum expression with fewer steps; unlike
Boolean Algebra which might prone to human error such as some simplification steps are omitted and
misused of laws and rules.

5
Question 2: (30 Marks, 10%)
Adders

1. Present the step-by-step process to add any TWO 3-bits binary numbers between 410 to 710
by using Full adders.

2. Draw and label the logic circuit combination of 3-bits parallel adders using:

a. Half adders and logic gates combination

6
b. Logic gates combination only

Multiplexers

3. Present the logic gates representation of the 16-inputs multiplexers. Explain its principle
with an example of application

7
Multiplexers are capable of handling analog and digital applications. In analog applications,
multiplexers are made up of relays and transistor switches, whereas in digital applications, the
multiplexers are made up of logic gates.

The multiplexer can be applied in Communication System, Computer Memory, Telephone


Network, and it can be an application for Computer System of a Satellite. By using multiplexer in
communication system, the transmission of audio and video data are transmitted through single lines
or cables. Thus, increasing efficiency of communication system. Thus, increasing efficiency of
communication system. In the application of multiplexers in computer memory, they are able to
maintain huge memory capacity in computer. Furthermore, multiplexers able to integrate multiple
audio signals on a single line of transmission in telephone network system. For computer system of
a satellite, multiplexers are used to transmit data signal from system of spacecraft or satellite.

In conclusion, multiplexers have multiple inputs and single line output. It is able to send massive
data within a certain time.

Common questions

Powered by AI

The key simplification methods used for reducing logic circuits include the Sum-Of-Products (SOP) method, Boolean Algebra, and Karnaugh Map. SOP is beneficial as it focuses on high output '1', simplifying through a direct focus on the more frequent true outputs. Boolean Algebra uses laws and rules that provide a strong foundational approach but can be prone to human errors such as omissions. The Karnaugh Map stands out for being less error-prone and more time-efficient, efficiently reducing expressions to minimal logic with visual tabular representation, making it a preferred method .

The initial complex Boolean expression for a given logic gate circuit is constructed using logical ANDs and ORs based on gate connections. In SOP, the expression is simplified by focusing on output '1' values from the truth table to condense multiple input scenarios into fewer, representative product terms. This typically results in a shorter, more readable expression that covers all true outputs in a minimal form .

Human errors in Boolean Algebra simplifications can occur due to the omission of steps or misapplication of rules, resulting in inaccurate and suboptimal representations of logical expressions. These errors are mitigated by applying systematic methods like the Karnaugh Map, which offer visual cues and structured simplification steps that reduce omissions and misapplications. Additionally, using software tools for automatic logic simplification can help alleviate human errors in large and complex circuit designs .

Simulation tools provide several advantages in validating logic circuits by enabling testing of circuit functionality under numerous scenarios without needing a physical prototype. They help visualize signal flow, analyze timing, detect logical errors, and validate against truth tables, ensuring the design meets all specifications. Such tools are essential in refining design iterations rapidly, reducing development time and cost .

Truth tables provide a comprehensive mapping of all possible input combinations against the expected outputs, helping verify the accuracy of logic circuit designs. By comparing the outputs generated by a logic circuit with the truth table, designers can identify discrepancies and correct errors. This method ensures that the circuit behaves as intended across all logical scenarios .

Multiplexers enhance the efficiency of communication systems by consolidating multiple data streams—such as audio and video—onto single transmission lines, thereby reducing the need for multiple wires or channels. This consolidation minimizes infrastructure complexity and cost while maximizing data throughput and system efficiency, allowing for more efficient use of available bandwidth .

The implementation of a 3-bits binary number addition using Full Adders involves chaining the full adders, where each adder handles a bit pair with a carry, allowing for consideration of overflow from previous additions, which is crucial for accurate results. Half Adders, however, lack the carry input feature, making them less efficient for chaining in multi-bit operations but simpler and perhaps faster for operations involving only two input bits without initial carries. Full Adders provide a more complete solution by addressing both carry in and carry out, making them ideal for larger binary sums .

In simplified circuit designs, NOT, AND, and OR gates are generally preferred due to their fundamental nature and ease of use in constructing almost any logical function. Unlike XOR gates, which are used less frequently and have more complex representations, these basic gates offer a straightforward path to implement various boolean operations efficiently and are easier to understand and debug .

The Karnaugh Map method is less complex and less susceptible to errors compared to Boolean Algebra. It provides a visual approach that simplifies logic circuits efficiently through a systematic grouping of ones, which minimizes potential for human error. In contrast, Boolean Algebra relies heavily on applying rules which could lead to mistakes if steps are skipped or rules misapplied .

Multiplexers have diverse applications across several systems. In communications, they increase efficiency by transmitting audio and video data using fewer lines. In computer memory, they help manage large data volumes efficiently. In telephone networks, they can consolidate multiple audio signals on a single transmission line. Additionally, in satellite systems, multiplexers transmit data from spacecraft systems to ground controllers. These applications benefit from the multiplexer’s ability to manage multiple inputs while providing a single output .

You might also like