Full Subtractor

Duration: 33 min

This video lesson is available to enrolled students.

Return to /learn/ISRO/digital-electronics/combinational-circuit/adders-subtractors/asset-full-subtractor after enrolling

Inside: a video lesson and guided study material.

Module outline

  1. About Course: About the Course
  2. General Aptitude & Reasoning: Number System, Percentage, Ratio and Proportion (Ratios), Average, Profit and Loss, Simple Interest and Compound Interest, Time and Work, Speed Time and Distance, Mixture and Alligation, Data Interpretation, Algebra, Probability, Permutation and Combination, Venn Diagram, HCF LCM, Divisibility Rules, Age Problems, Pipe and Cistern, Partnership, Linear Algebra, Sequence and Series (Series), Statistics, Powers and Exponents (Surds and Indices), Arithmetic, Mensuration and Geometry, Calculus, Trigonometry, Vectors, Speed Mathematics and Basic Mathematics, Non Verbal Reasoning (Spatial Aptitude) (Spatial Reasoning) (Visual Reasoning), Analogy, Series (Number and Letter Series) (Numerical Relations and Reasoning), Puzzle Solving (Puzzles), Syllogisms, Deductive and Inductive Reasoning (Logical Deduction and Induction) (Prepositional Reasoning), Calendar, Seating Arrangements, Coding Decoding, Blood Relations, Directions (Direction Test), Clock, Analytical Reasoning (Counting Figures Reasoning), Ranking, Order and Sequence, Logical Sequence Of Words, Inequality, Data Sufficiency, Cubes & Dices
  3. Computer Networks & Cybersecurity: Introduction to CN, Data Communication, DLL: Access Control, DLL: Flow Control, DLL: Error Control, DLL: Framing, Data Link Layer - Ethernet, Net Layer: IPv4 & Proto, Net Layer: IP Addressing, Net Layer:Routing Protocol, Transport Layer Services, TL: Congestion & UDP, Application Layer, Hardware Basics, Network Security
  4. Programming, Data Structures & Algorithms: C Fundamentals, Control Flow, Functions, Arrays & Pointers, Storage Classes, Structures & Enums, DMA, Macros, Scoping & File Handling, OOPS with C++, Introduction to DS, Array, Stack, Queue, Linked List, Tree, Graphs, Hashing, Algorithm Analysis, Time Complexity Analysis, Sorting Algorithms, Greedy Algorithms, Dynamic Programming, Minimum Spanning Trees, Shortest Path Algos, Advanced Algorithms
  5. AI, Machine Learning, Big Data & Cloud: Emerging Tech Trends, Artificial Intelligence, Big Data Systems, Approaches to AI, Search Algorithms, Knowledge Representation, Cloud Computing
  6. Digital Logic & Computer Organization: Digital Systems & Boolean Basics, Logic Gates & Hardware, Boolean Expression, Boolean Minimization, Combinational Circuit, Sequential Circuits, Number System, Number Representation, Basics of COA, Floating Point Rep, Cache Memory Organization, Input Output Organisation, Pipelining, Instr Formats & Modes, Register Transfer and Microoperations, Control Unit Design, Programming the Basic Computer
  7. TOC & Compiler: Introduction to TOC, Deterministic FA (DFA), Non-Deterministic FA, Regular Expressions, Grammar, Regular Language Properties, Moore & Mealy Machines, Pushdown Automata & CFG, Turing Machines, Complexity Theory, Intro to Compilers, Lexical Analysis, Grammar & CFG, Syntax Analysis: Top-Down, Syntax Analysis: Bottom-Up, Semantic Analysis & SDT, Intermediate Code Gen, Code Optimization, Run Time Environment
  8. Discrete Mathematics: Set Theory, Relations, Functions, Graph Theory, Group Theory, Propositional and Predicate Logic
  9. Operating System: Introduction to OS, Process Management, CPU Scheduling, Process Synchronization, Threads & Process Creation, Deadlock, Memory Management, Virtual Memory, Disc Scheduling, File Management, Unix OS, Linux OS, Distributed Systems
  10. Software Engineering: Fundamentals of Software Engineering, Software Requirements and Quality Assurance, Software Design, Estimation and Metrics, Software Testing, Software Maintenance and Configuration Management, Object Oriented Technology, HTML Basics, JavaScript-Basics, Java, XML
  11. Database Management System: Basics of DBMS, ER Diagram, Relational Model & Functional Dependencies, Keys & Integrity Constraints, Normalization (1NF - BCNF), Decomposition Properties & 4NF, File Organization & Indexing, Relational Algebra, SQL, Relational Calculus, Transaction Management, Concurrency Control, Database Recovery, Data Warehousing & Mining, Enhanced Data Models, NoSQL
  12. Other Recurring CS Topics: Basics of Computer Graphics, 2-D Geometrical Transforms and Viewing, Multimedia
  13. Live Classes: ISRO Live classes
  14. Full Mock Test:
AI summary & chapters

AI Summary

An AI-generated summary of this video lecture.

This lecture introduces the full subtractor as a combinational logic circuit that performs arithmetic subtraction of three input bits: A (minuend), B (subtrahend), and B_{n-1} (borrow-in from the previous lower-significant position). The instructor begins with a slide definition and then uses a 4-bit binary example, A = 0110 and B = 1001, to motivate the need for borrow propagation. He labels MSB and LSB positions, highlights the least significant bit where a borrow is required (e.g., 10 - 1 = 1), and shows how subtraction proceeds bit by bit. A block diagram is drawn with inputs A, B, Bin and outputs D (difference) and Bout (borrow-out). The lecture then extends this to a multi-bit subtractor by cascading four full-subtractor stages labeled 0 through 3, with A = A3 A2 A1 A0 and B = B3 B2 B1 B0, showing how the borrow output of one stage feeds the borrow input of the next. A truth table is constructed with inputs A, B, Bin and outputs D, B (borrow), filled row by row using binary subtraction rules. From the truth table, minterm sums are written: D(A,B,Bin) = Σm(1,6,4,7) and B(A,B,Bin) = Σm(1,4,3,7). Finally, Boolean algebra simplification yields the standard full-subtractor equations: D = A ⊕ B ⊕ Bin and Bout = ĀB + (A ⊕ B)Bin. A final logic-gate diagram is drawn using XOR and OR gates to implement these expressions, completing the design of the full subtractor.

Chapters

  1. 0:00 – 2:00 00:00-02:00

    The lecture opens with a slide titled 'Full Subtractor' stating that it 'performs the arithmetic subtraction of three input bits.' The inputs are listed as A (Minuend) and B (Subtrahend), with a note that B_{n-1} represents the borrow from the previous lower-significant position. The instructor turns to the whiteboard and writes '(A - B)' followed by 'A = 0110' over 'B = 1001', setting up a concrete binary subtraction example to motivate the circuit design.

  2. 2:00 – 5:00 02:00-05:00

    The instructor explains the roles of minuend A, subtrahend B, and borrow-in Bin. He labels MSB and LSB on the board and walks through the subtraction example bit by bit, focusing on the least significant column where a borrow is needed. He writes '10 - 1 = 1' to demonstrate the borrow scenario and begins laying out a column subtraction with A and B rows under bit positions 3, 2, 1, 0.

  3. 5:00 – 10:00 05:00-10:00

    The instructor draws a green block diagram labeled 'Full Subtractor' with input arrows A, B, Bin and output arrows D and Bout, captioned 'Block Diagram.' He then extends this to a multi-bit representation, writing MSB: A3 A2 A1 A0 and LSB: B3 B2 B1 B0, and shows how the borrow input propagates through each bit position. He writes subtraction equations for individual bits, such as A0 - B0 = D0 and A1 - B1 - Bin1.

  4. 10:00 – 15:00 10:00-15:00

    The instructor builds a cascaded multi-bit subtractor by drawing red full-subtractor boxes. He starts with one box for bit 0 (inputs A0, B0, Bin0; output D0) and then adds a second box for bit 1 (inputs A1, B1, Bin1), showing how the borrow-out of one stage connects to the borrow-in of the next. The board also retains the '10 - 1 = 1' example and MSB/LSB labels as reference.

  5. 15:00 – 20:00 15:00-20:00

    The instructor completes the four-stage cascade, labeling boxes 'Full Subtractor (3)', '(2)', '(1)', and '0', with A = A3 A2 A1 A0 and B = B3 B2 B1 B0. He then transitions to logic design by drawing a green truth-table grid with column headers 'Inputs' (A, B, Bin) and 'Outputs' (D, B), beginning to fill in rows with 0s and dashes as he evaluates each combination.

  6. 20:00 – 25:00 20:00-25:00

    The instructor fills in the full truth table for the full subtractor, using binary subtraction rules such as '1 - 1 = 0' and lines beginning with '10 - 1' to determine output values for each input combination. Below the table, he writes minterm sums in pink: 'D(A,B,Bin) = Σm(1,6,4,7)' and 'B(A,B,Bin) = Σm(1,4,3,7)', identifying which input combinations produce a difference of 1 and a borrow-out of 1 respectively.

  7. 25:00 – 30:00 25:00-30:00

    The instructor applies Boolean algebra to simplify the minterm expressions. He shows steps for the borrow output, writing '= Bin(ĀA + AĀ) + ĀB' and then simplifying to '= ĀB + (A ⊕ B)Bin'. He also derives the difference output as 'D = A ⊕ B ⊕ Bin', using XOR identities to reduce the expressions to their minimal forms.

  8. 30:00 – 32:35 30:00-32:35

    The instructor draws the final logic-gate implementation of the full subtractor. He uses XOR gates to compute A ⊕ B and then (A ⊕ B) ⊕ Bin for the difference output D, and combines an AND gate with ĀB and (A ⊕ B)Bin fed into an OR gate for the borrow output Bout. The completed circuit diagram shows inputs A, B, Bin leading to outputs D and Bout, concluding the design.

The lecture follows a structured progression from motivation to implementation. It begins with the definition of a full subtractor and a concrete 4-bit binary example (A = 0110, B = 1001) to illustrate why borrow propagation is necessary. The instructor then abstracts this into a single-bit block diagram with inputs A, B, Bin and outputs D, Bout, before extending to a four-stage cascaded architecture for multi-bit subtraction. The core of the lecture is the truth-table construction, where all eight input combinations are evaluated using binary subtraction rules. From this table, minterm sums are extracted for both outputs: D = Σm(1,6,4,7) and Bout = Σm(1,4,3,7). Boolean algebra simplification then yields the canonical full-subtractor equations: D = A ⊕ B ⊕ Bin and Bout = ĀB + (A ⊕ B)Bin. The final gate-level diagram uses two XOR gates, one AND gate, and one OR gate to implement these expressions. Key takeaways for exam revision: (1) A full subtractor has three inputs and two outputs; (2) the difference output is a triple XOR of A, B, and Bin; (3) the borrow-out depends on both ĀB and the XOR of A and B multiplied by Bin; (4) multi-bit subtraction is achieved by cascading full subtractors with borrow chaining.

Loading lesson…