Agora  1.2.0
Agora project
data_generator.cc File Reference

Data generator to generate binary files as inputs to Agora, sender and correctness tests. More...

#include "data_generator.h"
#include <immintrin.h>
#include <bitset>
#include <fstream>
#include <iostream>
#include <memory>
#include "armadillo"
#include "comms-lib.h"
#include "config.h"
#include "crc.h"
#include "datatype_conversion.h"
#include "logger.h"
#include "memory_manage.h"
#include "modulation.h"
#include "scrambler.h"
#include "simd_types.h"
#include "utils_ldpc.h"
Include dependency graph for data_generator.cc:

Functions

static float RandFloatFromShort (float min, float max)
 

Variables

static constexpr bool kPrintDebugCSI = false
 
static constexpr bool kDebugPrintRxData = false
 
static constexpr bool kPrintDlTxData = false
 
static constexpr bool kPrintDlModData = false
 
static constexpr bool kPrintUplinkInformationBytes = false
 
static constexpr bool kPrintDownlinkInformationBytes = false
 
static const std::string kUlDataPrefix = "orig_ul_data_"
 Output files. More...
 
static const std::string kUlLdpcDataPrefix = "LDPC_orig_ul_data_"
 
static const std::string kDlDataPrefix = "orig_dl_data_"
 
static const std::string kDlLdpcDataPrefix = "LDPC_orig_dl_data_"
 
static const std::string kRxLdpcPrefix = "LDPC_rx_data_"
 
static const std::string kDlTxPrefix = "LDPC_dl_tx_data_"
 
static const std::string kUlScBitsPrefix = "ul_data_b_"
 

Detailed Description

Data generator to generate binary files as inputs to Agora, sender and correctness tests.

Function Documentation

◆ RandFloatFromShort()

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

Variable Documentation

◆ kDebugPrintRxData

constexpr bool kDebugPrintRxData = false
staticconstexpr

◆ kDlDataPrefix

const std::string kDlDataPrefix = "orig_dl_data_"
static

◆ kDlLdpcDataPrefix

const std::string kDlLdpcDataPrefix = "LDPC_orig_dl_data_"
static

◆ kDlTxPrefix

const std::string kDlTxPrefix = "LDPC_dl_tx_data_"
static

◆ kPrintDebugCSI

constexpr bool kPrintDebugCSI = false
staticconstexpr

◆ kPrintDlModData

constexpr bool kPrintDlModData = false
staticconstexpr

◆ kPrintDlTxData

constexpr bool kPrintDlTxData = false
staticconstexpr

◆ kPrintDownlinkInformationBytes

constexpr bool kPrintDownlinkInformationBytes = false
staticconstexpr

◆ kPrintUplinkInformationBytes

constexpr bool kPrintUplinkInformationBytes = false
staticconstexpr

◆ kRxLdpcPrefix

const std::string kRxLdpcPrefix = "LDPC_rx_data_"
static

◆ kUlDataPrefix

const std::string kUlDataPrefix = "orig_ul_data_"
static

Output files.

◆ kUlLdpcDataPrefix

const std::string kUlLdpcDataPrefix = "LDPC_orig_ul_data_"
static

◆ kUlScBitsPrefix

const std::string kUlScBitsPrefix = "ul_data_b_"
static