






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
From these values, we will (1) use Boolean algebra to build expressions that transform bit ... f(a,b)=(a + (ab)) + (b(a + b)) (cf Boolean Cheat Sheet).
Typology: Study notes
1 / 12
This page cannot be seen from the preview
Don't miss anything!







Lecturer: Guillaume Beslon
Computer Science and Information Technologies - INSA Lyon
Fall 2021
Two elementary values: I (^0) ⇒ “false” I (^1) ⇒ “true” From these values, we will (1) use Boolean algebra to build expressions that transform bit vectors into other bit vectors (i.e. an information into another information) and (2) implement them as logical circuits. → Two types of expressions/circuits: I (^) Combinatorial expressions/circuits : output bits only depend on values currently available on input bits. I (^) Sequential expressions/circuits : The circuit is considered to have a state (i.e., a memory of its past activity/inputs). Output bits depend both on values currently available on input bits + circuit state.
Using the basic operations, we can form Boolean expressions.
A literal is a Boolean (potentially negated) variable in an expression (e.g.,: if a, b, c are 3 boolean variables, we can write the Boolean expression ab + cb, which has 4 literals).
→ Any function from Bn^ to B can be described with a Boolean expression.
→ Any function from Bn^ to Bm^ can be described with m Boolean expressions.
→ Any boolean expression with n variables represents a function from Bn^ to B.
A Boolean function can be expressed with many different Boolean expressions: e.g., if f (a, b) = ab, then we also have f (a, b) = a + b or f (a, b) = (a + (ab)) + (b(a + b)) (cf Boolean Cheat Sheet) We thus are interested in two normal forms (forme canonique):
I (^) Disjunctive normal form (DNF) : a disjunction of conjunctions of literals (sum of products → sop):
abc + ab + ab
I (^) Conjunctive normal form (CNF) : a conjunction of disjunctions of literals (product of sums → pos):
(a + b + c)·(a + b + c)·(a + b + c)
a b c f (a, b, c) f (a, b, c) 0 0 0 1 0 0 0 1 0 1 → abc 0 1 0 1 0 0 1 1 0 1 → abc 1 0 0 1 0 1 0 1 1 0 1 1 0 0 1 → abc 1 1 1 0 1 → abc
f (a, b, c) = abc + abc + abc + abc.