Agora  1.2.0
Agora project
test_ldpc_mod.cc File Reference
#include <gflags/gflags.h>
#include <immintrin.h>
#include <bitset>
#include <chrono>
#include <fstream>
#include <iostream>
#include <random>
#include "armadillo"
#include "comms-lib.h"
#include "config.h"
#include "data_generator.h"
#include "datatype_conversion.h"
#include "gettime.h"
#include "memory_manage.h"
#include "modulation.h"
#include "phy_ldpc_decoder_5gnr.h"
#include "utils_ldpc.h"
Include dependency graph for test_ldpc_mod.cc:

Functions

 DEFINE_string (profile, "random", "The profile of the input user bytes (e.g., 'random', '123')")
 
 DEFINE_string (conf_file, TOSTRING(PROJECT_DIRECTORY) "/files/config/ci/tddconfig-sim-ul.json", "Agora config filename")
 
float RandFloat (float min, float max)
 
float RandFloatFromShort (float min, float max)
 
int main (int argc, char *argv[])
 

Variables

static constexpr bool kVerbose = false
 
static constexpr bool kPrintUplinkInformationBytes = false
 
static constexpr float kNoiseLevels [15]
 
static constexpr float kSnrLevels [15]
 

Function Documentation

◆ DEFINE_string() [1/2]

DEFINE_string ( conf_file  ,
TOSTRING(PROJECT_DIRECTORY) "/files/config/ci/tddconfig-sim-ul.json ,
"Agora config filename  
)

◆ DEFINE_string() [2/2]

DEFINE_string ( profile  ,
"random"  ,
"The profile of the input user bytes (e.g., 'random', '123')"   
)

◆ main()

int main ( int  argc,
char *  argv[] 
)
Here is the call graph for this function:

◆ RandFloat()

float RandFloat ( float  min,
float  max 
)
Here is the call graph for this function:

◆ RandFloatFromShort()

float RandFloatFromShort ( float  min,
float  max 
)
Here is the call graph for this function:

Variable Documentation

◆ kNoiseLevels

constexpr float kNoiseLevels[15]
staticconstexpr
Initial value:
= {
1.7783, 1.3335, 1.0000, 0.7499, 0.5623, 0.4217, 0.3162, 0.2371,
0.1778, 0.1334, 0.1000, 0.0750, 0.0562, 0.0422, 0.0316}

◆ kPrintUplinkInformationBytes

constexpr bool kPrintUplinkInformationBytes = false
staticconstexpr

◆ kSnrLevels

constexpr float kSnrLevels[15]
staticconstexpr
Initial value:
= {-5, -2.5, 0, 2.5, 5, 7.5, 10, 12.5,
15, 17.5, 20, 22.5, 25, 27.5, 30}

◆ kVerbose

constexpr bool kVerbose = false
staticconstexpr