Component: DSP System (DSP)
Author | Matrix Ltd |
Version | 1.2 |
Category | DSP |
Contents
DSP System component
DSP System main buffer manager responsible for allocating memory, taking care of buffer indexes and reading / writing the buffers. Must be added to a project to allow the other DSP components to connect together correctly. Multiple DSP systems can be added to a single project to allow for more then 8 individual buffers.
Examples
No additional examples
Downloadable macro reference
TickSpecificBuffer
Moves to the next segment of a specific DSP system buffer.
Returns the first buffer index if the end of a buffer has been reached.
Parameters
- BYTE idx
- Specifies which buffer index to increment (0:A - 7:H)
Return value
SetBuffer_Idx
Allows manual control over the buffer index.
Parameters
- BYTE BufferIdx
- Specifies which buffer to control (0:A - 7:H)
- UINT Idx
- Raw index value to assign to the buffer
Return value
- This call does not return a value
SetBuff
Adds a value into the start of the buffer specified by the idx parameter.
Parameters
- BYTE Idx
- UINT Data
Return value
- This call does not return a value
GetBuff
Gets a value from the end of the buffer specified by the idx parameter
Parameters
- BYTE Idx
Return value
TickAllBuffers
Moves to the next segment of each DSP system buffer.
Returns the first buffer index if the end of a buffer has been reached.
Parameters
- This macro has no parameters
Return value
Initialise
Initialises the DSP System allowing DSP components to run correctly.
Parameters
- This macro has no parameters
Return value
- This call does not return a value
Simulation macro reference
This component does not contain any simulation macros
Property reference
Buffer Count
This property is of type Fixed list of ints and can be referenced with the variable name buffer_count.
Number of DSP buffers to allocate memory for
Simple Mode
This property is of type True or false and can be referenced with the variable name simple_mode.
Simple mode
Yes - all buffers are the same type and length
No - all buffers are configured individually
Buffer A Name
This property is of type Line of text and can be referenced with the variable name buff_a_name.
No additional information
Buffer B Name
This property is of type Line of text and can be referenced with the variable name buff_b_name.
No additional information
Buffer C Name
This property is of type Line of text and can be referenced with the variable name buff_c_name.
No additional information
Bit Depth
This property is of type Fixed list of ints and can be referenced with the variable name buff_a_depth.
No additional information
Sign
This property is of type Fixed list of ints and can be referenced with the variable name buff_a_sign.
No additional information
Size
This property is of type Signed integer and can be referenced with the variable name buff_a_size.
No additional information
Bit Depth
This property is of type Fixed list of ints and can be referenced with the variable name buff_b_depth.
No additional information
Sign
This property is of type Fixed list of ints and can be referenced with the variable name buff_b_sign.
No additional information
Size
This property is of type Signed integer and can be referenced with the variable name buff_b_size.
No additional information
Bit Depth
This property is of type Fixed list of ints and can be referenced with the variable name buff_c_depth.
No additional information
Sign
This property is of type Fixed list of ints and can be referenced with the variable name buff_c_sign.
No additional information
Size
This property is of type Signed integer and can be referenced with the variable name buff_c_size.
No additional information
Bit Depth
This property is of type Fixed list of ints and can be referenced with the variable name buff_d_depth.
No additional information
Sign
This property is of type Fixed list of ints and can be referenced with the variable name buff_d_sign.
No additional information
Size
This property is of type Signed integer and can be referenced with the variable name buff_d_size.
No additional information
Bit Depth
This property is of type Fixed list of ints and can be referenced with the variable name buff_e_depth.
No additional information
Sign
This property is of type Fixed list of ints and can be referenced with the variable name buff_e_sign.
No additional information
Size
This property is of type Signed integer and can be referenced with the variable name buff_e_size.
No additional information
Bit Depth
This property is of type Fixed list of ints and can be referenced with the variable name buff_f_depth.
No additional information
Sign
This property is of type Fixed list of ints and can be referenced with the variable name buff_f_sign.
No additional information
Size
This property is of type Signed integer and can be referenced with the variable name buff_f_size.
No additional information
Bit Depth
This property is of type Fixed list of ints and can be referenced with the variable name buff_g_depth.
No additional information
Sign
This property is of type Fixed list of ints and can be referenced with the variable name buff_g_sign.
No additional information
Size
This property is of type Signed integer and can be referenced with the variable name buff_g_size.
No additional information
Bit Depth
This property is of type Fixed list of ints and can be referenced with the variable name buff_h_depth.
No additional information
Sign
This property is of type Fixed list of ints and can be referenced with the variable name buff_h_sign.
No additional information
Size
This property is of type Signed integer and can be referenced with the variable name buff_h_size.
No additional information
Bit Depth
This property is of type Fixed list of ints and can be referenced with the variable name buff_simp_depth.
No additional information
Sign
This property is of type Fixed list of ints and can be referenced with the variable name buff_simp_sign.
No additional information
Size
This property is of type Signed integer and can be referenced with the variable name buff_simp_size.
No additional information