Header menu logo issie

FastReduceTT Module

Functions and values

Function or value Description

fastReduceFData maxArraySize numStep isClockedReduction comp

Full Usage: fastReduceFData maxArraySize numStep isClockedReduction comp

Parameters:
    maxArraySize : int
    numStep : int
    isClockedReduction : bool
    comp : FastComponent

Returns: Unit

Version of fastReduce which operates on the IOArray.FDataStep arrays, and simulates using posibly algebraic data. Given the input port values for a component comp, work out its output in the same clock cycle. Used by TruthTable simulations, which use FData type that includes algebraic data. Because TruthTable simulations are only combinational the match statement is much simpler than normal FastReduce. Clocked operations need not be implemented.

maxArraySize : int
numStep : int
isClockedReduction : bool
comp : FastComponent
Returns: Unit

Type something to start searching.