ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Digital Logic Design
    CC-110
    Progress0 / 63 topics
    Topics
    1. Introduction to Digital Systems2. Number Systems3. Introduction to Boolean Algebra4. Basic theorems and properties of Boolean Algebra5. Boolean Functions6. Logic Gates7. NAND and NOR Implementation8. Representation of Function in Sum of Minterms or Product of Maxterms9. Simplification of Boolean function using Karnaugh Map10. Don't care Conditions11. The Tabulation Method12. Introduction to Combinational Logic13. Design of Adders14. Design of Subtractors15. Code Convertors16. Analysis Procedure of Combinational Circuits17. Binary Parallel Adders18. Decimal Adders19. Magnitude Comparator20. Decoders and its applications21. Multiplexers22. Demultiplexers23. Encoders24. ROM25. Programmable Logic Array (PLA)26. Introduction to Sequential Circuits27. Basic Flip Flop28. Clocked RS Flip Flop29. Clocked D Flip Flop30. Clocked JK Flip Flop31. Clocked T Flip Flop32. Analysis of Clocked Sequential Circuits33. State Reduction and Assignment34. Flip Flop Excitation tables35. Design Procedure36. Design of Counters37. Design with State Equations38. Introduction to Registers39. Shift Registers40. Ripple Counters41. Synchronous Counters42. Timing Sequences43. Memory Unit44. Random Access Memory45. Introduction to Programmable Logic Devices (CPLD, FPGA)46. Lab Assignments using tools such as Verilog HDL/VHDL, MultiSim47. Familiarization with Digital Electronic Trainer48. Logic gates operations49. Half Adder Operation50. Full Adder Operation51. Half Subtractor Operation52. Full Subtractor Operation53. 7-Segment Display Operation54. Decoder Operation55. BCD To 7-Segment Display56. Multiplexer Operation57. Using Multiplexer and Demultiplexer/Decoder58. Multiplexing 7-Segment Displays59. Comparator Operations60. D Latch and Flip-Flop Operation61. Latching BCD Data for Displaying On 7-Segment Display62. JK Flip-Flop Operation63. Random Access Memories
    CC-110›Boolean Functions
    Digital Logic DesignTopic 5 of 63

    Boolean Functions

    6 minread
    1,065words
    Intermediatelevel

    Boolean Functions

    A Boolean function is a mathematical expression that represents the relationship between binary variables using Boolean algebra. These functions operate on binary inputs (which take values 0 or 1) and produce a binary output, and they form the foundation of digital logic design. Boolean functions can be expressed in terms of Boolean operations like AND, OR, NOT, NAND, NOR, XOR, and XNOR, which are applied to one or more binary inputs.

    Key Concepts of Boolean Functions:

    1. Boolean Variables:

      • A Boolean variable can only have two possible values: 0 (false) or 1 (true). These are the fundamental building blocks of Boolean functions.
    2. Boolean Operations:

      • AND ( ∧ ): This operation outputs 1 only if both inputs are 1. Otherwise, it outputs 0.
        • Example: A ∧ B is true only if both A and B are true.
      • OR ( ∨ ): This operation outputs 1 if at least one of the inputs is 1.
        • Example: A ∨ B is true if either A or B is true.
      • NOT ( ¬ ): This operation outputs the inverse (complement) of the input. If the input is 1, it outputs 0, and if the input is 0, it outputs 1.
        • Example: ¬A inverts the value of A.
      • NAND: This operation is the inverse of AND. It outputs 0 only if both inputs are 1, otherwise, it outputs 1.
        • Example: A NAND B is true unless both A and B are true.
      • NOR: This operation is the inverse of OR. It outputs 0 if at least one input is 1; otherwise, it outputs 1.
        • Example: A NOR B is true only if both A and B are false.
      • XOR (Exclusive OR): This operation outputs 1 if the inputs are different (one is 1 and the other is 0), and 0 if the inputs are the same.
        • Example: A XOR B is true if either A or B is true, but not both.
      • XNOR (Exclusive NOR): This operation is the complement of XOR. It outputs 1 if the inputs are the same (both 0 or both 1), and 0 if they are different.
        • Example: A XNOR B is true if A and B are either both true or both false.
    3. Truth Table:

      • A truth table is a tabular representation of all possible input combinations for a Boolean function and their corresponding output. It provides a clear way to see how the Boolean function behaves.

      For example, the truth table for the AND operation is:

      A B A ∧ B
      0 0 0
      0 1 0
      1 0 0
      1 1 1
    4. Boolean Expression:

      • A Boolean function can be expressed as a combination of Boolean variables and operators. For instance, the Boolean function "A AND B" can be written as A∧BA \land BA∧B. These expressions are used to design logic circuits.
    5. Simplification of Boolean Functions:

      • Boolean expressions can often be simplified using rules derived from Boolean algebra to reduce the complexity of digital circuits.
      • Key laws of Boolean algebra include:
        • Identity Law: A∧1=AA \land 1 = AA∧1=A, A∨0=AA \lor 0 = AA∨0=A
        • Null Law: A∧0=0A \land 0 = 0A∧0=0, A∨1=1A \lor 1 = 1A∨1=1
        • Idempotent Law: A∧A=AA \land A = AA∧A=A, A∨A=AA \lor A = AA∨A=A
        • Complement Law: A∧¬A=0A \land \neg A = 0A∧¬A=0, A∨¬A=1A \lor \neg A = 1A∨¬A=1
        • Distributive Law: A∧(B∨C)=(A∧B)∨(A∧C)A \land (B \lor C) = (A \land B) \lor (A \land C)A∧(B∨C)=(A∧B)∨(A∧C)
    6. Canonical Forms:

      • Boolean functions can be expressed in canonical forms, primarily Sum of Products (SOP) and Product of Sums (POS):
        • Sum of Products (SOP): This is a sum of multiple product terms (AND terms joined by OR). It represents the OR of several AND operations.
        • Product of Sums (POS): This is a product of multiple sum terms (OR terms joined by AND). It represents the AND of several OR operations.

      For example:

      • SOP: (A∧B)∨(¬A∧C)(A \land B) \lor (\neg A \land C)(A∧B)∨(¬A∧C)
      • POS: (A∨¬B)∧(¬A∨C)(A \lor \neg B) \land (\neg A \lor C)(A∨¬B)∧(¬A∨C)
    7. Implementation of Boolean Functions:

      • Boolean functions are the basis of digital circuits. Using logic gates like AND, OR, NOT, NAND, NOR, XOR, and XNOR, these functions can be implemented in hardware.
      • Combinational circuits like adders, multiplexers, and decoders rely on Boolean functions to process inputs and produce outputs without any memory.
      • Sequential circuits, which involve memory, use Boolean functions in conjunction with flip-flops and registers.

    Example of a Boolean Function and its Implementation:

    Consider the Boolean function: F(A,B,C)=A∧(B∨C)F(A, B, C) = A \land (B \lor C)F(A,B,C)=A∧(B∨C)

    • This function indicates that the output is true if A is true and at least one of B or C is true.
    • Truth table for the function:
    A B C B ∨ C A ∧ (B ∨ C)
    0 0 0 0 0
    0 0 1 1 0
    0 1 0 1 0
    0 1 1 1 0
    1 0 0 0 0
    1 0 1 1 1
    1 1 0 1 1
    1 1 1 1 1
    • This can be implemented using AND and OR gates in a digital circuit.
    Previous topic 4
    Basic theorems and properties of Boolean Algebra
    Next topic 6
    Logic Gates

    Past Papers

    Open this section to load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time6 min
      Word count1,065
      Code examples0
      DifficultyIntermediate