SlideShare ist ein Scribd-Unternehmen logo
1 von 2
Downloaden Sie, um offline zu lesen
AMBA Burst Operation 分析                 何文智 Stanley.Ho


Burst Operation 共分底下幾種:
Table 3-2 Burst signal encoding
HBURST[2:0]        Type         Description
000              SINGLE         Single transfer
001              INCR           Incrementing burst of unspecified length
010              WRAP4          4-beat wrapping burst
011              INCR4          4-beat incrementing burst
100              WRAP8          8-beat wrapping burst
101              INCR8          8-beat incrementing burst
110              WRAP16         16-beat wrapping burst
111              INCR16         16-beat incrementing burst

Incrementing Burst Transfer
這種情況的沒問題,累計式的每一筆資料位置為上一筆資料位置加上傳送的大小

Wrapping Burst Transfer
而包裝式資料傳輸,位址計算方式則有一定的規則。

先以 WRAP4 來舉例如下圖,假設傳送大小為 4Bytes(相當於一個 Word 它是由 HSIZE 決定),
所以總傳送大小為 4*4=16 Bytes。
我們的重點在 0x38,0x3C,0x30,0x34,由 0x3C 是如何變成 0x30 呢?
位置計算方式分2種情況
(1)將目前的位置拿來跟總傳送大小相除,若餘數不為 0,則以目前的位置傳送資料
(2)若餘數為 0,則將目前的位置減去總傳送大小後的結果,當做傳送位置

   ●   0x38(56)是最一開始的位置,除以 16 是無法整除的,所以維持 0x38 為傳送位置
   ●   0x3C(60) 除以 16 也是無法整除的,所以維持 0x3C 為傳送位置
   ●   0x3C 到下一個位置原本應為 0x40(64),它是可以被 16 整除,所以位置會變成
       64-16=48(0x30)
   ●   0x34(52) 除以 16 也是無法整除的,所以維持 0x34 為傳送位置




                                              1/2
AMBA Burst Operation 分析       何文智 Stanley.Ho




再拿一個例子來看如下圖




上面的圖是一個 8-beat wrapping burst transfer,全部的總傳輸大小為 4*8=32 bytes
HADDR 位置沒有累加4的是 0x3C 到 0x20,依照計算方式來驗算一下,原本 0x20 應該為
0x40(64)它可以被 32 整除,所以 64-32=32(0x20),所以原本的 0x40 位置改成 0x20 開始


                               2/2

Weitere ähnliche Inhalte

Empfohlen

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Empfohlen (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Amba Burst Operation分析

  • 1. AMBA Burst Operation 分析 何文智 Stanley.Ho Burst Operation 共分底下幾種: Table 3-2 Burst signal encoding HBURST[2:0] Type Description 000 SINGLE Single transfer 001 INCR Incrementing burst of unspecified length 010 WRAP4 4-beat wrapping burst 011 INCR4 4-beat incrementing burst 100 WRAP8 8-beat wrapping burst 101 INCR8 8-beat incrementing burst 110 WRAP16 16-beat wrapping burst 111 INCR16 16-beat incrementing burst Incrementing Burst Transfer 這種情況的沒問題,累計式的每一筆資料位置為上一筆資料位置加上傳送的大小 Wrapping Burst Transfer 而包裝式資料傳輸,位址計算方式則有一定的規則。 先以 WRAP4 來舉例如下圖,假設傳送大小為 4Bytes(相當於一個 Word 它是由 HSIZE 決定), 所以總傳送大小為 4*4=16 Bytes。 我們的重點在 0x38,0x3C,0x30,0x34,由 0x3C 是如何變成 0x30 呢? 位置計算方式分2種情況 (1)將目前的位置拿來跟總傳送大小相除,若餘數不為 0,則以目前的位置傳送資料 (2)若餘數為 0,則將目前的位置減去總傳送大小後的結果,當做傳送位置 ● 0x38(56)是最一開始的位置,除以 16 是無法整除的,所以維持 0x38 為傳送位置 ● 0x3C(60) 除以 16 也是無法整除的,所以維持 0x3C 為傳送位置 ● 0x3C 到下一個位置原本應為 0x40(64),它是可以被 16 整除,所以位置會變成 64-16=48(0x30) ● 0x34(52) 除以 16 也是無法整除的,所以維持 0x34 為傳送位置 1/2
  • 2. AMBA Burst Operation 分析 何文智 Stanley.Ho 再拿一個例子來看如下圖 上面的圖是一個 8-beat wrapping burst transfer,全部的總傳輸大小為 4*8=32 bytes HADDR 位置沒有累加4的是 0x3C 到 0x20,依照計算方式來驗算一下,原本 0x20 應該為 0x40(64)它可以被 32 整除,所以 64-32=32(0x20),所以原本的 0x40 位置改成 0x20 開始 2/2