Algorithm Search⌘K

High-level synthesis and scheduling

Problems

  • Latency-constrained scheduling

    Schedule the operations of a sequencing graph within a given number of control steps so that the number of functional units needed is least.

    core
  • Register binding

    Assign the variables of a scheduled design to registers so that variables with overlapping lifetimes get different registers, with the fewest registers and multiplexers.

    core
  • Resource binding

    Assign the operations of a scheduled graph to functional unit instances so that operations in the same step never share a unit and the total cost is least.

    core
  • Resource-constrained scheduling

    Assign each operation of a sequencing graph to a control step so that no step uses more units of a type than allowed and the latency is least; NP-hard in general.

    core
  • Hardware-software partitioning

    Split the tasks of a system between software on a processor and custom hardware to meet timing at the least cost, as in the Vulcan and COSYMA codesign systems.

    advanced
  • Interconnect binding

    Choose the buses, multiplexers and operand ports that connect registers and units after binding so that the number and width of multiplexer inputs is least.

    advanced
  • Interface synthesis

    Generate the logic that lets two blocks with different communication protocols exchange data correctly, from timing diagrams or protocol automata.

    advanced
  • Module selection

    Choose for each operation one of several library units of different speed and area, for example a ripple or carry-lookahead adder, together with the schedule.

    advanced

Algorithms

  • Static scheduling of synchronous dataflow

    Solves the balance equations of an SDF graph for the repetition vector and simulates one period to build a periodic admissible schedule or prove deadlock.

    O(n + E + (n + Q D) D) worst1 languagescore
  • Tseng-Siewiorek clique partitioning

    Tseng and Siewiorek's greedy heuristic that merges the pair of compatible nodes with the most common neighbours until the compatibility graph is split into cliques.

    O(n^2 m) worst1 languagescore
  • KISS symbolic minimization

    De Micheli, Brayton and Sangiovanni-Vincentelli's method that minimizes the FSM table with symbolic states, then encodes states to satisfy the face constraints it yields.

    O(T + C n 2^(k n)) worst1 languagesadvanced
  • MUSTANG state assignment

    Devadas, Ma, Newton and Sangiovanni-Vincentelli's encoder that gives close codes to states with common fanin or fanout to help multi-level logic sharing.

    O(R o + n^2 (n + o + R)) worst1 languagesadvanced
  • NOVA state encoding

    Villa and Sangiovanni-Vincentelli's state encoder that satisfies as many face embedding constraints from symbolic minimization as possible to give a small two-level controller.

    O(T + G^2 n 2^(k n)) worst1 languagesadvanced
  • Path-based scheduling

    Camposano's scheduler that takes every path of the control flow graph, cuts each path into the fewest states by interval covering and merges the cuts into one FSM.

    O(P V^2 log V + R (R V + E log E)) worst1 languagesadvanced
  • SDC-based scheduling

    Cong and Zhang's scheduler that writes timing, latency and relative constraints as difference constraints, so the LP is totally unimodular and gives integer schedules.

    O(V (V + E) + V C) worst1 languagesadvanced
  • Weighted bipartite matching binding

    Huang, Chen, Lin and Hsu's binding that assigns variables to registers step by step through weighted bipartite matching, using the fewest registers and less interconnect.

    O(n log n + n L^2 + n L D) worst1 languagesadvanced
  • SDC-based modulo scheduling

    Zhang and Liu's loop pipelining scheduler that adds modulo resource constraints to an SDC formulation and repairs conflicts incrementally for a target initiation interval.

    O(I P V^2 (V + E)) worst1 languagesresearch

Techniques

  • ILP formulation of operation scheduling

    Writes high-level synthesis scheduling as a 0-1 integer program with one variable per operation and step, plus precedence and resource rows, solved exactly.

    core
  • Operation chaining

    Places dependent operations in one control step when their delays fit the clock period, or spreads a slow operation over several steps, trading states for clock time.

    core
  • Bitwidth analysis

    Propagates value ranges forward and backward through a program to find the fewest bits each variable needs, so the synthesized datapath is narrower.

    advanced
  • FSM decomposition

    Splits a finite state machine into interacting smaller machines, by Hartmanis-Stearns partitions or by Devadas and Newton's factorization, to cut logic and delay.

    advanced
  • Folding transformation

    Maps several operations of a data flow graph onto one hardware unit by time multiplexing and computes the registers each folded edge needs from a folding equation.

    1 languagesadvanced
  • Latency-insensitive design

    Carloni, McMillan and Sangiovanni-Vincentelli's method that wraps blocks in shells with valid and stop signals so long wires can take relay stations without changing behaviour.

    advanced
  • Unfolding transformation

    Parhi and Messerschmitt's transformation that copies a data flow graph J times with redistributed delays so one iteration processes J samples, reaching the iteration bound.

    1 languagesadvanced
  • Memory partitioning for high-level synthesis

    Splits an array over several memory banks by a cyclic, block or linear mapping so that the accesses of one pipelined loop iteration hit different banks.

    research
  • Speculative code motion in high-level synthesis

    Moves operations across branches and executes them before the condition is known, as in the SPARK synthesizer, to shorten the schedule of control-heavy code.

    research

Definitions

  • Resource compatibility graph

    A graph whose vertices are operations or variables and whose edges join pairs that may share one unit or register; a binding is a partition into cliques.

    core
  • Partition pair

    A pair of state partitions (pi, tau) such that the block of the next state under tau depends only on the input and the block of the present state under pi, the basis of FSM decomposition.

    advanced

Theorems

  • Iteration bound

    The sample period of a recursive data flow graph can be no less than the largest ratio of loop delay to loop register count, a bound met by retiming and unfolding.

    core

Models

  • Control data flow graph

    A graph of the operations of a behavioural description with data edges for values and control edges for branches and loops, the input of high-level synthesis.

    intro
  • Finite state machine with datapath

    Gajski's model of a register-transfer design as a controller FSM whose states issue register transfers on a datapath of registers, units and multiplexers.

    intro
  • Kahn process network

    Kahn's model of deterministic processes that talk through unbounded FIFO channels with blocking reads, so the output depends only on the input, not the schedule.

    core
  • Synchronous dataflow

    Lee and Messerschmitt's dataflow model whose actors produce and consume fixed numbers of tokens per firing, so schedules and buffer sizes are known at compile time.

    core