ECEN1011 2026 1

Table of contents

  1. Chapter 1 Boolean algebra and Combinational logic
  2. Combinational Networks

1. Chapter 1 Boolean algebra and Combinational logic

1.1 Analog and Digital

Digital systems represent information using discrete values, typically binary (0 and 1). This contrasts with analog systems, which use continuously varying quantities.

Digital representations are advantageous due to their ease of storage, reduced sensitivity to noise, and controllable accuracy through the number of bits used. However, practical digital system realization often requires more components than analog systems.

  • Analog representation: A variable can assume all intermediate values between two points, offering infinite accuracy.
  • Discrete (digital) representation: A variable can only assume a limited number of values.
  • Binary representation: A specific type of discrete representation using only two symbols (e.g., 0 and 1).
  • Analog to Digital Converters (ADC): Devices that convert analog signals to digital signals.
  • Digital to Analog Converters (DAC): Devices that convert digital signals to analog signals.

Four graphs illustrate the difference between analog and digital signals, showing continuous and quantized variations over time. 6.

1.2 Asynchronous & Synchronous Networks

In digital systems, operations can occur over continuous time (asynchronous) or discrete time (synchronous).

  • Synchronous network: All parts operate simultaneously, controlled by a common synchronization signal (clock).
  • Asynchronous network: Parts operate autonomously without a common clock signal.

📝 A synchronous network operates based on a common clock signal, ensuring all parts function simultaneously.

1.3 Boolean Variables and Functions

A Boolean variable is a discrete variable that can assume only two values: 0 (false) and 1 (true). A Boolean function f(X1,X2,…,Xn)f(X_1, X_2, \dots, X_n) associates a Boolean value to every combination of its input Boolean variables.

The domain of a function with nn variables consists of 2n2^n possible combinations. Two functions are equivalent if they produce the same output for all input combinations.

1.4 Truth Tables

A truth table is a systematic way to represent a Boolean function by listing all possible input combinations and their corresponding output values. For a function with three variables (X1,X2,X3X_1, X_2, X_3), there are 23=82^3 = 8 possible input combinations.

A truth table displays all possible input combinations for a function and their corresponding output values. 10.

1.5 Boolean Algebra

Boolean algebra is an algebraic system used for manipulating binary information. It is defined by:

  • A set of values: {0, 1}.
  • Basic operations: OR, AND, and NOT.
  • An equivalence operator (=) with reflexive, symmetric, and transitive properties.

1.6 Operations 13

The fundamental operations in Boolean algebra are OR, AND, and NOT.

OperationAlgebraic symbolsTruth tableCircuit diagram symbols
OR (logical sum)X+YX+Y, X∪YX \cup Y, X∨YX \lor YXY
AND (logical product)X⋅YX \cdot Y, XYXY, X∩YX \cap Y, X∧YX \land YXY
NOT (negation)X‾\overline{X}, X′X', !X!X, ¬X\neg XXX‾\overline{X}
0

1.7 Fundamental Properties

Boolean algebra follows several fundamental properties that are crucial for simplifying expressions and designing logic networks.

  • Commutative Law: X+Y=Y+XX+Y = Y+X; XY=YXXY = YX.
  • Associative Law: (X+Y)+Z=X+(Y+Z)(X+Y)+Z = X+(Y+Z); (XY)Z=X(YZ)(XY)Z = X(YZ).
  • Distributivity: X(Y+Z)=XY+XZX(Y+Z) = XY+XZ; X+YZ=(X+Y)(X+Z)X+YZ = (X+Y)(X+Z).
  • Complementation: X+X‾=1X+\overline{X} = 1; XX‾=0X\overline{X} = 0.
  • Idempotent Law: X+X=XX+X = X; XX=XXX = X.
  • Absorption Law: X+XY=XX+XY = X; X(X+Y)=XX(X+Y) = X.
  • Logic Adjacency: XY+XY‾=XXY+X\overline{Y} = X; (X+Y)(X+Y‾)=X(X+Y)(X+\overline{Y}) = X.
  • Consensus: XY+XZ‾+YZ=XY+YZXY+X\overline{Z}+YZ = XY+YZ; (X+Y)(X+Z‾)(Y+Z)=(X+Y)(Y+Z)(X+Y)(X+\overline{Z})(Y+Z) = (X+Y)(Y+Z).
  • Involution: X‾‾=X\overline{\overline{X}} = X.
  • Duality Principle: If an expression is valid, its dual (obtained by swapping AND with OR and 0 with 1) is also valid. For example, X+1=1X+1=1 implies X⋅0=0X \cdot 0 = 0 15 16.

1.8 De Morgan’s Theorem

De Morgan's theorems provide a way to simplify negated expressions involving AND and OR operations.

  • XY‾=X‾+Y‾\overline{XY} = \overline{X} + \overline{Y}
  • X+Y‾=X‾⋅Y‾\overline{X+Y} = \overline{X} \cdot \overline{Y}

The generalized form applies to multiple variables:

  • X1X2…Xn‾=X1‾+X2‾+⋯+Xn‾\overline{X_1 X_2 \dots X_n} = \overline{X_1} + \overline{X_2} + \dots + \overline{X_n}
  • X1+X2+⋯+Xn‾=X1‾⋅X2‾⋅⋯⋅Xn‾\overline{X_1 + X_2 + \dots + X_n} = \overline{X_1} \cdot \overline{X_2} \cdot \dots \cdot \overline{X_n}

This diagram illustrates De Morgan's theorems using logic gates. 17.

1.9 Other Operations: NAND and NOR

NAND (Not AND) and NOR (Not OR) are considered universal gates because all other Boolean operations can be constructed using only NAND or only NOR gates.

  • NAND: XY‾\overline{XY}
  • NOR: X+Y‾\overline{X+Y}

Circuit symbols for NAND and NOR gates with their corresponding truth tables. 18.

1.10 XOR (Exclusive OR)

The XOR operation outputs 1 if an odd number of its inputs are 1, and 0 otherwise.

  • X⊕Y=X‾Y+XY‾X \oplus Y = \overline{X}Y + X\overline{Y}
  • X⊕Y⊕Z=(X‾Y+XY‾)⊕ZX \oplus Y \oplus Z = (\overline{X}Y + X\overline{Y}) \oplus Z
  • The output of X1⊕X2⊕⋯⊕XnX_1 \oplus X_2 \oplus \dots \oplus X_n is 1 if there is an odd number of 1s among the inputs, and 0 if there is an even number of 1s 19.

1.11 Functionally Complete Operation Sets

A set of operations is functionally complete if all Boolean functions can be implemented using only those operations.

Operation SetCompleteness
{AND, OR, NOT}Complete
{NOR}Complete
{NAND}Complete
{OR, NOT}Complete
{AND, NOT}Complete
{EXOR, AND}Complete
{EXOR, OR}Complete

In practice, {NOR} and {NAND} are preferred for their universality and efficiency in hardware implementation 20.

1.12 Assignment 1-1

These exercises test the application of Boolean algebra theorems for negation and minimization.

  1. Negate and transform the term ABCD‾‾‾\overline{A \overline{B \overline{C D}}} into a four-term logical sum.
  2. Negate and transform the term A+B+C‾\overline{A+B+C} into a single product term.
  3. Minimize the logical expression A+A‾B+A‾B‾+AB‾A + \overline{A}B + \overline{A}\overline{B} + A\overline{B} using Boolean algebra theorems 23.

1.13 Shannon’s Expansion Theorem

Shannon's expansion theorem provides methods to express a Boolean function in terms of its constituent variables, leading to canonical forms.

1.14 First Form (Sum of Products - SOP)

The first canonical form, also known as the sum of products (SOP) or AND-OR form, expresses a function as an OR of AND terms. Each AND term corresponds to a minterm where the function is true.

f(X1,X2,…,Xn)=∑i=02n−1mi⋅f(i)f(X_1, X_2, \dots, X_n) = \sum_{i=0}^{2^n-1} m_i \cdot f(i)

where mim_i are the minterms and f(i)f(i) is the function's value for the ii-th input combination.

For f(X,Y,Z)f(X, Y, Z), the SOP form is: f(X,Y,Z)=XYZ⋅f(1,1,1)+XYZ‾⋅f(1,1,0)+⋯+X‾Y‾Z‾⋅f(0,0,0)f(X, Y, Z) = X Y Z \cdot f(1,1,1) + X Y \overline{Z} \cdot f(1,1,0) + \dots + \overline{X} \overline{Y} \overline{Z} \cdot f(0,0,0) 24.

📝 For f(X,Y,Z)f(X, Y, Z), the Sum of Products (SOP) form is f(X,Y,Z)=XYZ⋅f(1,1,1)+XYZ‾⋅f(1,1,0)+⋯+X‾Y‾Z‾⋅f(0,0,0)f(X, Y, Z) = X Y Z \cdot f(1,1,1) + X Y \overline{Z} \cdot f(1,1,0) + \dots + \overline{X} \overline{Y} \overline{Z} \cdot f(0,0,0).

1.15 Second Form (Product of Sums - POS)

The second canonical form, product of sums (POS) or OR-AND form, expresses a function as an AND of OR terms. Each OR term corresponds to a maxterm where the function is false.

f(X1,X2,…,Xn)=∏i=02n−1Mif(i)f(X_1, X_2, \dots, X_n) = \prod_{i=0}^{2^n-1} M_i^{f(i)}

where MiM_i are the maxterms and f(i)f(i) is the function's value for the ii-th input combination. If f(i)=0f(i)=0, the corresponding maxterm MiM_i is included in the product.

For f(X,Y,Z)f(X, Y, Z), the POS form is: f(X,Y,Z)=(X‾+Y‾+Z‾+f(0,0,0))⋅(X‾+Y‾+Z+f(0,0,1))⋅⋯⋅(X+Y+Z+f(1,1,1))f(X, Y, Z) = (\overline{X}+\overline{Y}+\overline{Z} + f(0,0,0)) \cdot (\overline{X}+\overline{Y}+Z + f(0,0,1)) \cdot \dots \cdot (X+Y+Z + f(1,1,1)) 26.

📝 The duality principle states that if X+1=1X+1=1 is valid, then its dual, X⋅0=0X \cdot 0 = 0, is also valid.

1.16 Level of Boolean Expressions

The level of a Boolean expression refers to the depth of logic gates required to implement it. A one-level expression, like f=A+Bf = A+B, requires a single level of gates (OR gate).

A two-level expression, like f=AB+Cf = AB + C, requires two levels (AND gate followed by an OR gate). Expressions with more levels generally introduce longer propagation delays.

  • f=A+Bf = A+B is a one-level expression.
  • f=AB+Cf = AB+C is a two-level expression.
  • f=AB+CDf = AB+CD is a two-level expression.

It is assumed that all input variables and their complemented forms are available 28.

1.17 Literals

Literals are the individual variables (either in their direct or complemented form) that appear in a Boolean expression. The number of literals is counted irrespective of whether the variable is complemented or not.

  • f=A+Bf = A+B has 2 literals (A and B).
  • f=AB+A‾Bf = AB + \overline{A}B has 4 literals (A, B, A‾\overline{A}, and B) 29.

1.18 Minterms

A minterm is an AND term in a Boolean expression that includes all the direct or negated variables of the expression. For an nn-variable function, there are 2n2^n unique minterms.

Each minterm evaluates to 1 for exactly one combination of input variables.

  • For f(X1,X2,X3)f(X_1, X_2, X_3), minterms include X1X2X3X_1 X_2 X_3, X1X2X3‾X_1 X_2 \overline{X_3}, etc 30.

1.19 Maxterms

A maxterm is an OR term in a Boolean expression that includes all the direct or negated variables of the expression. For an nn-variable function, there are 2n2^n unique maxterms.

Each maxterm evaluates to 0 for exactly one combination of input variables.

  • For f(X1,X2,X3)f(X_1, X_2, X_3), maxterms include X1+X2+X3X_1 + X_2 + X_3, X1+X2+X3‾X_1 + X_2 + \overline{X_3}, etc 31.

1.20 Implicants

Given a Boolean function ff, an expression gg is an implicant of ff if ff is always 1 whenever gg is 1 (g  ⟹  fg \implies f, or f⊇gf \supseteq g). This means that if the conditions represented by gg are met, the function ff will also be met.

  • For f(X,Y,Z)=XY+Zf(X, Y, Z) = XY + Z, both XYXY and ZZ are implicants of ff. If XY=1XY=1 or Z=1Z=1, then f=1f=1. XX alone is not an implicant because ff is not necessarily 1 when X=1X=1 32.

1.21 Prime Implicants

A prime implicant gg of a Boolean function ff is an implicant that cannot be covered by another implicant with fewer literals. In other words, it's a "minimal" implicant in terms of the number of variables involved.

  • For f=XY+X+Zf = XY + X + Z:
  • XYXY is an implicant but not prime because it is covered by XX (which has fewer literals).
  • XX is a prime implicant.
  • ZZ is a prime implicant 33.

1.22 Assignment 1-2

These exercises focus on simplifying Boolean expressions using algebraic theorems and De Morgan's theorem.

  1. Prove that the expression Y=AB+A‾CD+A‾B‾+A‾BC+A‾B+A‾CY = AB + \overline{A}CD + \overline{A}\overline{B} + \overline{A}BC + \overline{A}B + \overline{A}C equals 1 only when A and B are contemporaneously at 1, or when D is at 1 and C is contemporaneously at 0.
  2. Minimize the logical function Y=A‾B‾+A‾+B‾+A‾B‾Y = \overline{A}\overline{B} + \overline{A} + \overline{B} + \overline{A}\overline{B} using Boolean algebra criteria.
  3. Using De Morgan’s theorem, minimize the logical function Y=A+BC‾+CB‾‾Y = \overline{A+B\overline{C}+C\overline{B}} 34.

2. Combinational Networks

2.1 Combinational & Sequential Networks

Logical networks are broadly classified into combinational and sequential types, distinguished by how their outputs are determined.

  • Combinational network: The output depends solely on the current combination of its inputs. These networks can be described by Boolean functions.
  • Sequential network: The output depends not only on the current inputs but also on the history of previous inputs, meaning they possess memory. These cannot be fully described by simple Boolean functions 36.

2.2 Logical Network Analysis

Analyzing a logical network involves determining its behavior, typically by deriving a Boolean function that represents the output in terms of the inputs. This process often involves simplifying complex gate arrangements into a more manageable logical expression 37.

📝 The output FF depends solely on the current combination of inputs A,B,C,DA, B, C, D. For example, if A=1,B=0,C=1,D=0A=1, B=0, C=1, D=0, then F=(A⋅D)+(B⋅C)=(1⋅0)+(0⋅1)=0+0=0F = (A \cdot D) + (B \cdot C) = (1 \cdot 0) + (0 \cdot 1) = 0 + 0 = 0 38.

2.3 Circuit Schematic of Logical Network

The schematic visually represents the interconnections of logic gates that form a logical network. Each gate performs a specific Boolean operation (AND, OR, NOT, etc.), and their arrangement defines the overall function of the circuit.

The provided example shows a complex network with multiple AND, OR, and NOT gates 38.

2.4 Logical Network in VHDL

VHDL (VHSIC Hardware Description Language) is used to describe the structure and behavior of digital circuits. The example shows a structural VHDL description of a logical circuit, defining components (like NOT, AND2, OR2 gates) and how they are interconnected to form the overall circuit 39.

2.5 Defining the Behavior of a Logical Network

The behavior of a logical network can be defined using a Boolean function that relates the output(s) to the input(s). This function can be derived from the circuit schematic or, conversely, a circuit can be designed from a given Boolean function.

The example F=(A⊕B)⊕CF = (A \oplus B) \oplus C illustrates a network whose output depends on the XOR combination of its inputs 40.

📝 The Boolean function F=(A⊕B)⊕CF = (A \oplus B) \oplus C defines a network whose output depends on the XOR combination of its inputs 40.

2.6 Circuit Schematic from the Truth Table

A truth table can be directly translated into a circuit schematic using the sum of products (SOP) form derived from Shannon's expansion theorem. Each row in the truth table where the output is 1 corresponds to a minterm, which is then implemented as an AND gate.

The outputs of these AND gates are then combined by an OR gate to produce the final output 41.

2.7 Example: Controlling a Heating System

This example demonstrates a simple combinational network controlling a heating system. The system's state is determined by two input variables: temperature (TT) and an input switch (II), and it produces one output: the control signal (CC) for the heater.

  • Variables:
  • T=0T=0 if temperature is ≥t0\ge t_0 (warm), T=1T=1 if temperature <t0< t_0 (cold).
  • C=0C=0 (heater OFF), C=1C=1 (heater ON).
  • I=0I=0 (switch OFF), I=1I=1 (switch ON).
  • Network Operation: The heater should turn ON (C=1C=1) only if the switch is ON (I=1I=1) AND the temperature is low (T=1T=1).
  • Synthesis: The Boolean function describing this is C=I⋅TC = I \cdot T 42 43.

📝 The heater control signal CC is ON (C=1C=1) only if the switch II is ON (I=1I=1) AND the temperature is low (T=1T=1), described by the Boolean function C=I⋅TC = I \cdot T 42 43.

2.8 Example: Two Channels Multiplexer (Selector)

A multiplexer (MUX) is a combinational circuit that selects one of several input signals and forwards it to a single output. A two-channel multiplexer has two data inputs (S1,S2S_1, S_2), one control input (SELSEL), and one output (UU).

The output UU is S1S_1 when SEL=0SEL=0 and S2S_2 when SEL=1SEL=1.

The Boolean function for a 2-to-1 multiplexer is: U=(SEL‾⋅S1)+(SEL⋅S2)U = (\overline{SEL} \cdot S_1) + (SEL \cdot S_2)

This expression can be minimized from a form with 12 literals to one with only 4 literals 44 45 46 47 48.

2.9 Two Channels Multiplexer in VHDL

The VHDL code provides a behavioral description of a 2-to-1 multiplexer. It uses a conditional assignment (when...else) to define the output UU based on the value of the SELSEL input.

An alternative implementation using standard Boolean operators is also shown: U≤(not(SEL) and S1) or (SEL and S2)U \le (\text{not(SEL) and S1}) \text{ or } (\text{SEL and S2}) 49.

2.10 Assignment 1-3

These exercises likely involve deriving Boolean functions from circuit diagrams or truth tables.

  1. 8 50.

2.11 Assignment 1-4

These exercises focus on conversions between canonical forms and deriving logical functions from circuits.

  1. Perform conversions between the canonical forms (SOP and POS).
  2. Analytically derive the logical function of the provided circuit diagram 51.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also