| Filter Design HDL Coder™ | ![]() |
Specify input stimulus that test bench applies to Farrow filter fractional delay port
Note This option applies only to Farrow filters. |
Default:
A constant value is obtained from the FracDelay property of the Farrow filter object, and applied to the fractional delay port.
'RandSweep'
A vector of values incrementally increasing over the range from 0 to 1. This stimulus signal has the same duration as the filter's input signal, but changes at a slower rate. Each fractional delay value obtained from the vector is held for 10% of the total duration of the input signal before the next value is obtained.
'RampSweep'
A vector of random values in the range from 0 to 1. This stimulus signal has the same duration as the filter's input signal, but changes at a slower rate. Each fractional delay value obtained from the vector is held for 10% of the total duration of the input signal before the next value is obtained.
Vector or function returning a vector
Define a vector as a workspace variable, store the stimulus signal in the vector, and pass in the vector name. Alternatively, pass in a call to any function that returns a vector.
FracDelayPort, Generating Code for Single-Rate Farrow Filters
![]() | TestBenchDataPostFix | TestBenchReferencePostFix | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |