05.07.2013 Views

Script for Laboratory: Designing embedded ASIPs - CES

Script for Laboratory: Designing embedded ASIPs - CES

Script for Laboratory: Designing embedded ASIPs - CES

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6 Validating the CPU in Prototyping Hardware.............54<br />

6.1 Creating the ISE Project .............................................................54<br />

6.2 Synthesizing and implementing the ISE project.........................57<br />

6.3 Initializing the software and uploading to the prototyping<br />

board...........................................................................................58<br />

6.3.1 Hardware specific limitations of the application ..........................................................60<br />

6.4 Getting the accurate area and delay reports ................................60<br />

6.5 Getting the critical path report....................................................62<br />

7 Power estimation.............................................................65<br />

7.1 Different types of power.............................................................65<br />

7.2 Estimating the power consumption ............................................66<br />

7.2.1 Generate the value change dump file using ModelSim ................................................66<br />

7.2.2 Generating the power report using xPower ..................................................................67<br />

7.2.3 Visualize the power report using CosmosScope...........................................................68<br />

8 CoSy compiler .................................................................69<br />

8.1 Basics about retargetable compilers ...........................................69<br />

8.2 Creating the CoSy compiler .......................................................70<br />

8.2.1 Structure of a CoSy rule ...............................................................................................71<br />

8.2.2 Typical problems while creating the CoSy compiler....................................................72<br />

8.3 Using the CoSy compiler............................................................73<br />

8.3.1 Typical reasons why a special instruction is not automatically used............................75<br />

8.3.2 Typical problems while using the CoSy compiler........................................................76<br />

8.4 Support <strong>for</strong> Inline Assembly (SINAS) .......................................76<br />

8.5 Library with standard functions <strong>for</strong> ASIP Meister / CoSy /<br />

Hardware Prototype....................................................................80<br />

8.5.1 Functions of the LCD library........................................................................................81<br />

9 Custom instruction identification..................................84<br />

9.1 What is a custom instruction ......................................................84<br />

9.2 Speedup calculation....................................................................86<br />

9.3 How to use gprof ........................................................................88<br />

Table of Figures..............................................................................89<br />

References.......................................................................................91<br />

- 3 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!