/cmsis-dsp-3.5.0/Testing/PatternGeneration/ |
D | Tools.py | 653 def _writeVectorF64(self,i,data): argument 674 f.write("D\n%d\n" % len(data)) 675 for v in data: 679 def _writeVectorF32(self,i,data): argument 700 f.write("W\n%d\n" % len(data)) 701 for v in data: 705 def _writeVectorF16(self,i,data): argument 726 f.write("H\n%d\n" % len(data)) 727 for v in data: 731 def _writeVectorQ63(self,i,data): argument [all …]
|
D | Stats.py | 151 def generateMaxTests(config,nb,format,data): argument 158 index=np.argmax(data[0:nbiters]) 159 maxvalue=data[index] 165 index=np.argmax(data[0:nbiters]) 166 maxvalue=data[index] 172 index=np.argmax(data[0:nbiters]) 173 maxvalue=data[index] 183 data = np.zeros(nbiters) 185 data[nbiters-1] = 0.9 186 data[nbiters-2] = 0.8 [all …]
|
D | Support.py | 175 data = np.random.randn(11) 176 data = Tools.normalize(data) 177 config.writeInput(7, data) 178 ref = np.sort(data) 181 data = np.random.randn(16) 182 data = Tools.normalize(data) 183 config.writeInput(8, data) 184 ref = np.sort(data) 187 data = np.random.randn(32) 188 data = Tools.normalize(data) [all …]
|
D | Interpolate.py | 21 data=x-0.9 22 data=np.hstack((data,np.array(data[-1]+1.5))) 23 z = f(data) 27 data = data / 2.0**11 29 config.writeInputQ31(1, data,"Input") 31 config.writeInput(1, data) 89 data = inputSamples.reshape(np.size(inputSamples)) 91 config.writeInputQ31(2, data,"Input") 93 config.writeInput(2, data)
|
/cmsis-dsp-3.5.0/Testing/FrameworkSource/ |
D | Generators.cpp | 3 void generate1(Testing::param_t *result,Testing::param_t *data,Testing::nbParameterEntries_t &nbEnt… in generate1() argument 7 pa = data; in generate1() 18 void generate2(Testing::param_t *result,Testing::param_t *data,Testing::nbParameterEntries_t &nbEnt… in generate2() argument 28 na = data[0]; in generate2() 29 paStart = &data[1]; in generate2() 32 nb = data[na+1]; in generate2() 33 pbStart = &data[na+2]; in generate2() 55 void generate3(Testing::param_t *result,Testing::param_t *data,Testing::nbParameterEntries_t &nbEnt… in generate3() argument 68 na = data[0]; in generate3() 69 paStart = &data[1]; in generate3() [all …]
|
D | Pattern.cpp | 176 void dumpPattern(Testing::outputID_t id,Testing::nbSamples_t nbSamples,float64_t* data,PatternMgr *… in dumpPattern() argument 178 mgr->dumpPattern_f64(id,nbSamples,data); in dumpPattern() 181 void dumpPattern(Testing::outputID_t id,Testing::nbSamples_t nbSamples,float32_t* data,PatternMgr *… in dumpPattern() argument 183 mgr->dumpPattern_f32(id,nbSamples,data); in dumpPattern() 187 void dumpPattern(Testing::outputID_t id,Testing::nbSamples_t nbSamples,float16_t* data,PatternMgr *… in dumpPattern() argument 189 mgr->dumpPattern_f16(id,nbSamples,data); in dumpPattern() 193 void dumpPattern(Testing::outputID_t id,Testing::nbSamples_t nbSamples,q63_t* data,PatternMgr *mgr) in dumpPattern() argument 195 mgr->dumpPattern_q63(id,nbSamples,data); in dumpPattern() 198 void dumpPattern(Testing::outputID_t id,Testing::nbSamples_t nbSamples,q31_t* data,PatternMgr *mgr) in dumpPattern() argument 200 mgr->dumpPattern_q31(id,nbSamples,data); in dumpPattern() [all …]
|
D | FPGA.cpp | 51 Testing::param_t *data; member 81 if (it->data) in DeleteParams() 83 free(it->data); in DeleteParams() 84 it->data = NULL; in DeleteParams() 374 gen.data=p; in ReadParameterList() 473 generate1(result,gen.data,nbEntries); in ImportParams() 476 generate2(result,gen.data,nbEntries); in ImportParams() 479 generate3(result,gen.data,nbEntries); in ImportParams() 482 generate4(result,gen.data,nbEntries); in ImportParams() 485 generate1(result,gen.data,nbEntries); in ImportParams() [all …]
|
D | PatternMgr.cpp | 257 … PatternMgr::dumpPattern_f64(Testing::outputID_t id,Testing::nbSamples_t nbSamples,float64_t* data) in dumpPattern_f64() argument 260 m_io->DumpPattern_f64(id,nbSamples,data); in dumpPattern_f64() 263 … PatternMgr::dumpPattern_f32(Testing::outputID_t id,Testing::nbSamples_t nbSamples,float32_t* data) in dumpPattern_f32() argument 265 m_io->DumpPattern_f32(id,nbSamples,data); in dumpPattern_f32() 269 … PatternMgr::dumpPattern_f16(Testing::outputID_t id,Testing::nbSamples_t nbSamples,float16_t* data) in dumpPattern_f16() argument 271 m_io->DumpPattern_f16(id,nbSamples,data); in dumpPattern_f16() 275 void PatternMgr::dumpPattern_q63(Testing::outputID_t id,Testing::nbSamples_t nbSamples,q63_t* data) in dumpPattern_q63() argument 277 m_io->DumpPattern_q63(id,nbSamples,data); in dumpPattern_q63() 280 void PatternMgr::dumpPattern_q31(Testing::outputID_t id,Testing::nbSamples_t nbSamples,q31_t* data) in dumpPattern_q31() argument 282 m_io->DumpPattern_q31(id,nbSamples,data); in dumpPattern_q31() [all …]
|
D | Semihosting.cpp | 50 Testing::param_t *data; member 76 if (it->data) in DeleteParams() 78 free(it->data); in DeleteParams() 79 it->data = NULL; in DeleteParams() 205 gen.data=p; in ReadParameterList() 562 generate1(result,gen.data,nbEntries); in ImportParams() 565 generate2(result,gen.data,nbEntries); in ImportParams() 568 generate3(result,gen.data,nbEntries); in ImportParams() 571 generate4(result,gen.data,nbEntries); in ImportParams() 574 generate1(result,gen.data,nbEntries); in ImportParams() [all …]
|
/cmsis-dsp-3.5.0/Include/dsp/ |
D | matrix_utils.h | 46 T *data = (A)->pData; \ 50 data += i + _numCols * (ROW); \ 54 *data *= CAST v; \ 55 data += _numCols; \ 78 float16_t *data = (A)->pData; \ 86 tmpa=vldrhq_z_f16(&data[i*_numCols + _w],p0);\ 87 tmpb=vldrhq_z_f16(&data[j*_numCols + _w],p0);\ 89 vstrhq_p(&data[i*_numCols + _w], tmpb, p0); \ 90 vstrhq_p(&data[j*_numCols + _w], tmpa, p0); \ 100 float16_t *data = (A)->pData; \ [all …]
|
/cmsis-dsp-3.5.0/Testing/TestScripts/ |
D | Parser.py | 53 a = str("%s -> %s%s(%d)\n" % (g,' ' * self.ident, str(self.data),self.id)) 60 def setData(self,data): argument 82 d["message"] = data[0].strip() 84 if len(data) > 1: 85 d["class"] = data[1].strip() 86 if len(data) == 3: 87 if data[2].strip() == "OFF": 90 self._path = data[2].strip() 93 if len(data) == 4: 94 self._path = data[3].strip() [all …]
|
D | Deprecate.py | 7 current = node.data["deprecated"] 11 node.data["deprecated"] = current 15 current = node.data["deprecated"] or deprecated 16 node.data["deprecated"] = current 28 root.data["deprecated"]=False 32 root.data["deprecated"]=True 36 if root.data["class"] == others[0]: 37 root.data["deprecated"]=False 41 root.data["deprecated"]=deprecated
|
D | CodeGen.py | 78 theClass = root.data["class"] 91 theData = c.data 102 theData = c.data 115 theData = c.data 139 theClass = root.data["class"] 149 theData = c.data 194 theData = c.data 221 deprecated = root.data["deprecated"] 249 deprecated = root.data["deprecated"] 251 theClass = root.data["class"] [all …]
|
/cmsis-dsp-3.5.0/Testing/ |
D | processResult.py | 87 message=elem.data["message"] 88 if not elem.data["deprecated"]: 97 message=elem.data["message"] 98 func=elem.data["class"] 99 if not elem.data["deprecated"]: 136 message=elem.data["message"] 137 if not elem.data["deprecated"]: 162 message=elem.data["message"] 163 if not elem.data["deprecated"]: 218 self.name.append(elem.data["class"]) [all …]
|
/cmsis-dsp-3.5.0/Testing/FrameworkInclude/ |
D | FPGA.h | 82 virtual void DumpPattern_f64(Testing::outputID_t,Testing::nbSamples_t nb, float64_t* data); 83 virtual void DumpPattern_f32(Testing::outputID_t,Testing::nbSamples_t nb, float32_t* data); 85 virtual void DumpPattern_f16(Testing::outputID_t,Testing::nbSamples_t nb, float16_t* data); 87 virtual void DumpPattern_q63(Testing::outputID_t,Testing::nbSamples_t nb, q63_t* data); 88 virtual void DumpPattern_q31(Testing::outputID_t,Testing::nbSamples_t nb, q31_t* data); 89 virtual void DumpPattern_q15(Testing::outputID_t,Testing::nbSamples_t nb, q15_t* data); 90 virtual void DumpPattern_q7(Testing::outputID_t,Testing::nbSamples_t nb, q7_t* data); 91 virtual void DumpPattern_u64(Testing::outputID_t,Testing::nbSamples_t nb, uint64_t* data); 92 virtual void DumpPattern_u32(Testing::outputID_t,Testing::nbSamples_t nb, uint32_t* data); 93 virtual void DumpPattern_u16(Testing::outputID_t,Testing::nbSamples_t nb, uint16_t* data); [all …]
|
/cmsis-dsp-3.5.0/Testing/TestScripts/doc/ |
D | Format.py | 45 def visitBarChart(self,data): argument 48 def visitHistory(self,data): argument 452 def visitBarChart(self,data): argument 455 def visitHistory(self,data): argument 517 data=bar.data 518 datastr = "".join(joinit(["{name:'%s',value:%s}" % x for x in data],",")) 528 def _getIndex(self,runids,data): argument 529 return([[runids.index(x[0]),x[1]] for x in data]) 532 data=hist.data 535 for core in data: [all …]
|
/cmsis-dsp-3.5.0/Testing/cmsis_build/RTE/Device/ARMCM0P/ |
D | gcc_arm.ld | 160 /* Add each additional data section here */ 188 .data : AT (__etext) 192 *(.data) 193 *(.data.*) 196 /* preinit data */ 202 /* init data */ 209 /* finit data */ 217 /* All data end */ 223 * Secondary data section, optional 225 * Remember to add each additional data section [all …]
|
/cmsis-dsp-3.5.0/Testing/cmsis_build/RTE/Device/ARMCM3/ |
D | gcc_arm.ld | 160 /* Add each additional data section here */ 188 .data : AT (__etext) 192 *(.data) 193 *(.data.*) 196 /* preinit data */ 202 /* init data */ 209 /* finit data */ 217 /* All data end */ 223 * Secondary data section, optional 225 * Remember to add each additional data section [all …]
|
/cmsis-dsp-3.5.0/Testing/cmsis_build/RTE/Device/ARMCM7_DP/ |
D | gcc_arm.ld | 160 /* Add each additional data section here */ 188 .data : AT (__etext) 192 *(.data) 193 *(.data.*) 196 /* preinit data */ 202 /* init data */ 209 /* finit data */ 217 /* All data end */ 223 * Secondary data section, optional 225 * Remember to add each additional data section [all …]
|
/cmsis-dsp-3.5.0/Testing/cmsis_build/RTE/Device/ARMCM4_FP/ |
D | gcc_arm.ld | 160 /* Add each additional data section here */ 188 .data : AT (__etext) 192 *(.data) 193 *(.data.*) 196 /* preinit data */ 202 /* init data */ 209 /* finit data */ 217 /* All data end */ 223 * Secondary data section, optional 225 * Remember to add each additional data section [all …]
|
/cmsis-dsp-3.5.0/PythonWrapper/examples/kws_example/kws/ |
D | GenericNodes.h | 231 memcpy((void*)b,(void*)memory.data(),overlap*sizeof(IN)); 233 memcpy((void*)memory.data(),(void*)(b+windowSize-overlap),overlap*sizeof(IN)) ; 264 memcpy((void*)b,(void*)memory.data(),(windowSize-overlap)*sizeof(IN)); 266 … memmove(memory.data(),memory.data()+windowSize-overlap,(2*overlap - windowSize)*sizeof(IN)); 267 memcpy(memory.data()+2*overlap - windowSize,a+overlap,(windowSize-overlap)*sizeof(IN)); 271 memcpy((void*)b,(void*)memory.data(),overlap*sizeof(IN)); 274 memcpy((void*)memory.data(),(void*)(a+windowSize-overlap),overlap*sizeof(IN)); 278 memcpy((void*)b,(void*)memory.data(),overlap*sizeof(IN)); 280 memcpy((void*)memory.data(),(void*)(a+overlap),overlap*sizeof(IN));
|
/cmsis-dsp-3.5.0/Testing/cmsis_build/RTE/Device/ARMCM23/ |
D | gcc_arm.ld | 167 /* Add each additional data section here */ 195 .data : AT (__etext) 199 *(.data) 200 *(.data.*) 203 /* preinit data */ 209 /* init data */ 216 /* finit data */ 224 /* All data end */ 230 * Secondary data section, optional 232 * Remember to add each additional data section [all …]
|
/cmsis-dsp-3.5.0/Testing/cmsis_build/RTE/Device/ARMCM33_DSP_FP/ |
D | gcc_arm.ld | 167 /* Add each additional data section here */ 195 .data : AT (__etext) 199 *(.data) 200 *(.data.*) 203 /* preinit data */ 209 /* init data */ 216 /* finit data */ 224 /* All data end */ 230 * Secondary data section, optional 232 * Remember to add each additional data section [all …]
|
/cmsis-dsp-3.5.0/Testing/cmsis_build/RTE/Device/ARMCM55/ |
D | gcc_arm.ld | 167 /* Add each additional data section here */ 195 .data : AT (__etext) 199 *(.data) 200 *(.data.*) 203 /* preinit data */ 209 /* init data */ 216 /* finit data */ 224 /* All data end */ 230 * Secondary data section, optional 232 * Remember to add each additional data section [all …]
|
/cmsis-dsp-3.5.0/Testing/cmsis_build/RTE/Device/ARMCA5/ |
D | ARMCA5.sct | 8 ; This scatter-file places application code, data, stack and heap at suitable addresses in the memo… 21 * (+RO-DATA) ; Application RO data (.constdata) 25 { * (+RW) } ; Application RW data (.data) 29 { * (+ZI) } ; Application ZI data (.bss)
|