Logic synthesis and technology mapping
Problems
- High-level synthesis
Turn an algorithmic description into a register transfer design by scheduling operations into clock steps, allocating units and binding operations to them.
core - LUT mapping
Cover a Boolean network with k-input lookup tables of an FPGA so that the depth or the number of tables is least.
core - Multi-level logic synthesis
Restructure a Boolean network into an equivalent one with fewer literals, less depth or less power, by factoring, extraction and don't-care optimization.
core - State assignment
Choose a binary code for each state of a finite state machine so the next-state and output logic is small, NP-hard in general.
core - Technology mapping
Cover a technology-independent network with gates of a cell library or with lookup tables, minimizing area, delay or power.
core - Two-level logic minimization
Given a Boolean function with don't-cares, find a sum of products for it with the fewest product terms, then the fewest literals. NP-hard from a truth table, Sigma_2^p-complete from a DNF.
core - Binate covering problem
Find a least cost assignment that satisfies a product of sums in which variables appear in both phases, the core of exact FSM and technology mapping problems.
advanced - Boolean matching
Decide whether a library cell implements a given function under a permutation and negation of its inputs, as in technology mapping.
advanced - Incompletely specified FSM minimization
Find a machine with fewest states that covers an incompletely specified FSM. It is NP-hard, unlike DFA minimization, and is solved by compatibles and covering.
advanced - Exact synthesis
Find a circuit with the fewest gates or least depth for a small Boolean function, today by encoding the circuit structure as a SAT problem.
research
Algorithms
- ASAP and ALAP scheduling
Schedules each operation of a data flow graph at its earliest or latest step under precedence, which gives the mobility of each operation.
1 languagesintro - Petrick's method
Solves the prime implicant covering table exactly by writing it as a product of sums of primes, expanding to a sum of products and taking the cheapest term.
1 languagesintro - Quine-McCluskey algorithm
Finds all prime implicants by merging minterms that differ in one bit, level by level, then chooses a minimum cover with a prime implicant table.
1 languagesintro - AIG balancing
Collects the maximal multi-input AND trees of an AIG and rebuilds each one over its distinct leaves, pairing the two lowest leaves first, so no node gets deeper or more numerous.
1 languagescore - Algebraic division
Divides one sum of products by another, treating both as polynomials over literals, to get the unique largest quotient and a remainder in time polynomial in the number of cubes.
1 languagescore - Cut enumeration
Computes all k-feasible cuts of every node in topological order by merging the cuts of its fanins and dropping those with more than k leaves.
1 languagescore - Espresso
Brayton and coauthors' heuristic two-level minimizer that loops expand, irredundant cover and reduce on a cover of cubes until the cost stops falling.
1 languagescore - FlowMap
Cong and Ding's depth-optimal k-LUT mapping that labels nodes in topological order, finding a k-feasible cut of least height by a max-flow test.
1 languagescore - Force-directed scheduling
Paulin and Knight's scheduler that fixes, one at a time, the operation and step with the least force, so the use of each unit type is balanced over steps.
1 languagescore - Kernel extraction
Finds kernels shared by several nodes of a Boolean network as rectangles of a kernel-cube matrix, and makes each one a new node when this saves literals.
1 languagescore - Retiming
Leiserson and Saxe's moving of registers across gates without changing behaviour. A minimum clock period retiming is found by binary search and Bellman-Ford.
1 languagescore - Tree covering technology mapping
Keutzer's mapper that splits the subject graph into trees and covers each tree optimally by dynamic programming over pattern matches of library gates.
1 languagescore - DAG-aware AIG rewriting
Mishchenko, Chatterjee and Brayton's rewriting that replaces the logic of small cuts of an AIG by precomputed AIGs of the same NPN class when this saves nodes in the shared graph.
1 languagesadvanced - Minimum-area retiming
Retimes a circuit to the fewest registers under a clock period bound, as the dual of a minimum cost flow problem.
1 languagesadvanced - Priority cuts mapping
Mishchenko and coauthors' LUT mapper that keeps only a few best cuts per node, ranked by depth, area flow and exact area, so that cut-based mapping stays fast for large k.
1 languagesadvanced - SAT sweeping
Finds internal nodes that are equal or complementary by random simulation, proves each candidate pair with SAT, and merges proven pairs, for equivalence checking.
1 languagesadvanced
Data structures
- And-inverter graph
A Boolean network of two-input AND nodes with optional inverted edges, kept free of duplicate nodes by structural hashing, the main form of modern logic synthesis.
1 languagescore - Majority-inverter graph
A Boolean network of three-input majority nodes with inverted edges, with an algebra of five axioms for restructuring, from Amaru, Gaillardon and De Micheli.
1 languagesresearch
Techniques
- Karnaugh map
A grid of the truth table in Gray code order so that adjacent cells differ in one variable, which lets a person read prime implicants as rectangles.
1 languagesintro - Unate recursive paradigm
Solves an operation on a cover, such as tautology or complement, by Shannon splitting on binate variables until each part is unate and easy, then merging.
1 languagescore - Ashenhurst-Curtis decomposition
Writes f(X, Y) as g(h(X), Y) by counting the distinct columns of a decomposition chart, a method used in synthesis for lookup table FPGAs.
advanced
Definitions
- Don't-care condition
An input combination where the output of a function may be 0 or 1, which a minimizer may choose to make the circuit smaller.
intro - Implicant
A product term that implies a Boolean function, so the function is 1 wherever the term is 1, with don't-care points allowed.
intro - Prime implicant
An implicant that no longer implies the function if any literal is removed. Some minimum sum of products uses only prime implicants.
intro - Sum of products
A Boolean formula that is an OR of product terms, each an AND of literals, the form of two-level logic and of programmable logic arrays.
intro - Algebraic kernel
A cube-free quotient of a sum of products by a cube, its cokernel. Two expressions have a common divisor of two or more cubes only if a kernel of each shares two or more cubes with the other.
core - Unate function
A Boolean function that is, in each variable, either nondecreasing or nonincreasing. Tautology and complement are easy for unate covers.
core - k-feasible cut
A set of at most k nodes such that every path from the inputs to a given node passes through it, so the node is a function of the cut.
core - Observability don't-care
The input conditions under which the value of an internal node cannot be seen at any output, so its function may change there.
advanced
Models
- Boolean network
A directed acyclic graph of nodes each with a local Boolean function of its fanins, the model of multi-level logic synthesis.
core