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
e4c44dd0
Commit
e4c44dd0
authored
Apr 29, 2018
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
checked compilation/execution of dlsim/ulsim. removal of most warnings.
parent
ea784f2b
Changes
26
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
51 additions
and
25 deletions
+51
-25
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+1
-1
openair1/PHY/CODING/3gpplte_turbo_decoder_avx2_16bit.c
openair1/PHY/CODING/3gpplte_turbo_decoder_avx2_16bit.c
+1
-0
openair1/PHY/INIT/lte_init_ue.c
openair1/PHY/INIT/lte_init_ue.c
+1
-0
openair1/PHY/LTE_ESTIMATION/lte_adjust_sync.c
openair1/PHY/LTE_ESTIMATION/lte_adjust_sync.c
+1
-1
openair1/PHY/LTE_ESTIMATION/lte_adjust_sync_ue.c
openair1/PHY/LTE_ESTIMATION/lte_adjust_sync_ue.c
+1
-0
openair1/PHY/LTE_ESTIMATION/lte_dl_bf_channel_estimation.c
openair1/PHY/LTE_ESTIMATION/lte_dl_bf_channel_estimation.c
+3
-0
openair1/PHY/LTE_ESTIMATION/lte_dl_channel_estimation.c
openair1/PHY/LTE_ESTIMATION/lte_dl_channel_estimation.c
+3
-0
openair1/PHY/LTE_ESTIMATION/lte_dl_mbsfn_channel_estimation.c
...air1/PHY/LTE_ESTIMATION/lte_dl_mbsfn_channel_estimation.c
+2
-0
openair1/PHY/LTE_TRANSPORT/pucch.c
openair1/PHY/LTE_TRANSPORT/pucch.c
+1
-0
openair1/PHY/LTE_TRANSPORT/rar_tools.c
openair1/PHY/LTE_TRANSPORT/rar_tools.c
+1
-1
openair1/PHY/LTE_UE_TRANSPORT/initial_sync.c
openair1/PHY/LTE_UE_TRANSPORT/initial_sync.c
+8
-3
openair1/PHY/LTE_UE_TRANSPORT/pbch_ue.c
openair1/PHY/LTE_UE_TRANSPORT/pbch_ue.c
+1
-0
openair1/PHY/LTE_UE_TRANSPORT/pcfich_ue.c
openair1/PHY/LTE_UE_TRANSPORT/pcfich_ue.c
+1
-0
openair1/PHY/LTE_UE_TRANSPORT/phich_ue.c
openair1/PHY/LTE_UE_TRANSPORT/phich_ue.c
+2
-1
openair1/PHY/LTE_UE_TRANSPORT/pmch_ue.c
openair1/PHY/LTE_UE_TRANSPORT/pmch_ue.c
+1
-1
openair1/PHY/LTE_UE_TRANSPORT/pucch_ue.c
openair1/PHY/LTE_UE_TRANSPORT/pucch_ue.c
+1
-0
openair1/PHY/LTE_UE_TRANSPORT/rar_tools_ue.c
openair1/PHY/LTE_UE_TRANSPORT/rar_tools_ue.c
+1
-0
openair1/PHY/LTE_UE_TRANSPORT/transport_ue.h
openair1/PHY/LTE_UE_TRANSPORT/transport_ue.h
+1
-0
openair1/PHY/LTE_UE_TRANSPORT/ulsch_coding.c
openair1/PHY/LTE_UE_TRANSPORT/ulsch_coding.c
+1
-1
openair1/PHY/LTE_UE_TRANSPORT/ulsch_modulation.c
openair1/PHY/LTE_UE_TRANSPORT/ulsch_modulation.c
+2
-1
openair1/PHY/MODULATION/slot_fep.c
openair1/PHY/MODULATION/slot_fep.c
+2
-0
openair1/PHY/MODULATION/slot_fep_mbsfn.c
openair1/PHY/MODULATION/slot_fep_mbsfn.c
+2
-0
openair1/PHY/TOOLS/lte_phy_scope.c
openair1/PHY/TOOLS/lte_phy_scope.c
+1
-0
openair1/SCHED_UE/sched_UE.h
openair1/SCHED_UE/sched_UE.h
+3
-2
openair1/SIMULATION/LTE_PHY/dlsim.c
openair1/SIMULATION/LTE_PHY/dlsim.c
+7
-13
openair1/SIMULATION/LTE_PHY/ulsim.c
openair1/SIMULATION/LTE_PHY/ulsim.c
+2
-0
No files found.
cmake_targets/CMakeLists.txt
View file @
e4c44dd0
...
...
@@ -2143,7 +2143,7 @@ foreach(myExe dlsim dlsim_tm7 ulsim pbchsim scansim mbmssim pdcchsim pucchsim pr
)
target_link_libraries
(
${
myExe
}
-Wl,--start-group SIMU UTIL SCHED_LIB SCHED_RU_LIB SCHED_UE_LIB PHY_COMMON PHY PHY_UE LFDS
${
ITTI_LIB
}
LFDS7 -Wl,--end-group
-Wl,--start-group SIMU UTIL SCHED_LIB SCHED_RU_LIB SCHED_UE_LIB PHY_COMMON PHY PHY_UE
PHY_RU
LFDS
${
ITTI_LIB
}
LFDS7 -Wl,--end-group
pthread m rt
${
CONFIG_LIBRARIES
}
${
ATLAS_LIBRARIES
}
${
XFORMS_LIBRARIES
}
${
T_LIB
}
dl
)
endforeach
(
myExe
)
...
...
openair1/PHY/CODING/3gpplte_turbo_decoder_avx2_16bit.c
View file @
e4c44dd0
...
...
@@ -42,6 +42,7 @@
#ifndef TEST_DEBUG
#include "PHY/impl_defs_top.h"
#include "PHY/defs_common.h"
#include "PHY/CODING/coding_defs.h"
#include "PHY/CODING/lte_interleaver_inline.h"
...
...
openair1/PHY/INIT/lte_init_ue.c
View file @
e4c44dd0
...
...
@@ -32,6 +32,7 @@
#include <math.h>
#include "PHY/LTE_TRANSPORT/transport_common_proto.h"
#include "PHY/LTE_UE_TRANSPORT/transport_proto_ue.h"
#include "PHY/LTE_REFSIG/lte_refsig.h"
uint8_t
dmrs1_tab_ue
[
8
]
=
{
0
,
2
,
3
,
4
,
6
,
8
,
9
,
10
};
...
...
openair1/PHY/LTE_ESTIMATION/lte_adjust_sync.c
View file @
e4c44dd0
...
...
@@ -24,7 +24,7 @@
#include "PHY/phy_extern_ue.h"
#include "UTIL/LOG/vcd_signal_dumper.h"
#include "
lte_estimation
.h"
#include "
openair2/LAYER2/MAC/mac_proto
.h"
#define DEBUG_PHY
...
...
openair1/PHY/LTE_ESTIMATION/lte_adjust_sync_ue.c
View file @
e4c44dd0
...
...
@@ -23,6 +23,7 @@
#include "PHY/defs_UE.h"
#include "PHY/LTE_ESTIMATION/lte_estimation.h"
#include "PHY/impl_defs_top.h"
#include "openair2/LAYER2/MAC/mac_proto.h"
#include "UTIL/LOG/vcd_signal_dumper.h"
...
...
openair1/PHY/LTE_ESTIMATION/lte_dl_bf_channel_estimation.c
View file @
e4c44dd0
...
...
@@ -21,6 +21,9 @@
#include <string.h>
#include "PHY/defs_UE.h"
#include "lte_estimation.h"
#include "PHY/LTE_REFSIG/lte_refsig.h"
#include "filt16_32.h"
//#define DEBUG_BF_CH
...
...
openair1/PHY/LTE_ESTIMATION/lte_dl_channel_estimation.c
View file @
e4c44dd0
...
...
@@ -24,6 +24,9 @@
#include "filt96_32.h"
#include "T.h"
//#define DEBUG_CH
#include "PHY/LTE_UE_TRANSPORT/transport_proto_ue.h"
#include "PHY/LTE_REFSIG/lte_refsig.h"
#include "SCHED_UE/sched_UE.h"
int
lte_dl_channel_estimation
(
PHY_VARS_UE
*
ue
,
uint8_t
eNB_id
,
...
...
openair1/PHY/LTE_ESTIMATION/lte_dl_mbsfn_channel_estimation.c
View file @
e4c44dd0
...
...
@@ -21,6 +21,8 @@
#include <string.h>
#include "PHY/defs_UE.h"
#include "lte_estimation.h"
#include "PHY/LTE_REFSIG/lte_refsig.h"
//#define DEBUG_CH
int
lte_dl_mbsfn_channel_estimation
(
PHY_VARS_UE
*
ue
,
...
...
openair1/PHY/LTE_TRANSPORT/pucch.c
View file @
e4c44dd0
...
...
@@ -32,6 +32,7 @@
#include "PHY/defs_eNB.h"
#include "PHY/phy_extern.h"
#include "LAYER2/MAC/mac.h"
#include "PHY/LTE_REFSIG/lte_refsig.h"
#include "UTIL/LOG/log.h"
#include "UTIL/LOG/vcd_signal_dumper.h"
...
...
openair1/PHY/LTE_TRANSPORT/rar_tools.c
View file @
e4c44dd0
...
...
@@ -34,7 +34,7 @@
#include "SCHED/sched_eNB.h"
#include "LAYER2/MAC/mac.h"
#include "UTIL/LOG/vcd_signal_dumper.h"
#include "PHY/LTE_TRANSPORT/transport_proto.h"
#include "assertions.h"
extern
uint16_t
RIV2nb_rb_LUT6
[
32
];
...
...
openair1/PHY/LTE_UE_TRANSPORT/initial_sync.c
View file @
e4c44dd0
...
...
@@ -33,12 +33,17 @@
#include "PHY/defs_UE.h"
#include "PHY/phy_extern_ue.h"
#include "SCHED_UE/sched_UE.h"
#include "transport_ue.h"
#include "transport_proto_ue.h"
#include "PHY/MODULATION/modulation_UE.h"
#include "PHY/LTE_ESTIMATION/lte_estimation.h"
#include "PHY/LTE_REFSIG/lte_refsig.h"
#include "openair2/LAYER2/MAC/mac_proto.h"
#include "common_lib.h"
#include "PHY/INIT/phy_init.h"
extern
openair0_config_t
openair0_cfg
[];
#define DEBUG_INITIAL_SYNCH
//
#define DEBUG_INITIAL_SYNCH
int
pbch_detection
(
PHY_VARS_UE
*
ue
,
runmode_t
mode
)
{
...
...
openair1/PHY/LTE_UE_TRANSPORT/pbch_ue.c
View file @
e4c44dd0
...
...
@@ -36,6 +36,7 @@
#include "transport_ue.h"
#include "PHY/phy_extern_ue.h"
#include "PHY/sse_intrin.h"
#include "PHY/LTE_REFSIG/lte_refsig.h"
//#define DEBUG_PBCH 1
//#define DEBUG_PBCH_ENCODING
...
...
openair1/PHY/LTE_UE_TRANSPORT/pcfich_ue.c
View file @
e4c44dd0
...
...
@@ -30,6 +30,7 @@
* \warning
*/
#include "PHY/defs_UE.h"
#include "PHY/LTE_REFSIG/lte_refsig.h"
//#define DEBUG_PCFICH
...
...
openair1/PHY/LTE_UE_TRANSPORT/phich_ue.c
View file @
e4c44dd0
...
...
@@ -34,7 +34,8 @@
#include "PHY/phy_extern_ue.h"
#include "SCHED_UE/sched_UE.h"
#include "transport_ue.h"
#include "transport_proto_ue.h"
#include "PHY/LTE_REFSIG/lte_refsig.h"
#include "LAYER2/MAC/mac.h"
...
...
openair1/PHY/LTE_UE_TRANSPORT/pmch_ue.c
View file @
e4c44dd0
...
...
@@ -22,7 +22,7 @@
#include "PHY/defs_UE.h"
#include "PHY/phy_extern_ue.h"
#include "PHY/sse_intrin.h"
#include "PHY/LTE_
TRANSPORT/transport_common
.h"
#include "PHY/LTE_
UE_TRANSPORT/transport_proto_ue
.h"
// Mask for identifying subframe for MBMS
#define MBSFN_TDD_SF3 0x80// for TDD
...
...
openair1/PHY/LTE_UE_TRANSPORT/pucch_ue.c
View file @
e4c44dd0
...
...
@@ -31,6 +31,7 @@
*/
#include "PHY/defs_UE.h"
#include "PHY/phy_extern_ue.h"
#include "PHY/LTE_REFSIG/lte_refsig.h"
#include "UTIL/LOG/log.h"
#include "UTIL/LOG/vcd_signal_dumper.h"
...
...
openair1/PHY/LTE_UE_TRANSPORT/rar_tools_ue.c
View file @
e4c44dd0
...
...
@@ -34,6 +34,7 @@
#include "SCHED_UE/sched_UE.h"
#include "LAYER2/MAC/mac.h"
#include "UTIL/LOG/vcd_signal_dumper.h"
#include "transport_proto_ue.h"
#include "assertions.h"
...
...
openair1/PHY/LTE_UE_TRANSPORT/transport_ue.h
View file @
e4c44dd0
...
...
@@ -36,6 +36,7 @@
#include "../LTE_TRANSPORT/dci.h"
#include "../LTE_TRANSPORT/mdci.h"
#include "../LTE_TRANSPORT/uci_common.h"
#include "../LTE_TRANSPORT/transport_common.h"
#ifndef STANDALONE_COMPILE
#include "UTIL/LISTS/list.h"
#endif
...
...
openair1/PHY/LTE_UE_TRANSPORT/ulsch_coding.c
View file @
e4c44dd0
...
...
@@ -32,7 +32,7 @@
#include "PHY/defs_UE.h"
#include "PHY/phy_extern_ue.h"
#include "PHY/LTE_UE_TRANSPORT/transport_proto_ue.h"
#include "PHY/CODING/coding_defs.h"
#include "PHY/CODING/coding_extern.h"
#include "PHY/CODING/lte_interleaver_inline.h"
...
...
openair1/PHY/LTE_UE_TRANSPORT/ulsch_modulation.c
View file @
e4c44dd0
...
...
@@ -34,9 +34,10 @@
#include "PHY/CODING/coding_defs.h"
#include "PHY/CODING/coding_extern.h"
#include "PHY/LTE_UE_TRANSPORT/transport_ue.h"
#include "PHY/LTE_UE_TRANSPORT/transport_proto_ue.h"
#include "PHY/LTE_TRANSPORT/transport_eNB.h"
#include "UTIL/LOG/vcd_signal_dumper.h"
#include "PHY/LTE_REFSIG/lte_refsig.h"
//#define DEBUG_ULSCH_MODULATION
...
...
openair1/PHY/MODULATION/slot_fep.c
View file @
e4c44dd0
...
...
@@ -21,6 +21,8 @@
#include "PHY/defs_UE.h"
#include "modulation_UE.h"
#include "PHY/LTE_ESTIMATION/lte_estimation.h"
//#define DEBUG_FEP
#define SOFFSET 0
...
...
openair1/PHY/MODULATION/slot_fep_mbsfn.c
View file @
e4c44dd0
...
...
@@ -21,6 +21,8 @@
#include "PHY/defs_UE.h"
#include "modulation_UE.h"
#include "PHY/LTE_ESTIMATION/lte_estimation.h"
//#define DEBUG_FEP
#define SOFFSET 0
...
...
openair1/PHY/TOOLS/lte_phy_scope.c
View file @
e4c44dd0
...
...
@@ -24,6 +24,7 @@
#include <stdlib.h>
#include "lte_phy_scope.h"
#include "PHY/defs_common.h"
#include "PHY/LTE_UE_TRANSPORT/transport_proto_ue.h"
#define TPUT_WINDOW_LENGTH 100
int
otg_enabled
;
...
...
openair1/SCHED_UE/sched_UE.h
View file @
e4c44dd0
...
...
@@ -25,10 +25,11 @@
\email knopp@eurecom.fr
*/
#ifndef __openair_SCHED_
ENB
_H__
#define __openair_SCHED_
ENB
_H__
#ifndef __openair_SCHED_
UE
_H__
#define __openair_SCHED_
UE
_H__
#include "PHY/defs_UE.h"
#include "../SCHED/sched_common.h"
/*! \brief Scheduling for UE TX procedures in normal subframes.
@param phy_vars_ue Pointer to UE variables on which to act
...
...
openair1/SIMULATION/LTE_PHY/dlsim.c
View file @
e4c44dd0
...
...
@@ -64,6 +64,11 @@
#include "PHY/LTE_UE_TRANSPORT/transport_proto_ue.h"
#include "SCHED/sched_eNB.h"
#include "SCHED_UE/sched_UE.h"
#include "common/config/config_load_configmodule.h"
#include "PHY/INIT/phy_init.h"
void
feptx_ofdm
(
RU_t
*
ru
);
void
feptx_prec
(
RU_t
*
ru
);
double
cpuf
;
...
...
@@ -547,7 +552,6 @@ int main(int argc, char **argv)
DCI_ALLOC_t
da
;
DCI_ALLOC_t
*
dci_alloc
=
&
da
;
unsigned
int
ret
;
unsigned
int
coded_bits_per_codeword
=
0
,
nsymb
;
//,tbs=0;
unsigned
int
tx_lev
=
0
,
tx_lev_dB
=
0
,
trials
;
...
...
@@ -570,16 +574,6 @@ int main(int argc, char **argv)
unsigned
char
input_trch_file
=
0
;
FILE
*
input_fd
=
NULL
;
unsigned
char
input_file
=
0
;
// char input_val_str[50],input_val_str2[50];
char
input_trch_val
[
16
];
// unsigned char pbch_pdu[6];
// FILE *rx_frame_file;
int
n_frames
;
int
n_ch_rlz
=
1
;
...
...
@@ -602,7 +596,7 @@ int main(int argc, char **argv)
// void *data;
// int ii;
// int bler;
double
blerr
[
4
]
,
uncoded_ber
=
0
;
//,avg_ber
;
double
blerr
[
4
];
short
*
uncoded_ber_bit
=
NULL
;
uint8_t
N_RB_DL
=
25
,
osf
=
1
;
frame_t
frame_type
=
FDD
;
...
...
@@ -1607,7 +1601,7 @@ int main(int argc, char **argv)
// this is for user 0 only
printf
(
"nb_rb %d, rb_alloc %x, mcs %d
\n
"
,
eNB
->
dlsch
[
0
][
0
]
->
harq_processes
[
0
]
->
nb_rb
,
eNB
->
dlsch
[
0
][
0
]
->
harq_processes
[
0
]
->
rb_alloc
,
eNB
->
dlsch
[
0
][
0
]
->
harq_processes
[
0
]
->
rb_alloc
[
0
]
,
eNB
->
dlsch
[
0
][
0
]
->
harq_processes
[
0
]
->
mcs
);
coded_bits_per_codeword
=
get_G
(
&
eNB
->
frame_parms
,
...
...
openair1/SIMULATION/LTE_PHY/ulsim.c
View file @
e4c44dd0
...
...
@@ -49,12 +49,14 @@
#include "PHY/LTE_TRANSPORT/transport_proto.h"
#include "PHY/LTE_UE_TRANSPORT/transport_proto_ue.h"
#include "PHY/INIT/phy_init.h"
#include "unitary_defs.h"
#include "PHY/TOOLS/lte_phy_scope.h"
#include "dummy_functions.c"
#include "common/config/config_load_configmodule.h"
double
cpuf
;
...
...
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