Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
canghaiwuhen
OpenXG-RAN
Commits
48b95afc
Commit
48b95afc
authored
May 20, 2018
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added ARM64 for unitary simulation of FFTs
parent
687bdebe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
openair1/PHY/TOOLS/Makefile
openair1/PHY/TOOLS/Makefile
+3
-0
openair1/PHY/TOOLS/lte_dfts.c
openair1/PHY/TOOLS/lte_dfts.c
+7
-6
No files found.
openair1/PHY/TOOLS/Makefile
View file @
48b95afc
...
@@ -12,3 +12,6 @@ lte_dfts_sse4.s: lte_dfts.c
...
@@ -12,3 +12,6 @@ lte_dfts_sse4.s: lte_dfts.c
dft_cycles_avx2
:
lte_dfts_avx2
dft_cycles_avx2
:
lte_dfts_avx2
./lte_dfts_avx2 | egrep cycles
./lte_dfts_avx2 | egrep cycles
lte_dfts_arm64
:
lte_dfts.c
gcc
-O2
-g
-ggdb
-o
lte_dfts_arm64 lte_dfts.c time_meas.c file_output.c ../../SIMULATION/TOOLS/taus.c
-I
$$
OPENAIR1_DIR
-I
$$
OPENAIR_TARGETS
-I
$$
OPENAIR2_DIR/COMMON
-DMR_MAIN
-DNB_ANTENNAS_RX
=
1
openair1/PHY/TOOLS/lte_dfts.c
View file @
48b95afc
...
@@ -18913,7 +18913,7 @@ int main(int argc, char**argv)
...
@@ -18913,7 +18913,7 @@ int main(int argc, char**argv)
for (i=0;i<300;i++)
for (i=0;i<300;i++)
printf("%d: %d,%d\n",i,((int16_t*)(&y[i]))[0],((int16_t *)(&y[i]))[1]);
printf("%d: %d,%d\n",i,((int16_t*)(&y[i]))[0],((int16_t *)(&y[i]))[1]);
printf("\n");
printf("\n");
*/
for (i=0;i<32;i++) {
for (i=0;i<32;i++) {
((int16_t*)x)[i] = (int16_t)((taus()&0xffff))>>5;
((int16_t*)x)[i] = (int16_t)((taus()&0xffff))>>5;
}
}
...
@@ -18928,7 +18928,7 @@ int main(int argc, char**argv)
...
@@ -18928,7 +18928,7 @@ int main(int argc, char**argv)
for (i=0;i<4;i++)
for (i=0;i<4;i++)
printf("%d,%d,%d,%d,%d,%d,%d,%d,",((int16_t*)&y[i])[0],((int16_t *)&y[i])[1],((int16_t*)&y[i])[2],((int16_t *)&y[i])[3],((int16_t*)&y[i])[4],((int16_t *)&y[i])[5],((int16_t*)&y[i])[6],((int16_t *)&y[i])[7]);
printf("%d,%d,%d,%d,%d,%d,%d,%d,",((int16_t*)&y[i])[0],((int16_t *)&y[i])[1],((int16_t*)&y[i])[2],((int16_t *)&y[i])[3],((int16_t*)&y[i])[4],((int16_t *)&y[i])[5],((int16_t*)&y[i])[6],((int16_t *)&y[i])[7]);
printf("\n");
printf("\n");
*/
memset((void*)&x[0],0,2048*4);
memset((void*)&x[0],0,2048*4);
for (i=0; i<2048; i+=4) {
for (i=0; i<2048; i+=4) {
...
@@ -18970,16 +18970,17 @@ int main(int argc, char**argv)
...
@@ -18970,16 +18970,17 @@ int main(int argc, char**argv)
printf("64-point\n");
printf("64-point\n");
printf("X: ");
/* printf("X: ");
for (i=0;i<8;i++)
for (i=0;i<8;i++){
print_shorts256("",((int16_t *)x)+(i*16));
print_shorts256("",((int16_t *)x)+(i*16)); printf(",");
}
printf("\nY:");
printf("\nY:");
for (i=0;i<8;i++)
for (i=0;i<8;i++)
print_shorts256("",((int16_t *)y)+(i*16));
print_shorts256("",((int16_t *)y)+(i*16));
printf("\n");
printf("\n");
*/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment