ALOE++

Requirements To install ALOE++, the only requirement is the libconfig parsing library and cmake:

  • libconfig 1.4.8
  • cmake

The current ALOE++ release comes with an OFDM demo waveform and a small set of useful modues. These modules have more requirements:

  • libfftw3 is used by the gen_dft module
  • plplot 5.9.9 + output driver is used by the plp_sink module to display signals.

If you want to use the USRP, you should have the UHD driver and the Boost_thread library.

To install all requirements in ubuntu, just type:

sudo apt-get install libconfig-dev libfftw3-dev libplplot-dev plplot11-driver-xwin plplot11-driver-cairo`

You need libconfig-dev version 1.4.8 or higher. Older Ubuntu versions install older libconfig-dev versions. In this case (e.g., if 'libconfig8-dev' is installed), uninstall it (sudo apt-get remove libconfig8-dev) before downloading libconfig-dev from http://www.hyperrealm.com/libconfig/ and installing it manually: extract files, cd folder/, ./configure, make, sudo make install.

The last two packages are optional. PLplot can work with many different output drivers. The xwin driver works just fine and is fast. The driver used by plp_sink can be selected from the file modrep_ofdm/plp_sink/src/plp_sink.h (see the Documentation Section)

To be able to use Matlab for verification, type export MATLAB_ROOT=/root/to/Matlab/folder in a terminal.

Download and Compile Download aloe-2.0 and extract the contents:

wget https://github.com/flexnets/aloe/archive/0.6.tar.gz
tar xzvf aloe-2.0-rc1.tar.gz
cd aloe-2.0-rc1
mkdir build
cd build
cmake ../

If you have Xenomai installed and want to use it, run the cmake command with cmake ../ -DXENOMAI_ENABLE=1

make

ALOE++ does not need to be installed to run. Installing is more convenient in order to create new components, since libraries and headers are installed in default locations. To do so, just type:

sudo make install

Running the OFDM demo waveform The OFDM test waveform is defined in file ofdm.app. It defines the DSP modules that build the waveform and their interconnections, among others.

If you did not installed ALOE++, from the aloe-0.6 directory, run:

build/rtdal_lnx/runcf ./osld.app ./config

The file osld.app defines the waveform graph. The file config stores the configuration of ALOE++. It allows to change the time slot length, the support for USRP devices and the location of the component libraries.

To LOAD, INIT and RUN the waveform, just type:

  • 'l' and Enter,
  • 'i' and Enter and then
  • 'r' and Enter.

You can also run in a step-by-step basis: pause the waveform typing "p" and then run a single time slot using "t". You can exit ALOE++ entering Ctrl+C in the shell window.

MATLAB/Octave Verification ALOE++ now automatically creates a MEX-file for each module ([read here how](https://github.com/flexnets/aloe/wiki/Creating-a-DSP-Module)).

In the cloned directory you will find the file ofdm_demo.m which you can run from MATLAB or OCTAVE. You may need to edit the first line to adjust the path to where the MEX files where installed. This file calls the OFDM DSP modules one after another and plots the output signal.

Documentation For ALOE++ Developers:

To learn how to create new DSP Modules using the OESR SKELETON template:

Current waveforms documentation:

Related Projects

Attachments