ucb-cyarp / vitis

Laminar - Optimizing DSP Compiler
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Update TappedDelay/Delay to avoid redundant input variable #41

Open cyarp opened 4 years ago

cyarp commented 4 years ago

When allocating an extra space for the current value do not create a redundant input variable to be used in the state update. Rely on the fact that the TappedDelay will be emitted (and the current value stored in the extra space in the array) before the state update is called. Extend the shift logic to use the value stored in the extra space instead of relying on a redundant temporary variable.