Skip to content

Latest commit

 

History

History

04

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Low PSL code detector

Detector of codes with low peak sidelobe (PSL) level.

General

The program consists of two main parts:

  • Generator - which main purpose is generating of binary sequences in specified range;
  • Validator - which main purpuse is checking PSL level of sequences generated by the Generator and detect sequences with low PSL level.

System requirements

GNU Linux based 64-bit operating system is required.

To build program are required:

  • make - build automation tool;
  • g++ - GNU C++ compiler.

To build tests are also required:

  • gcov - source code coverage analysis tool;
  • gprof - performance analysis tool;
  • lcov - tool for summarise code coverage information;
  • gtest - Google's framework fow writing C++ tests;
  • pthread - POSIX threads library.

Building and testing

To build the program, you must type in projects rood directory:

make

It is possible to pass optimization level by arguments, for instance:

make OPTIMIZATION=OX

where OX is optimization level (such as: O0, O2, O3, etc).

By default optimization level is O0 (without optimization).

To build tests, you must type in projects root directory:

make testing

To launch tests, you must type:

./lpslcd.test

To generate test coverage report, you must type:

make coverage

To generate performenace report, you must type:

make profile

Usage

Launch program in terminal:

./lpslcd

The program writes results in lpslcd.dat and statistic in lpslcd.stat text files.