Annexure-I Amrutvahini Polytechnic Sangamner Academic Year - 2023-24
Annexure-I Amrutvahini Polytechnic Sangamner Academic Year - 2023-24
Aims:
Prepare a detailed report on Half Subtractor using Xilinx software.
Benefits:
1. Half subtractor is used to reduce the force of audio or radio signals.
2. It can be used in amplifiers to reduce the sound distortion.
3. Half subtractor is used in ALU of processor.
4. It can be used to increase and decrease operators and also calculates the
addresses.
Proposed methodology:
1. In this micro project we will search the information about half Subtractor
from internet as well as various reference book.
2. We will also include its specifications and applications of half Subtractor.
3. We will also include each half Subtractor of simulation output on Xilinx
software.
4. Finally, we will be able to select a half Subtractor for a specific applications or
advantages.
Resources required:
1. Desktop - - -
2. Xilinx Sofware
3. https://www.engineersgarage.com/v - - -
hdl-tutorial-11-designing-half-and-
full-subtractor-circuits/
4. https://www.androiderode.com/half- - - -
subtractor-and-full-subtractor-vhdl-
simulation-code/
Signature of Teacher
(Prof. Kanawade M.V.)
A
MICRO PROJECT REPORT
ON
1 Khatal Om Pradip 04
Telecommunication
(2023-2024)
Amrutvahini Sheti and Shikshan Vikas Sanstha’s
CERTIFICATE
This is to certify that,
Has satisfactorily carried out and completed the Micro Project work
entitled
MSBTE, Mumbai
1) Rationale 1
5) Literature review 2
2. Aim:
Benefits:
CI607.1- Develop design flow for give application using VLSI tools.
CI607.2- Interpret CMOS technology circuits with their specifications.
CI607.3- Use relevant VHDL model for given application.
CI607.4- Debug VHDL program for given application.
CI607.5- Describe VHDL simulation and synthesis.
4. Proposed Methodology:
a) In this micro project we will search the information about half Subtractor from
internet as well as various reference book.
b) We will also include its specifications and applications of half Subtractor.
c) We will also include each half Subtractor of simulation output on Xilinx
software.
d) Finally, we will be able to select a half Subtractor for a specific applications or
advantages.
5. Literature Review:
A half subtractor is a digital logic circuit that performs the subtraction of two binary
bits. It has two inputs, A and B, and two outputs, Difference (d) and Borrow (b). The
output d is the difference between the two inputs, A and B, and output b represents a
borrow, indicating that the subtraction of B from A requires borrowing from the next
digit in a larger binary number.
A half subtractor can be used in combination with other half subtractors to build a full
subtractor circuit, which can perform binary subtraction of larger binary numbers.
Now, let us understand the operation of the half subtractor circuit. Half subtractor
performs its operation to find the difference of two binary digits according to the rules
of binary subtraction, which are as follows −
The output borrow of b is zero (0) as long as the minuend bit (A) is greater than or
equal to the subtrahend bit (B), i.e. A ≥ B. The output borrow is a 1 when A = 0 and
B = 1.
From the logic circuit diagram of the half subtractor, it is clear that the difference bit
(d) is obtained by the XOR operation of the two inputs A and B, and the borrow bit is
obtained by AND operation of the compliment of the minuend (A') with the
subtrahend (B).
Half Subtractor Truth Table:
From the truth table, we can see that the difference (d) output is equal to 1 if either A
is 1 or B is 0. This means that the half subtractor will produce a 1 in the difference
output if there is no borrow from the next lower order bit. If both A and B inputs are 1,
then the half subtractor produces a 0 in the difference output and a 1 in the borrow
out (b) output. This indicates that there is a borrow from the next lower order bit.
After making the Truth Table for the Half Subtractor, let us now derive the Boolean
Expression for both the outputs of Half Subtractor i.e., “d” and “b”.
K-Map:
K-Map is the official way for deriving the boolean expressions using the truth table for
a particular digital circuit. Let us make the K-Map for the Half Subtractor.
So by using the K-Map we get the Logical Boolean Expressions for the output as:
The characteristic equations of the half subtractor, i.e. equations of the difference bit
(d) and the output borrow bit (b) are obtained by following the rules of binary
subtraction. These equations are given as follows −
The difference bit (d) of the half subtractor is given by XORing the two inputs A and
B. Therefore,
Difference,d=A⊕B=A′B+AB′
The borrow (b) of the half subtractor is the AND of A’ (compliment of A) and B.
Therefore,
Borrow,b=A′B
Circuit Diagram for Half Subtractor using Basic Gates:
The circuit diagram according to the above mentioned boolean expression is given:
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
entity half_sub is
port( A, B : in std_logic;
DIFF, Borrow : out std_logic);
end entity;
end architecture;
6. Output of Micro - Project:
9. Conclusion:
In conclusion, the detailed report on the Half Subtractor implemented using Xilinx
software highlights the comprehensive understanding and practical application of
digital logic design principles. Through the utilization of Xilinx tools, we have
successfully designed, simulated, and synthesized a functional Half Subtractor
circuit, demonstrating its capability to perform subtraction operations in binary
arithmetic. This project not only deepened our comprehension of fundamental digital
logic concepts but also provided invaluable hands-on experience with industry-
standard design tools. Moving forward, the knowledge gained from this project
serves as a solid foundation for tackling more complex digital design challenges and
exploring advanced topics in the field of digital electronics.