Revision 12, 1.0 KB
(checked in by jgaeddert, 16 years ago)
|
initial import of cactus files
|
Rev | Line | |
---|
[12] | 1 | # |
---|
| 2 | # Cognitive Radio Simulation Program |
---|
| 3 | # |
---|
| 4 | |
---|
| 5 | Compile and run: |
---|
| 6 | |
---|
| 7 | $ make |
---|
| 8 | $ ./cognitive_radio_test |
---|
| 9 | |
---|
| 10 | To change adaption algorithm, scroll down to line including |
---|
| 11 | *** execute cognition here *** and add your source code. |
---|
| 12 | |
---|
| 13 | # Dependencies |
---|
| 14 | |
---|
| 15 | This package relies on a DSP library on the OSSIE repo that you will |
---|
| 16 | need to download, compile, and install. To download from the |
---|
| 17 | repository, execute |
---|
| 18 | $ svn co https://ossie.wireless.vt.edu/repos/ossie/people/jgaeddert/sigprocc/tags/sigprocc-0.7.0 |
---|
| 19 | |
---|
| 20 | Compile and install |
---|
| 21 | $ ./reconf |
---|
| 22 | $ ./configure |
---|
| 23 | $ make |
---|
| 24 | $ sudo make install |
---|
| 25 | |
---|
| 26 | If this is your first time installing sigprocc, yo uwill need to run |
---|
| 27 | $ sudo /sbin/ldconfig |
---|
| 28 | |
---|
| 29 | To ensure that the library run properly, run the autotests. NOTE: you |
---|
| 30 | will need cxxtest [http://cxxtest.sourceforge.net] to do this. |
---|
| 31 | $ make check |
---|
| 32 | |
---|
| 33 | If everything works properly, you should see |
---|
| 34 | PASS: autotest |
---|
| 35 | ================== |
---|
| 36 | All 1 tests passed |
---|
| 37 | ================== |
---|
| 38 | |
---|
| 39 | Additionally you can benchmark the code on your machine by executing |
---|
| 40 | $ make bench |
---|
| 41 | |
---|