Assignment3 - – View some statistics of the model •...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
EECS222C: SoC Software Synthesis Assignment 3 (c) 2010 R. Doemer 1 EECS222C: SoC Software Synthesis, Assignment 3 (c) 2010 R. Doemer 1 Assignment 3 1. Setup and simulate a SpecC model of the MP3 Decoder Setup and unpack source code source /opt/sce-20100908/bin/setup.csh tar xvzpf ~/EECS222C/mad_SpecC.tar.gz cd mad_SpecC ls Compile the SpecC model make clean make Execute the SpecC model testbench testStream/spot1.mp3 spot1.pcm diff spot1.pcm ../mad_C/spot1.pcm Use decoded PCM files from reference C code as “golden” reference cp ../mad_C/spot1.pcm reference/ cp ../mad_C/spot1_3K.pcm reference/ cp ../mad_C/classic1.pcm reference/ Simulate the SpecC model (using the provided Makefile ) make test (or: make test1 to run only the first test) EECS222C: SoC Software Synthesis, Assignment 3 (c) 2010 R. Doemer 2 Assignment 3 2. Analyze the specification model of the MP3 Decoder Setup (as in step 2) cd mad_SpecC Generate a top-level SIR design file make ls –l testbench.sir View some statistics of the model
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: – View some statistics of the model • sir_stats testbench.sir • sir_stats -a testbench.sir – Generate a hierarchy tree of the model • sir_tree -blt testbench.sir – Generate a “clean” single-file SpecC model • scc testbench –sir2sc –vv –sn –sl –psi –o testbench_gen.sc • Or simply: make testbench_gen.sc • vi testbench_gen.sc EECS222C: SoC Software Synthesis Assignment 3 (c) 2010 R. Doemer 2 EECS222C: SoC Software Synthesis, Assignment 3 (c) 2010 R. Doemer 3 Assignment 3 3. Is there any parallelism specified in the model? If so, where? – Find all behaviors that execute in parallel – For each parallel behavior, note • the name of the parent behavior • the names of the parallel child behaviors • Deliverables – Names of concurrent parent behaviors – Names of parallel executing child behaviors • Due – by Friday, Oct 22, 2010, at noon – by email to [email protected] with subject “EECS222C HW3”...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern