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
ZhouShuya
OpenXG-RAN
Commits
02f1ec69
Commit
02f1ec69
authored
Mar 24, 2018
by
Luis Ariza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SSE Ziggurat version improved
parent
fc657e21
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
391 additions
and
123 deletions
+391
-123
openair1/SCHED/phy_procedures_lte_ue.c
openair1/SCHED/phy_procedures_lte_ue.c
+4
-4
openair1/SIMULATION/RF/rf.c
openair1/SIMULATION/RF/rf.c
+3
-4
openair1/SIMULATION/TOOLS/rangen_double.c
openair1/SIMULATION/TOOLS/rangen_double.c
+382
-114
openair2/RRC/LITE/rrc_UE.c
openair2/RRC/LITE/rrc_UE.c
+2
-1
No files found.
openair1/SCHED/phy_procedures_lte_ue.c
View file @
02f1ec69
...
...
@@ -2896,7 +2896,7 @@ void ue_pbch_procedures(uint8_t eNB_id,PHY_VARS_UE *ue,UE_rxtx_proc_t *proc, uin
int
pbch_tx_ant
=
0
;
uint8_t
pbch_phase
;
uint16_t
frame_tx
;
static
uint8_t
first_run
=
1
;
static
uint8_t
first_run
=
0
;
uint8_t
pbch_trials
=
0
;
DevAssert
(
ue
);
...
...
@@ -2985,8 +2985,8 @@ void ue_pbch_procedures(uint8_t eNB_id,PHY_VARS_UE *ue,UE_rxtx_proc_t *proc, uin
//emos_dump_UE.mimo_mode = ue->pbch_vars[eNB_id]->decoded_output[1];
#endif
if
(
first_run
)
{
first_run
=
0
;
if
(
first_run
<=
ue
->
Mod_id
)
{
first_run
++
;
proc
->
frame_rx
=
(
proc
->
frame_rx
&
0xFFFFFC00
)
|
(
frame_tx
&
0x000003FF
);
proc
->
frame_tx
=
proc
->
frame_rx
;
...
...
@@ -5300,7 +5300,6 @@ else
if
((
ue
->
dlsch_SI
[
eNB_id
])
&&
(
ue
->
dlsch_SI
[
eNB_id
]
->
active
==
1
))
{
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PDSCH_PROC_SI
,
VCD_FUNCTION_IN
);
ue_pdsch_procedures
(
ue
,
proc
,
eNB_id
,
SI_PDSCH
,
...
...
@@ -5410,6 +5409,7 @@ else
if
(
(
subframe_rx
==
0
)
&&
(
ue
->
decode_MIB
==
1
))
{
//printf("[ue_pbch_procedures] subframe_rx %d ,ue->decode_MIB %d, UE %d\n",subframe_rx,ue->decode_MIB,ue->Mod_id);
ue_pbch_procedures
(
eNB_id
,
ue
,
proc
,
abstraction_flag
);
}
...
...
openair1/SIMULATION/RF/rf.c
View file @
02f1ec69
...
...
@@ -303,9 +303,9 @@ clock_t start=clock();*/
rx128_re
=
_mm_loadu_pd
(
&
r_re
[
a
][
2
*
i
]);
//r_re[a][i],r_re[a][i+1]
rx128_im
=
_mm_loadu_pd
(
&
r_im
[
a
][
2
*
i
]);
//r_im[a][i],r_im[a][i+1]
rx128_gain_lin
=
_mm_set1_pd
(
rx_gain_lin
);
//
gauss_0_128_sqrt_NOW = _mm_set_pd(ziggurat(0.0,1.0),ziggurat(0.0,1.0));
//
gauss_1_128_sqrt_NOW = _mm_set_pd(ziggurat(0.0,1.0),ziggurat(0.0,1.0));
boxmuller_SSE_float
(
&
gauss_0_128_sqrt_NOW
,
&
gauss_1_128_sqrt_NOW
);
gauss_0_128_sqrt_NOW
=
_mm_set_pd
(
ziggurat
(
0
.
0
,
1
.
0
),
ziggurat
(
0
.
0
,
1
.
0
));
gauss_1_128_sqrt_NOW
=
_mm_set_pd
(
ziggurat
(
0
.
0
,
1
.
0
),
ziggurat
(
0
.
0
,
1
.
0
));
//
boxmuller_SSE_float(&gauss_0_128_sqrt_NOW, &gauss_1_128_sqrt_NOW);
gauss_0_128_sqrt_NOW
=
_mm_mul_pd
(
gauss_0_128_sqrt_NOW
,
_mm_set1_pd
(
sqrt_NOW
));
gauss_1_128_sqrt_NOW
=
_mm_mul_pd
(
gauss_1_128_sqrt_NOW
,
_mm_set1_pd
(
sqrt_NOW
));
// Amplify by receiver gain and apply 3rd order non-linearity
...
...
@@ -435,7 +435,6 @@ clock_t start=clock();*/
//boxmuller_SSE_float(&gauss_0_128_sqrt_NOW, &gauss_1_128_sqrt_NOW);
gauss_0_128_sqrt_NOW
=
ziggurat_SSE_float
();
gauss_1_128_sqrt_NOW
=
ziggurat_SSE_float
();
//stop_meas(&desc->ziggurat);
gauss_0_128_sqrt_NOW
=
_mm_mul_ps
(
gauss_0_128_sqrt_NOW
,
_mm_set1_ps
(
sqrt_NOW
));
gauss_1_128_sqrt_NOW
=
_mm_mul_ps
(
gauss_1_128_sqrt_NOW
,
_mm_set1_ps
(
sqrt_NOW
));
...
...
openair1/SIMULATION/TOOLS/rangen_double.c
View file @
02f1ec69
This diff is collapsed.
Click to expand it.
openair2/RRC/LITE/rrc_UE.c
View file @
02f1ec69
...
...
@@ -2717,6 +2717,7 @@ int decode_BCCH_DLSCH_Message(
sizeof
(
SystemInformationBlockType1_t
)
);
LOG_D
(
RRC
,
"[UE %"
PRIu8
"] Decoding First SIB1
\n
"
,
ctxt_pP
->
module_id
);
decode_SIB1
(
ctxt_pP
,
eNB_index
,
rsrq
,
rsrp
);
//printf("decode_BCCH_DLSCH_Message \n");
}
}
...
...
@@ -2731,7 +2732,7 @@ int decode_BCCH_DLSCH_Message(
&
bcch_message
->
message
.
choice
.
c1
.
choice
.
systemInformation
,
sizeof
(
SystemInformation_t
)
);
LOG_
D
(
RRC
,
"[UE %"
PRIu8
"] Decoding SI for frameP %"
PRIu32
"
\n
"
,
LOG_
I
(
RRC
,
"[UE %"
PRIu8
"] Decoding SI for frameP %"
PRIu32
"
\n
"
,
ctxt_pP
->
module_id
,
ctxt_pP
->
frame
);
...
...
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