SlideShare a Scribd company logo
1 of 24
Download to read offline
1 @ikwzm高位合成友の会 第三回 (2015/12/8)
自己紹介みたいなもの
・ハンドルネーム ikwzm
・現在隠居中(今年 6 月で 28 年間勤めた会社を辞めました)
・もうすぐ 51 才(けっこう年)
・主に論理回路設計(回路図~VHDL)
・たまにプログラム(SPARC/PowerPC アセンブラ~C)
2 @ikwzm高位合成友の会 第三回 (2015/12/8)
最近(隠居後)の活動
・Qiita に何件か投稿
(http://qiita.com/ikwzm/items)
フィボナッチを求める回路を
VHDL / Synthesijer / PolyPhony /
Synverll / Neon Light / Vivado-HLS
使って合成してみました
3 @ikwzm高位合成友の会 第三回 (2015/12/8)
それでも
やっぱり
VHDL がいい
4 @ikwzm高位合成友の会 第三回 (2015/12/8)
VHDL を使う唯一の理由
5 @ikwzm高位合成友の会 第三回 (2015/12/8)
VHDL を使う唯一の理由
それは
並列プログラミング
6 @ikwzm高位合成友の会 第三回 (2015/12/8)
並列プログラミング?
そんなの C でも Java でも出来るぞ
7 @ikwzm高位合成友の会 第三回 (2015/12/8)
並列プログラミング?
そんなの C でも Java でも出来るぞ
最近のコンピュータじゃ当たり前だよ
8 @ikwzm高位合成友の会 第三回 (2015/12/8)
並列プログラミング?
そんなの C でも Java でも出来るぞ
最近のコンピュータじゃ当たり前だよ
"並行コンピューティング技法"知ってる?
9 @ikwzm高位合成友の会 第三回 (2015/12/8)
ちょっと待って
10 @ikwzm高位合成友の会 第三回 (2015/12/8)
コンピューター屋さんと私とでは
ちょっと
並列のニュアンスが違うみたい
11 @ikwzm高位合成友の会 第三回 (2015/12/8)
どこが違う?
12 @ikwzm高位合成友の会 第三回 (2015/12/8)
どこが違う?
それは
粒度(granularity)
13 @ikwzm高位合成友の会 第三回 (2015/12/8)
結論から先に言うと
・コンピューターの並列の粒度は
タスク(Task)/スレッド(Thread)
・論理回路の並列の粒度は
文(Statement)
14 @ikwzm高位合成友の会 第三回 (2015/12/8)
S=0;
for(i=0;i<2;i++){
T=A[i]*B[i];
S=S+T;
}
A[0] B[0] A[1] B[1]
T[0] T[1]
S
* *
+
例えば (かなり強引だけど)
15 @ikwzm高位合成友の会 第三回 (2015/12/8)
A[0] B[0] A[1] B[1]
T[0] T[1]
S
* *
+
T[0] T[1]
Core0 Core1
Core2
演算に 0.5 ナノ秒
コア間の転送に
100 ナノ秒~
100 マイクロ秒
演算に 0.5 ナノ秒
CPU で並列
16 @ikwzm高位合成友の会 第三回 (2015/12/8)
A[0] B[0] A[1] B[1]
T[0] T[1]
S
* *
+
T[0] T[1]
Core0 Core1
Core2
演算に 0.5 ナノ秒
コア間の転送に
100 ナノ秒~
100 マイクロ秒
演算に 0.5 ナノ秒
CPU で並列
下手な並列休むに似たり
17 @ikwzm高位合成友の会 第三回 (2015/12/8)
コンピューターの場合
コア(CPU)間の転送(オーバーヘッド)が1
命令の処理時間に比べて 3~5 桁ほど
大きいので、 並列の粒度を大きく(タスク
程度に)しないと効率が悪い。
18 @ikwzm高位合成友の会 第三回 (2015/12/8)
A[0] B[0] A[1] B[1]
T[0] T[1]
S
* *
+
T[0] T[1]
演算に数ナノ秒
回路間の転送
に 1 ナノ秒~
数ナノ秒
演算に数ナノ秒
論理回路だと
19 @ikwzm高位合成友の会 第三回 (2015/12/8)
論理回路の場合、
演算回路間の転送(オーバーヘッド)が演
算時間に比べて小さいので、 並列の粒
度を 1 演算(言語にして 1statement
程度)にすることが出来る。
20 @ikwzm高位合成友の会 第三回 (2015/12/8)
文(Statement)単位で並列を
いじくれるのは
HDL(Hardware Description Language)
くらいしか無かった
21 @ikwzm高位合成友の会 第三回 (2015/12/8)
ただし、 いじくれるのが
楽しい(たのしい)
からであって、 決して
楽(らく)
ではないよ。 念のため
22 @ikwzm高位合成友の会 第三回 (2015/12/8)
文(Statement)単位での
並列処理を
一からプログラミングするのは
かなり面倒です
23 @ikwzm高位合成友の会 第三回 (2015/12/8)
というわけで
24 @ikwzm高位合成友の会 第三回 (2015/12/8)
高位合成
もっと頑張って
何をだよ
いろんな意味で

More Related Content

Featured

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
ThinkNow
 
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
Kurio // The Social Media Age(ncy)
 

Featured (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...
 

高位合成友の会第三回(2015/12/08)LTスライド@ikwzm