Algorithm Search⌘K

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.

    O(V + E) worst1 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.

    O(m p^2 T^2) worst1 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.

    O(n^2 3^n + p^m poly(p, m)) worst1 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.

    O(N log k) expected worst1 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.

    O(k m n) worst1 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.

    O(N k C^(2d)) worst1 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.

    O(n^2 c^3 (n^2 (r + c) + 2^n (c + r^2))) worst1 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.

    O(K m n) worst1 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.

    O(V^2 L (E + V L)) worst1 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.

    O(E P^4 K n) worst1 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.

    O(V^3 log V) worst1 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.

    O(N L s 2^s) worst1 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.

    O(N^2 C^2) worst1 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.

    O(E V M) worst1 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.

    O(N k C^4 + N^2 C^2) worst1 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.

    O(N^2 (N W + T)) worst1 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.

    O(1) expected and1 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.

    O(N) levels1 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