Skip to content

Commit 4e0b5b6

Browse files
committed
Update to readme.txt in Predistortion
This changes to instructions to compile Top_DPD.xdf by hand with gcc, to reflect the change in structure of libs/orcc/ to libs/orcc-native and libs/orcc-runtime .
1 parent f0ba787 commit 4e0b5b6

File tree

1 file changed

+22
-7
lines changed

1 file changed

+22
-7
lines changed

Predistortion/docs/readme.txt

+22-7
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,28 @@ Standard GCC compilation with the following
4545
<output_folder>/libs/orcc/src/mapping.c
4646
- libraries: pthread
4747

48-
e.g.
49-
gcc -o bin/dpd src/*.c libs/orcc/src/util.c libs/orcc/src/serialize.c
50-
libs/orcc/src/dataflow.c -Ilibs/orcc/include -lpthread -I/usr/include/SDL
51-
libs/orcc/src/scheduler.c -I libs/roxml/include/ libs/roxml/src/roxml.c
52-
libs/roxml/src/roxml-parse-engine.c libs/roxml/src/roxml-internal.c
53-
libs/orcc/src/mapping.c <orc-apps-folder>/Predistortion/lib/native/linux.c -O3
54-
48+
To compile and execute:
49+
50+
1. Generate the C Orcc backend for Top_DPD.xdf
51+
52+
2. Run:
53+
$ cd <C_output_dir> && cd build && cmake .. && cd ..
54+
55+
3. Run:
56+
$ gcc -o bin/dpd src/*.c libs/orcc-native/src/framerate.c libs/orcc-runtime/src/profiling.c \
57+
libs/orcc-native/src/native.c libs/orcc-runtime/src/trace.c libs/orcc-runtime/src/options.c \
58+
libs/orcc-runtime/src/util.c libs/orcc-runtime/src/serialize.c libs/orcc-runtime/src/dataflow.c \
59+
-Ilibs/orcc/include -lpthread -I/usr/include/SDL libs/orcc-runtime/src/scheduler.c -Ibuild/libs/ \
60+
-Ilibs/orcc-runtime/include/ -Ilibs/orcc-native/include/ -I libs/roxml/include/ libs/roxml/src/roxml.c \
61+
libs/roxml/src/roxml-parse-engine.c libs/roxml/src/roxml-internal.c libs/orcc-runtime/src/mapping.c \
62+
../lib/native/linux.c -O3
63+
64+
4. Run:
65+
$ cd bin && cp <Predistortion_root>/lib/input_signals/in_*.txt .
66+
67+
5. Run:
68+
./dpd
69+
5570

5671
Changelog:
5772
- initial version 16/12/2013

0 commit comments

Comments
 (0)