Tips for 5KK53 - PowerPoint PPT Presentation

1 / 10
About This Presentation
Title:

Tips for 5KK53

Description:

Silicon Hive Sun Wei 16-03-2006. Directory Structure ... Questions are welcome. Questions are welcome. Email: wei.sun.0116_at_gmail.com. Thanks ... – PowerPoint PPT presentation

Number of Views:42
Avg rating:3.0/5.0
Slides: 11
Provided by: dab60
Category:
Tags: 5kk53 | gmail | tips

less

Transcript and Presenter's Notes

Title: Tips for 5KK53


1
Tips for 5KK53
Sun Wei
Silicon Hive
16-03-2006
2
Outline
  • 1. Directory structure
  • 2. Synchronization
  • 3. Cycle count

2
Silicon Hive Sun Wei 16-03-2006
3
Directory Structure
  • 1. Silicon Hive Adalia release 20060222-2100
  • 2. Main directory /home/hive/releases/20060222-210
    0
  • 3. Examples /applications
  • 4. Documents /doc/index.html
  • 5. Executables /bin
  • 6. Header files and libraries /include, /lib
  • 7. Processor Cores Definition /cores -gt
  • 8. Top Level Definition /systems -gt
  • 9. Others /share, /eclipse

3
Silicon Hive Sun Wei 16-03-2006
4
Cores
  • 1. avispa_demo_1
  • a big VLIW DSP
  • avispa is the name of some interesting insect,
    which probably can fly.
  • 2. BasicMI
  • 1 Logic slot 1 DSP slot 1 Master DTL
    interface 1 Slave DTL interface
  • 3. BasicOnly
  • BasicMI without Master DTL interface

4
Silicon Hive Sun Wei 16-03-2006
5
Systems
  • avispa_demo_1, BasicMI, BasicOnly
  • System with 1 Host and one processor, infinitive
    memory
  • BasicMI_rtl
  • BasicMI system with given memory
  • Noc_jpeg
  • 1 Host 3 BasicMI processors 1 external
    shared memory
  • bus communication
  • See sdk/include/.hsd for detailed system
    definition

5
Silicon Hive Sun Wei 16-03-2006
6
Synchronization
  • For concurrent processors,
  • We need synchronization.

4
Silicon Hive Sun Wei 16-03-2006
7
How to Synchronize
  • 1. FIFO
  • hardware implemented
  • efficient
  • fixed connection, inflexible
  • 2. Software polling
  • software poll a bit in shared memory
  • less efficient
  • flexible
  • Software polling is employed in JPEG example
  • More approaches are possible

6
Silicon Hive Sun Wei 16-03-2006
8
Code fraction from JPEG
  • Wait for a semaphore
  • while (idct_sem10) OP___schedule()
  • Post a semaphore
  • idct_sem11
  • Take a semaphore
  • Nothing need to do now
  • Potential Risk
  • Concurrent access to the semaphore
  • Lock it or make access atomic

7
Silicon Hive Sun Wei 16-03-2006
9
Cycle count
  • Evaluate the performance and gain from
  • 1. sched\listing.gz
  • what does the processor do in every cycle
  • 2. sched\statistics.txt
  • detailed cycles list
  • 3. sched\html\.html
  • summary in graphics

7
Silicon Hive Sun Wei 16-03-2006
10
Questions are welcome
  • Questions are welcome
  • Email wei.sun.0116_at_gmail.com
  • Thanks

9
Silicon Hive Sun Wei 16-03-2006
Write a Comment
User Comments (0)
About PowerShow.com