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
alex037yang
OpenXG-RAN
Commits
ce454d64
Commit
ce454d64
authored
Apr 02, 2016
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unitary simulations after ./build_oai -s
parent
9e312bfc
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
0 additions
and
74 deletions
+0
-74
openair1/SIMULATION/LTE_PHY/dlsim.c
openair1/SIMULATION/LTE_PHY/dlsim.c
+0
-1
openair1/SIMULATION/LTE_PHY/mbmssim.c
openair1/SIMULATION/LTE_PHY/mbmssim.c
+0
-1
openair1/SIMULATION/LTE_PHY/pbchsim.c
openair1/SIMULATION/LTE_PHY/pbchsim.c
+0
-1
openair1/SIMULATION/LTE_PHY/pdcchsim.c
openair1/SIMULATION/LTE_PHY/pdcchsim.c
+0
-1
openair1/SIMULATION/LTE_PHY/prachsim.c
openair1/SIMULATION/LTE_PHY/prachsim.c
+0
-15
openair1/SIMULATION/LTE_PHY/pucchsim.c
openair1/SIMULATION/LTE_PHY/pucchsim.c
+0
-54
openair1/SIMULATION/LTE_PHY/ulsim.c
openair1/SIMULATION/LTE_PHY/ulsim.c
+0
-1
No files found.
openair1/SIMULATION/LTE_PHY/dlsim.c
View file @
ce454d64
...
...
@@ -48,7 +48,6 @@
#include "PHY/types.h"
#include "PHY/defs.h"
#include "PHY/vars.h"
#include "MAC_INTERFACE/vars.h"
#include "SCHED/defs.h"
#include "SCHED/vars.h"
...
...
openair1/SIMULATION/LTE_PHY/mbmssim.c
View file @
ce454d64
...
...
@@ -38,7 +38,6 @@
#include "PHY/types.h"
#include "PHY/defs.h"
#include "PHY/vars.h"
#include "MAC_INTERFACE/vars.h"
#ifdef EMOS
#include "SCHED/phy_procedures_emos.h"
#endif
...
...
openair1/SIMULATION/LTE_PHY/pbchsim.c
View file @
ce454d64
...
...
@@ -38,7 +38,6 @@
#include "PHY/types.h"
#include "PHY/defs.h"
#include "PHY/vars.h"
#include "MAC_INTERFACE/vars.h"
#ifdef EMOS
#include "SCHED/phy_procedures_emos.h"
...
...
openair1/SIMULATION/LTE_PHY/pdcchsim.c
View file @
ce454d64
...
...
@@ -34,7 +34,6 @@
#include "PHY/types.h"
#include "PHY/defs.h"
#include "PHY/vars.h"
#include "MAC_INTERFACE/vars.h"
#ifdef EMOS
#include "SCHED/phy_procedures_emos.h"
...
...
openair1/SIMULATION/LTE_PHY/prachsim.c
View file @
ce454d64
...
...
@@ -34,10 +34,6 @@
#include "PHY/types.h"
#include "PHY/defs.h"
#include "PHY/vars.h"
#include "MAC_INTERFACE/vars.h"
#ifdef IFFT_FPGA
#include "PHY/LTE_REFSIG/mod_table.h"
#endif
#ifdef EMOS
#include "SCHED/phy_procedures_emos.h"
#endif
...
...
@@ -70,9 +66,6 @@ int main(int argc, char **argv)
uint8_t
snr1set
=
0
;
uint8_t
ue_speed1set
=
0
;
//mod_sym_t **txdataF;
#ifdef IFFT_FPGA
int
**
txdataF2
;
#endif
int
**
txdata
;
double
**
s_re
,
**
s_im
,
**
r_re
,
**
r_im
;
double
iqim
=
0
.
0
;
...
...
@@ -554,14 +547,6 @@ int main(int argc, char **argv)
// printf("(%f,%f)\n",SNR,(double)prach_errors/(double)n_frames);
}
//SNR loop
#ifdef IFFT_FPGA
free
(
txdataF2
[
0
]);
free
(
txdataF2
[
1
]);
free
(
txdataF2
);
free
(
txdata
[
0
]);
free
(
txdata
[
1
]);
free
(
txdata
);
#endif
for
(
i
=
0
;
i
<
2
;
i
++
)
{
free
(
s_re
[
i
]);
...
...
openair1/SIMULATION/LTE_PHY/pucchsim.c
View file @
ce454d64
...
...
@@ -34,10 +34,6 @@
#include "PHY/types.h"
#include "PHY/defs.h"
#include "PHY/vars.h"
#include "MAC_INTERFACE/vars.h"
#ifdef IFFT_FPGA
#include "PHY/LTE_REFSIG/mod_table.h"
#endif
#ifdef EMOS
#include "SCHED/phy_procedures_emos.h"
#endif
...
...
@@ -67,9 +63,6 @@ int main(int argc, char **argv)
double
sigma2
,
sigma2_dB
=
0
,
SNR
,
snr0
=-
2
.
0
,
snr1
=
0
.
0
;
uint8_t
snr1set
=
0
;
//mod_sym_t **txdataF;
#ifdef IFFT_FPGA
int
**
txdataF2
;
#endif
int
**
txdata
;
double
**
s_re
,
**
s_im
,
**
r_re
,
**
r_im
;
double
ricean_factor
=
0
.
0000005
,
iqim
=
0
.
0
;
...
...
@@ -338,23 +331,7 @@ int main(int argc, char **argv)
frame_parms
=
&
PHY_vars_eNB
->
lte_frame_parms
;
#ifdef IFFT_FPGA
txdata
=
(
int
**
)
malloc16
(
2
*
sizeof
(
int
*
));
txdata
[
0
]
=
(
int
*
)
malloc16
(
FRAME_LENGTH_BYTES
);
txdata
[
1
]
=
(
int
*
)
malloc16
(
FRAME_LENGTH_BYTES
);
bzero
(
txdata
[
0
],
FRAME_LENGTH_BYTES
);
bzero
(
txdata
[
1
],
FRAME_LENGTH_BYTES
);
txdataF2
=
(
int
**
)
malloc16
(
2
*
sizeof
(
int
*
));
txdataF2
[
0
]
=
(
int
*
)
malloc16
(
FRAME_LENGTH_BYTES_NO_PREFIX
);
txdataF2
[
1
]
=
(
int
*
)
malloc16
(
FRAME_LENGTH_BYTES_NO_PREFIX
);
bzero
(
txdataF2
[
0
],
FRAME_LENGTH_BYTES_NO_PREFIX
);
bzero
(
txdataF2
[
1
],
FRAME_LENGTH_BYTES_NO_PREFIX
);
#else
txdata
=
PHY_vars_eNB
->
lte_eNB_common_vars
.
txdata
[
eNB_id
];
#endif
s_re
=
malloc
(
2
*
sizeof
(
double
*
));
s_im
=
malloc
(
2
*
sizeof
(
double
*
));
...
...
@@ -420,27 +397,6 @@ int main(int argc, char **argv)
&
pucch_payload
,
AMP
,
//amp,
subframe
);
//subframe
#ifdef IFFT_FPGA_UE
tx_lev
=
0
;
for
(
aa
=
0
;
aa
<
frame_parms
->
nb_antennas_tx
;
aa
++
)
{
if
(
frame_parms
->
Ncp
==
1
)
PHY_ofdm_mod
(
txdataF2
[
aa
],
// input
txdata
[
aa
],
// output
frame_parms
->
ofdm_symbol_size
,
2
*
nsymb
,
// number of symbols
frame_parms
->
nb_prefix_samples
,
// number of prefix samples
CYCLIC_PREFIX
);
else
normal_prefix_mod
(
txdataF2
[
aa
],
txdata
[
aa
],
2
*
nsymb
,
frame_parms
);
}
tx_lev
+=
signal_energy
(
&
txdata
[
aa
][
OFDM_SYMBOL_SIZE_COMPLEX_SAMPLES
],
OFDM_SYMBOL_SIZE_COMPLEX_SAMPLES
);
#else
write_output
(
"txsigF0.m"
,
"txsF0"
,
&
PHY_vars_UE
->
lte_ue_common_vars
.
txdataF
[
0
][
2
*
subframe
*
nsymb
*
OFDM_SYMBOL_SIZE_COMPLEX_SAMPLES_NO_PREFIX
],
OFDM_SYMBOL_SIZE_COMPLEX_SAMPLES_NO_PREFIX
*
nsymb
,
1
,
1
);
tx_lev
=
0
;
...
...
@@ -472,7 +428,6 @@ int main(int argc, char **argv)
OFDM_SYMBOL_SIZE_COMPLEX_SAMPLES
);
}
#endif
write_output
(
"txsig0.m"
,
"txs0"
,
txdata
[
0
],
FRAME_LENGTH_COMPLEX_SAMPLES
,
1
,
1
);
...
...
@@ -655,15 +610,6 @@ int main(int argc, char **argv)
}
#ifdef IFFT_FPGA
free
(
txdataF2
[
0
]);
free
(
txdataF2
[
1
]);
free
(
txdataF2
);
free
(
txdata
[
0
]);
free
(
txdata
[
1
]);
free
(
txdata
);
#endif
for
(
i
=
0
;
i
<
2
;
i
++
)
{
free
(
s_re
[
i
]);
free
(
s_im
[
i
]);
...
...
openair1/SIMULATION/LTE_PHY/ulsim.c
View file @
ce454d64
...
...
@@ -45,7 +45,6 @@
#include "PHY/types.h"
#include "PHY/defs.h"
#include "PHY/vars.h"
#include "MAC_INTERFACE/vars.h"
#include "SCHED/defs.h"
#include "SCHED/vars.h"
...
...
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