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
lizhongxiao
OpenXG-RAN
Commits
3ea3f427
Commit
3ea3f427
authored
Nov 29, 2023
by
mir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
from idft(dft()) to dft(idft())
parent
a699feda
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
openair1/PHY/TOOLS/oai_dfts.c
openair1/PHY/TOOLS/oai_dfts.c
+10
-2
openair2/E2AP/flexric
openair2/E2AP/flexric
+1
-1
No files found.
openair1/PHY/TOOLS/oai_dfts.c
View file @
3ea3f427
...
@@ -8614,17 +8614,25 @@ int main(int argc, char**argv)
...
@@ -8614,17 +8614,25 @@ int main(int argc, char**argv)
else
else
((
int16_t
*
)
x
)[
i
]
=
-
364
;
((
int16_t
*
)
x
)[
i
]
=
-
364
;
}
}
/*
for (i=2*(4096-1200);i<8192;i++) {
for (i=2*(4096-1200);i<8192;i++) {
if ((taus() & 1)==0)
if ((taus() & 1)==0)
((int16_t*)x)[i] = 364;
((int16_t*)x)[i] = 364;
else
else
((int16_t*)x)[i] = -364;
((int16_t*)x)[i] = -364;
}
}
*/
for
(
int
i
=
0
;
i
<
8192
;
++
i
){
((
int16_t
*
)
x
)[
2
*
i
]
=
1024
*
sin
(
8
*
M_PI
*
i
/
4096
);
((
int16_t
*
)
x
)[
2
*
i
+
1
]
=
0
;
}
reset_meas
(
&
ts
);
reset_meas
(
&
ts
);
int64_t
t0
=
time_now_ns
();
int64_t
t0
=
time_now_ns
();
for
(
i
=
0
;
i
<
10000
;
i
++
)
{
for
(
i
=
0
;
i
<
10000
;
i
++
)
{
start_meas
(
&
ts
);
start_meas
(
&
ts
);
i
dft4096
((
int16_t
*
)
x
,(
int16_t
*
)
y
,
1
);
dft4096
((
int16_t
*
)
x
,(
int16_t
*
)
y
,
1
);
stop_meas
(
&
ts
);
stop_meas
(
&
ts
);
}
}
...
@@ -8633,7 +8641,7 @@ int main(int argc, char**argv)
...
@@ -8633,7 +8641,7 @@ int main(int argc, char**argv)
LOG_M
(
"y4096.m"
,
"y4096"
,
y
,
4096
,
1
,
1
);
LOG_M
(
"y4096.m"
,
"y4096"
,
y
,
4096
,
1
,
1
);
LOG_M
(
"x4096.m"
,
"x4096"
,
x
,
4096
,
1
,
1
);
LOG_M
(
"x4096.m"
,
"x4096"
,
x
,
4096
,
1
,
1
);
dft4096
((
int16_t
*
)
y
,(
int16_t
*
)
x2
,
1
);
i
dft4096
((
int16_t
*
)
y
,(
int16_t
*
)
x2
,
1
);
LOG_M
(
"x4096_2.m"
,
"x4096_2"
,
x2
,
4096
,
1
,
1
);
LOG_M
(
"x4096_2.m"
,
"x4096_2"
,
x2
,
4096
,
1
,
1
);
// NR 160Mhz, 434 PRB, 3/4 sampling
// NR 160Mhz, 434 PRB, 3/4 sampling
...
...
flexric
@
8ee3aca1
Subproject commit
035fd2e8f9a9d2c16df8d44c9e8c13ccddf9ff19
Subproject commit
8ee3aca107a9da8ccf425e623bed18cd40a31fa1
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