gunzip spark-linux-1.1.tar.gz tar xvf spark-linux-1.1.tar.gz OR unzip spark-win32-1.1.zip |
spark-[OS]-[Version]/
bin/
include/
tutorial/
spark-setup.csh
spark-setup.sh
|
source spark-setup.csh # if you are using csh/tcsh shell . spark-setup.sh # if you are using sh/bash shell |
tutorial/
mpeg_play/
synops/
README.txt
README-win32.txt
|
We choose the Motion Compensation algorithm from the MPEG-1 player for synthesis since this is one of most computationally expensive parts of the decoder. In the Berkeley mpeg_play distribution, this algorithm can be found in the file motionvector.c. An overview of synthesis of motion compensation algorithm by Spark is shown in Figure ??. In this figure, the motion compensation algorithm corresponds to the motionvector.c file.![]()
Figure 2.1: Partitioning of the MPEG player application and synthesis of the motion compensation algorithm by the Spark high-level synthesis tool. Spark produces both RTL VHDL and behavioral C as output. The C can be used for functional verification against the input C, and the VHDL can be synthesized using commercial logic synthesis tools.
source runTut.csh # for csh/tcsh shell . runTut.sh # for sh/bash shell runTut.bat # native Windows batch file |
mpeg_play-orig smoker.mpg mpeg_play-forspark smoker.mpg mpeg_play-afterspark smoker.mpg |
dotty output/HTG_motionvector_forSpark_c_ComputeForwVector_Modified.dotty dotty output/HTG_motionvector_forSpark_c_ComputeForwVector_Modified_sched.dotty |
dotty output/HTG_motionvector_forSpark_c_ComputeBackVector_Modified.dotty dotty output/HTG_motionvector_forSpark_c_ComputeBackVector_Modified_sched.dotty |
synops/
dbs/
reports/
scripts/
src/
|
dc_shell -f motionvector_forSpark_spark_rtl.scr > dc_out.log |