This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
resources:tools-software:sigmastudio:toolbox:basicdsp:signalsubtract [21 Jun 2012 21:00] – created Brett Gildersleeve | resources:tools-software:sigmastudio:toolbox:basicdsp:signalsubtract [22 Jun 2012 14:39] – Approved William Jahn | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <WRAP center round todo 60%> | + | ======Signal Subtract====== |
- | Under Construction | + | |
- | </WRAP> | + | [[resources: |
+ | \\ | ||
+ | --------------------------------------------------------------------------------------------------------- | ||
+ | |||
+ | |The Subtract Block performs a subtraction operation on the input pins and outputs the difference result. (Minuend - Subtrahend = Difference)|{{signalsubtractpic1.png}}| | ||
+ | |||
+ | ===Input Pins=== | ||
+ | ^Name^Format [int/dec] - [control/ | ||
+ | |Input_Pin 0|any - any|Minuend term| | ||
+ | |Input_Pin 1|any - any|Subtrahend term| | ||
+ | |||
+ | ===Output Pins=== | ||
+ | ^Name^Format [int/dec] - [control/ | ||
+ | |Input_Pin 0|any - any|Difference term| | ||
+ | |||
+ | ===Algorithm Description=== | ||
+ | A standard subtraction operation is performed. When the algorithm is grown new input pins appear. These input pins represent more subtrahend terms so that the resulting output formula is:\\ | ||
+ | Output_Pin 0 = Input_Pin 0 - (Input_Pin1 + Input_Pin2 + Input_Pin3 + ... Input_PinN) | ||
+ | |||
+ | |||
+ | ===Example=== | ||
+ | The subtraction block can be used along with other arithmetic operators to realize many typical DSP functions. It is a basic building block that allows difference operations to be performed. | ||
+ | |||
+ | The subtraction block can also be useful when debugging a schematic project. In the following example subtraction is used to compare the output of the [[resources: | ||
+ | \\ | ||
+ | {{signalsubtractpic2.png}}\\ | ||
+ | \\ | ||
+ | |||
+ | ===Algorithm Details=== | ||
+ | |Toolbox Path|Basic DSP - Arithmetic Operations - Signal Subtract| | ||
+ | |Cores Supported|ADAU144x \\ ADAU176x \\ ADAU178x \\ ADAU170x \\ AD1940| | ||
+ | |"Grow Algorithm" | ||
+ | |"Add Algorithm" | ||
+ | |Subroutine/ | ||
+ | |Program RAM|3*| | ||
+ | |Data RAM|1| | ||
+ | |Parameter RAM|0| | ||
+ | |||
+ | |||
+ | |||
+ | |||