Version 10 (modified by ismael, 15 years ago) |
---|
ALOE Quick Start Guide
In this page we describe how to download, install and run an example waveform for ALOE.
Downloading & Installing
Source
Download from http://flexnets.upc.edu/downloads/source/aloe-1.0.tar.gz or check last svn tag release at: http://flexnets.upc.edu/svn/phal/tags
Make sure you have the following libraries in your system:
- readline (4.0 should be fine)
- termcap
For debian users, just type:
sudo apt-get install libreadline5-dev
Untar, compile and install:
tar xzvf aloe-1.0.tar.gz cd aloe-1.0 ./configure make sudo make install
Debian (i386)
Edit your /etc/apt/sources.list and add the following line:
deb http://flexnets.upc.edu/debian/ ./
Then update & install:
sudo apt-get update sudo apt-get install aloe
Fedora (i386)
Download rpm at http://flexnets.upc.edu/downloads/fedora/aloe-1.0-1.i386.rpm
Running an example
From the same directory where the source is (aloe-1.0):
runph
And in the runph prompt:
runph$: phload example runph$: phinit example runph$: phrun example
And your waveform is running!
You can now view information about execution time:
runph$: execinfo example
You can list available statistics or view the output signal:
runph$: statls example runph$: statget example sink signal_out
Now change sampling frequency and see its effects in execution time and the output signal:
runph$: statset example source freq_sample 10000.0 runph$: execinfo example runph$: statget example sink signal_out