ECEN1011 2026 1
Table of contents
- Chapter 1 Boolean algebra and Combinational logic
- 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.
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) associates a Boolean value to every combination of its input Boolean variables.
The domain of a function with n variables consists of 2n 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,X3), there are 23=8 possible input combinations.
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.
| Operation | Algebraic symbols | Truth table | Circuit diagram symbols |
|---|---|---|---|
| OR (logical sum) | X+Y, X∪Y, X∨Y | X | Y |
| AND (logical product) | X⋅Y, XY, X∩Y, X∧Y | X | Y |
| NOT (negation) | X, X′, !X, ¬X | X | 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+X; XY=YX.
- Associative Law: (X+Y)+Z=X+(Y+Z); (XY)Z=X(YZ).
- Distributivity: X(Y+Z)=XY+XZ; X+YZ=(X+Y)(X+Z).
- Complementation: X+X=1; XX=0.
- Idempotent Law: X+X=X; XX=X.
- Absorption Law: X+XY=X; X(X+Y)=X.
- Logic Adjacency: XY+XY=X; (X+Y)(X+Y)=X.
- Consensus: XY+XZ+YZ=XY+YZ; (X+Y)(X+Z)(Y+Z)=(X+Y)(Y+Z).
- Involution: 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=1 implies X⋅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
- X+Y=X⋅Y
The generalized form applies to multiple variables:
- X1X2…Xn=X1+X2+⋯+Xn
- X1+X2+⋯+Xn=X1⋅X2⋅⋯⋅Xn
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
- NOR: X+Y
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=XY+XY
- X⊕Y⊕Z=(XY+XY)⊕Z
- The output of X1⊕X2⊕⋯⊕Xn 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 Set | Completeness |
|---|---|
| {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.
- Negate and transform the term ABCD into a four-term logical sum.
- Negate and transform the term A+B+C into a single product term.
- Minimize the logical expression A+AB+AB+AB 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)
where mi are the minterms and f(i) is the function's value for the i-th input combination.
For f(X,Y,Z), the SOP form is: f(X,Y,Z)=XYZ⋅f(1,1,1)+XYZ⋅f(1,1,0)+⋯+XYZ⋅f(0,0,0) 24.
📝 For 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)+⋯+XYZ⋅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)
where Mi are the maxterms and f(i) is the function's value for the i-th input combination. If f(i)=0, the corresponding maxterm Mi is included in the product.
For 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)) 26.
📝 The duality principle states that if X+1=1 is valid, then its dual, X⋅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+B, requires a single level of gates (OR gate).
A two-level expression, like f=AB+C, requires two levels (AND gate followed by an OR gate). Expressions with more levels generally introduce longer propagation delays.
- f=A+B is a one-level expression.
- f=AB+C is a two-level expression.
- f=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+B has 2 literals (A and B).
- f=AB+AB has 4 literals (A, B, 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 n-variable function, there are 2n unique minterms.
Each minterm evaluates to 1 for exactly one combination of input variables.
- For f(X1,X2,X3), minterms include X1X2X3, X1X2X3, 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 n-variable function, there are 2n unique maxterms.
Each maxterm evaluates to 0 for exactly one combination of input variables.
- For f(X1,X2,X3), maxterms include X1+X2+X3, X1+X2+X3, etc 31.
1.20 Implicants
Given a Boolean function f, an expression g is an implicant of f if f is always 1 whenever g is 1 (g⟹f, or f⊇g). This means that if the conditions represented by g are met, the function f will also be met.
- For f(X,Y,Z)=XY+Z, both XY and Z are implicants of f. If XY=1 or Z=1, then f=1. X alone is not an implicant because f is not necessarily 1 when X=1 32.
1.21 Prime Implicants
A prime implicant g of a Boolean function f 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+Z:
- XY is an implicant but not prime because it is covered by X (which has fewer literals).
- X is a prime implicant.
- Z 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.
- Prove that the expression Y=AB+ACD+AB+ABC+AB+AC equals 1 only when A and B are contemporaneously at 1, or when D is at 1 and C is contemporaneously at 0.
- Minimize the logical function Y=AB+A+B+AB using Boolean algebra criteria.
- Using De Morgan’s theorem, minimize the logical function Y=A+BC+CB 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 F depends solely on the current combination of inputs A,B,C,D. For example, if A=1,B=0,C=1,D=0, then F=(A⋅D)+(B⋅C)=(1⋅0)+(0⋅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)⊕C illustrates a network whose output depends on the XOR combination of its inputs 40.
📝 The Boolean function F=(A⊕B)⊕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 (T) and an input switch (I), and it produces one output: the control signal (C) for the heater.
- Variables:
- T=0 if temperature is ≥t0 (warm), T=1 if temperature <t0 (cold).
- C=0 (heater OFF), C=1 (heater ON).
- I=0 (switch OFF), I=1 (switch ON).
- Network Operation: The heater should turn ON (C=1) only if the switch is ON (I=1) AND the temperature is low (T=1).
- Synthesis: The Boolean function describing this is C=I⋅T 42 43.
📝 The heater control signal C is ON (C=1) only if the switch I is ON (I=1) AND the temperature is low (T=1), described by the Boolean function C=I⋅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,S2), one control input (SEL), and one output (U).
The output U is S1 when SEL=0 and S2 when SEL=1.
The Boolean function for a 2-to-1 multiplexer is: U=(SEL⋅S1)+(SEL⋅S2)
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 U based on the value of the SEL input.
An alternative implementation using standard Boolean operators is also shown: U≤(not(SEL) and S1) or (SEL and S2) 49.
2.10 Assignment 1-3
These exercises likely involve deriving Boolean functions from circuit diagrams or truth tables.
- 8 50.
2.11 Assignment 1-4
These exercises focus on conversions between canonical forms and deriving logical functions from circuits.
- Perform conversions between the canonical forms (SOP and POS).
- Analytically derive the logical function of the provided circuit diagram 51.
© 2026 Maeve. All rights reserved. This content is protected by copyright.