audioreach: add fir module
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
This commit is contained in:
parent
a89952385e
commit
61f497588b
1 changed files with 34 additions and 0 deletions
34
audioreach/module_fir.m4
Normal file
34
audioreach/module_fir.m4
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
include(`util/util.m4') dnl
|
||||
dnl AR_MODULE_FIR(index, sgidx, container-idx, iid, maxip-ports, max-op-ports, in-ports, outports, src-port, dst-port)
|
||||
define(`AR_MODULE_FIR',
|
||||
`'
|
||||
`SectionVendorTuples."NAME_PREFIX.fir$1_tuples" {'
|
||||
` tokens "audioreach_tokens"'
|
||||
`'
|
||||
` tuples."word.u32_data" {'
|
||||
` AR_TKN_U32_MODULE_INSTANCE_ID STR($4)'
|
||||
` AR_TKN_U32_MODULE_ID STR(MODULE_ID_FIR)'
|
||||
` AR_TKN_U32_MODULE_MAX_IP_PORTS STR($5)'
|
||||
` AR_TKN_U32_MODULE_MAX_OP_PORTS STR($6)'
|
||||
` AR_TKN_U32_MODULE_IN_PORTS STR($7)'
|
||||
` AR_TKN_U32_MODULE_OUT_PORTS STR($8)'
|
||||
` AR_TKN_U32_MODULE_SRC_OP_PORT_ID STR($9)'
|
||||
` AR_TKN_U32_MODULE_DST_IN_PORT_ID STR($10)'
|
||||
` }'
|
||||
`}'
|
||||
`'
|
||||
`SectionData."NAME_PREFIX.fir$1_data" {'
|
||||
` tuples "NAME_PREFIX.fir$1_tuples"'
|
||||
`}'
|
||||
`'
|
||||
`SectionWidget."NAME_PREFIX.fir$1" {'
|
||||
` index STR($1)'
|
||||
` type "src"'
|
||||
` no_pm "true"'
|
||||
` subseq "10"'
|
||||
` data ['
|
||||
` "NAME_PREFIX.sub_graph$2_data"'
|
||||
` "NAME_PREFIX.container$3_data"'
|
||||
` "NAME_PREFIX.fir$1_data"'
|
||||
` ]'
|
||||
`}') dnl
|
||||
Loading…
Add table
Add a link
Reference in a new issue