Enviar pesquisa
Carregar
Verilog-HDL Tutorial (6)
•
1 gostou
•
1,878 visualizações
Hiroki Nakahara
Seguir
Verilog-HDL Tutorial Using DE0 FPGA Board
Leia menos
Leia mais
Educação
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 21
Baixar agora
Baixar para ler offline
Recomendados
Verilog-HDL Tutorial (3)
Verilog-HDL Tutorial (3)
Hiroki Nakahara
Verilog-HDL Tutorial (5)
Verilog-HDL Tutorial (5)
Hiroki Nakahara
Verilog-HDL Tutorial (15) hardware
Verilog-HDL Tutorial (15) hardware
Hiroki Nakahara
Verilog-HDL Tutorial (2)
Verilog-HDL Tutorial (2)
Hiroki Nakahara
Verilog-HDL Tutorial (15) software
Verilog-HDL Tutorial (15) software
Hiroki Nakahara
Cognos bi install_linux_db2
Cognos bi install_linux_db2
Shinsuke Yamamoto
Verilog-HDL Tutorial (7)
Verilog-HDL Tutorial (7)
Hiroki Nakahara
Media Platforms Emerge: 2004 onward - The rise of Embeddability
Media Platforms Emerge: 2004 onward - The rise of Embeddability
Nick Kellet
Recomendados
Verilog-HDL Tutorial (3)
Verilog-HDL Tutorial (3)
Hiroki Nakahara
Verilog-HDL Tutorial (5)
Verilog-HDL Tutorial (5)
Hiroki Nakahara
Verilog-HDL Tutorial (15) hardware
Verilog-HDL Tutorial (15) hardware
Hiroki Nakahara
Verilog-HDL Tutorial (2)
Verilog-HDL Tutorial (2)
Hiroki Nakahara
Verilog-HDL Tutorial (15) software
Verilog-HDL Tutorial (15) software
Hiroki Nakahara
Cognos bi install_linux_db2
Cognos bi install_linux_db2
Shinsuke Yamamoto
Verilog-HDL Tutorial (7)
Verilog-HDL Tutorial (7)
Hiroki Nakahara
Media Platforms Emerge: 2004 onward - The rise of Embeddability
Media Platforms Emerge: 2004 onward - The rise of Embeddability
Nick Kellet
1960s shortened
1960s shortened
Krista Leh
Hack In The Box (Dubai) 04172008
Hack In The Box (Dubai) 04172008
guesta84549
Mapas conceptuales de solci thieroldt ♥
Mapas conceptuales de solci thieroldt ♥
Solcita123
Infosys
Infosys
Santosh Laladiya
God Is Holy
God Is Holy
William Harris
Zombies, Run! Transforming Fitness, Games & Story
Zombies, Run! Transforming Fitness, Games & Story
Adrian Hon
Ingless
Ingless
PAOLA GIAROLI
Marama 3
Marama 3
PAOLA GIAROLI
Neo-noir: The Dark Side of Creative Writing
Neo-noir: The Dark Side of Creative Writing
Michael Forman (Author/Photographer)
Musicas cifradas bossa nova samba 01
Musicas cifradas bossa nova samba 01
Elvis Live
Threat intelligence at the cloud
Threat intelligence at the cloud
Or Katz
Train a Social Workforce: How AT&T Trained Thousands of Employee Advocates
Train a Social Workforce: How AT&T Trained Thousands of Employee Advocates
SocialChorus
Blue ocean strategy 3
Blue ocean strategy 3
Daniel
Are you listening to your data? Chris Stanley Virtusa
Are you listening to your data? Chris Stanley Virtusa
John Colley
Work wants to be social (talk at Web 2 Expo 2010)
Work wants to be social (talk at Web 2 Expo 2010)
Rashmi Sinha
Outline of How to Publish a Book
Outline of How to Publish a Book
Guy Kawasaki
QUEST/SmarterMeasure Learning Readiness Indicator Lunch & Learn Webinar Series
QUEST/SmarterMeasure Learning Readiness Indicator Lunch & Learn Webinar Series
SmarterServices Owen
How we calculated the $ value of candidate experience and transformed the per...
How we calculated the $ value of candidate experience and transformed the per...
LinkedIn Talent Solutions
Seeed Studioで基板を作ろう
Seeed Studioで基板を作ろう
Hirohide Shimoguchi
Visual Studio 2012 Native Debugger Feature
Visual Studio 2012 Native Debugger Feature
Kazushi Kamegawa
MySQLインストールのお作法
MySQLインストールのお作法
Meiji Kimura
KDDI Business ID におけるアジャイル開発と検証フロー
KDDI Business ID におけるアジャイル開発と検証フロー
ques_staff
Mais conteúdo relacionado
Destaque
1960s shortened
1960s shortened
Krista Leh
Hack In The Box (Dubai) 04172008
Hack In The Box (Dubai) 04172008
guesta84549
Mapas conceptuales de solci thieroldt ♥
Mapas conceptuales de solci thieroldt ♥
Solcita123
Infosys
Infosys
Santosh Laladiya
God Is Holy
God Is Holy
William Harris
Zombies, Run! Transforming Fitness, Games & Story
Zombies, Run! Transforming Fitness, Games & Story
Adrian Hon
Ingless
Ingless
PAOLA GIAROLI
Marama 3
Marama 3
PAOLA GIAROLI
Neo-noir: The Dark Side of Creative Writing
Neo-noir: The Dark Side of Creative Writing
Michael Forman (Author/Photographer)
Musicas cifradas bossa nova samba 01
Musicas cifradas bossa nova samba 01
Elvis Live
Threat intelligence at the cloud
Threat intelligence at the cloud
Or Katz
Train a Social Workforce: How AT&T Trained Thousands of Employee Advocates
Train a Social Workforce: How AT&T Trained Thousands of Employee Advocates
SocialChorus
Blue ocean strategy 3
Blue ocean strategy 3
Daniel
Are you listening to your data? Chris Stanley Virtusa
Are you listening to your data? Chris Stanley Virtusa
John Colley
Work wants to be social (talk at Web 2 Expo 2010)
Work wants to be social (talk at Web 2 Expo 2010)
Rashmi Sinha
Outline of How to Publish a Book
Outline of How to Publish a Book
Guy Kawasaki
QUEST/SmarterMeasure Learning Readiness Indicator Lunch & Learn Webinar Series
QUEST/SmarterMeasure Learning Readiness Indicator Lunch & Learn Webinar Series
SmarterServices Owen
How we calculated the $ value of candidate experience and transformed the per...
How we calculated the $ value of candidate experience and transformed the per...
LinkedIn Talent Solutions
Destaque
(18)
1960s shortened
1960s shortened
Hack In The Box (Dubai) 04172008
Hack In The Box (Dubai) 04172008
Mapas conceptuales de solci thieroldt ♥
Mapas conceptuales de solci thieroldt ♥
Infosys
Infosys
God Is Holy
God Is Holy
Zombies, Run! Transforming Fitness, Games & Story
Zombies, Run! Transforming Fitness, Games & Story
Ingless
Ingless
Marama 3
Marama 3
Neo-noir: The Dark Side of Creative Writing
Neo-noir: The Dark Side of Creative Writing
Musicas cifradas bossa nova samba 01
Musicas cifradas bossa nova samba 01
Threat intelligence at the cloud
Threat intelligence at the cloud
Train a Social Workforce: How AT&T Trained Thousands of Employee Advocates
Train a Social Workforce: How AT&T Trained Thousands of Employee Advocates
Blue ocean strategy 3
Blue ocean strategy 3
Are you listening to your data? Chris Stanley Virtusa
Are you listening to your data? Chris Stanley Virtusa
Work wants to be social (talk at Web 2 Expo 2010)
Work wants to be social (talk at Web 2 Expo 2010)
Outline of How to Publish a Book
Outline of How to Publish a Book
QUEST/SmarterMeasure Learning Readiness Indicator Lunch & Learn Webinar Series
QUEST/SmarterMeasure Learning Readiness Indicator Lunch & Learn Webinar Series
How we calculated the $ value of candidate experience and transformed the per...
How we calculated the $ value of candidate experience and transformed the per...
Semelhante a Verilog-HDL Tutorial (6)
Seeed Studioで基板を作ろう
Seeed Studioで基板を作ろう
Hirohide Shimoguchi
Visual Studio 2012 Native Debugger Feature
Visual Studio 2012 Native Debugger Feature
Kazushi Kamegawa
MySQLインストールのお作法
MySQLインストールのお作法
Meiji Kimura
KDDI Business ID におけるアジャイル開発と検証フロー
KDDI Business ID におけるアジャイル開発と検証フロー
ques_staff
Delphi Plug-ins and Components for dummies
Delphi Plug-ins and Components for dummies
Hikaru Fukushi
ひしめき合うOpen PaaSを徹底解剖! PaaSの今と未来
ひしめき合うOpen PaaSを徹底解剖! PaaSの今と未来
Kazuto Kusama
ビビッド・パワポ・オペレーションβ ~エンジニアのための、ゆるふわパワポ術~(qpstudy 2013.01 LT)
ビビッド・パワポ・オペレーションβ ~エンジニアのための、ゆるふわパワポ術~(qpstudy 2013.01 LT)
Masahito Zembutsu
Denoで動くReactフレームワークAleph.jsでポートフォリオサイトをリプレイスした話
Denoで動くReactフレームワークAleph.jsでポートフォリオサイトをリプレイスした話
yuosaka
Jenkins study jenkins build-cicdi
Jenkins study jenkins build-cicdi
昌桓 李
KiCadで雑に基板を作る チュートリアル
KiCadで雑に基板を作る チュートリアル
裕士 常田
Openstack kolla 20171025 josug v3
Openstack kolla 20171025 josug v3
Takehiro Kudou
わんくまT78 mfcを始めようとしてみた
わんくまT78 mfcを始めようとしてみた
伸男 伊藤
XMLpro 1回目 環境導入
XMLpro 1回目 環境導入
XMLProJ2014
PostgreSQL開発コミュニティに参加しよう!(PostgreSQL Conference Japan 2021 発表資料)
PostgreSQL開発コミュニティに参加しよう!(PostgreSQL Conference Japan 2021 発表資料)
NTT DATA Technology & Innovation
Open-FCoE_osc2011tokyofall_20111119
Open-FCoE_osc2011tokyofall_20111119
metamd
IBM DB2 for zOSのソースエンドポイントとしての利用
IBM DB2 for zOSのソースエンドポイントとしての利用
QlikPresalesJapan
Dockerの事例紹介
Dockerの事例紹介
Hiroki Endo
[db tech showcase Sapporo 2015] A12:DBAが知っておくべき最新テクノロジー: フラッシュ, ストレージ, クラウド b...
[db tech showcase Sapporo 2015] A12:DBAが知っておくべき最新テクノロジー: フラッシュ, ストレージ, クラウド b...
Insight Technology, Inc.
DLR言語によるSilverlightプログラミング
DLR言語によるSilverlightプログラミング
terurou
Spring in-summer-gradle-hands on-withanswers
Spring in-summer-gradle-hands on-withanswers
Takuma Watabiki
Semelhante a Verilog-HDL Tutorial (6)
(20)
Seeed Studioで基板を作ろう
Seeed Studioで基板を作ろう
Visual Studio 2012 Native Debugger Feature
Visual Studio 2012 Native Debugger Feature
MySQLインストールのお作法
MySQLインストールのお作法
KDDI Business ID におけるアジャイル開発と検証フロー
KDDI Business ID におけるアジャイル開発と検証フロー
Delphi Plug-ins and Components for dummies
Delphi Plug-ins and Components for dummies
ひしめき合うOpen PaaSを徹底解剖! PaaSの今と未来
ひしめき合うOpen PaaSを徹底解剖! PaaSの今と未来
ビビッド・パワポ・オペレーションβ ~エンジニアのための、ゆるふわパワポ術~(qpstudy 2013.01 LT)
ビビッド・パワポ・オペレーションβ ~エンジニアのための、ゆるふわパワポ術~(qpstudy 2013.01 LT)
Denoで動くReactフレームワークAleph.jsでポートフォリオサイトをリプレイスした話
Denoで動くReactフレームワークAleph.jsでポートフォリオサイトをリプレイスした話
Jenkins study jenkins build-cicdi
Jenkins study jenkins build-cicdi
KiCadで雑に基板を作る チュートリアル
KiCadで雑に基板を作る チュートリアル
Openstack kolla 20171025 josug v3
Openstack kolla 20171025 josug v3
わんくまT78 mfcを始めようとしてみた
わんくまT78 mfcを始めようとしてみた
XMLpro 1回目 環境導入
XMLpro 1回目 環境導入
PostgreSQL開発コミュニティに参加しよう!(PostgreSQL Conference Japan 2021 発表資料)
PostgreSQL開発コミュニティに参加しよう!(PostgreSQL Conference Japan 2021 発表資料)
Open-FCoE_osc2011tokyofall_20111119
Open-FCoE_osc2011tokyofall_20111119
IBM DB2 for zOSのソースエンドポイントとしての利用
IBM DB2 for zOSのソースエンドポイントとしての利用
Dockerの事例紹介
Dockerの事例紹介
[db tech showcase Sapporo 2015] A12:DBAが知っておくべき最新テクノロジー: フラッシュ, ストレージ, クラウド b...
[db tech showcase Sapporo 2015] A12:DBAが知っておくべき最新テクノロジー: フラッシュ, ストレージ, クラウド b...
DLR言語によるSilverlightプログラミング
DLR言語によるSilverlightプログラミング
Spring in-summer-gradle-hands on-withanswers
Spring in-summer-gradle-hands on-withanswers
Mais de Hiroki Nakahara
FCCM2020: High-Throughput Convolutional Neural Network on an FPGA by Customiz...
FCCM2020: High-Throughput Convolutional Neural Network on an FPGA by Customiz...
Hiroki Nakahara
ROS User Group Meeting #28 マルチ深層学習とROS
ROS User Group Meeting #28 マルチ深層学習とROS
Hiroki Nakahara
FPGAX2019
FPGAX2019
Hiroki Nakahara
SBRA2018講演資料
SBRA2018講演資料
Hiroki Nakahara
DSF2018講演スライド
DSF2018講演スライド
Hiroki Nakahara
ISCAS'18: A Deep Neural Network on the Nested RNS (NRNS) on an FPGA: Applied ...
ISCAS'18: A Deep Neural Network on the Nested RNS (NRNS) on an FPGA: Applied ...
Hiroki Nakahara
ISMVL2018: A Ternary Weight Binary Input Convolutional Neural Network
ISMVL2018: A Ternary Weight Binary Input Convolutional Neural Network
Hiroki Nakahara
FPGA2018: A Lightweight YOLOv2: A binarized CNN with a parallel support vecto...
FPGA2018: A Lightweight YOLOv2: A binarized CNN with a parallel support vecto...
Hiroki Nakahara
FPT17: An object detector based on multiscale sliding window search using a f...
FPT17: An object detector based on multiscale sliding window search using a f...
Hiroki Nakahara
(公開版)Reconf研2017GUINNESS
(公開版)Reconf研2017GUINNESS
Hiroki Nakahara
(公開版)FPGAエクストリームコンピューティング2017
(公開版)FPGAエクストリームコンピューティング2017
Hiroki Nakahara
A Random Forest using a Multi-valued Decision Diagram on an FPGa
A Random Forest using a Multi-valued Decision Diagram on an FPGa
Hiroki Nakahara
2値ディープニューラルネットワークと組込み機器への応用: 開発中のツール紹介
2値ディープニューラルネットワークと組込み機器への応用: 開発中のツール紹介
Hiroki Nakahara
2値化CNN on FPGAでGPUとガチンコバトル(公開版)
2値化CNN on FPGAでGPUとガチンコバトル(公開版)
Hiroki Nakahara
Tensor flow usergroup 2016 (公開版)
Tensor flow usergroup 2016 (公開版)
Hiroki Nakahara
FPGAX2016 ドキュンなFPGA
FPGAX2016 ドキュンなFPGA
Hiroki Nakahara
電波望遠鏡用の分光器をAltera SDK for OpenCL使ってサクッと作ってみた
電波望遠鏡用の分光器をAltera SDK for OpenCL使ってサクッと作ってみた
Hiroki Nakahara
Altera sdk for open cl アンケート集計結果(公開版)
Altera sdk for open cl アンケート集計結果(公開版)
Hiroki Nakahara
Naist2015 dec ver1
Naist2015 dec ver1
Hiroki Nakahara
Nested RNSを用いたディープニューラルネットワークのFPGA実装
Nested RNSを用いたディープニューラルネットワークのFPGA実装
Hiroki Nakahara
Mais de Hiroki Nakahara
(20)
FCCM2020: High-Throughput Convolutional Neural Network on an FPGA by Customiz...
FCCM2020: High-Throughput Convolutional Neural Network on an FPGA by Customiz...
ROS User Group Meeting #28 マルチ深層学習とROS
ROS User Group Meeting #28 マルチ深層学習とROS
FPGAX2019
FPGAX2019
SBRA2018講演資料
SBRA2018講演資料
DSF2018講演スライド
DSF2018講演スライド
ISCAS'18: A Deep Neural Network on the Nested RNS (NRNS) on an FPGA: Applied ...
ISCAS'18: A Deep Neural Network on the Nested RNS (NRNS) on an FPGA: Applied ...
ISMVL2018: A Ternary Weight Binary Input Convolutional Neural Network
ISMVL2018: A Ternary Weight Binary Input Convolutional Neural Network
FPGA2018: A Lightweight YOLOv2: A binarized CNN with a parallel support vecto...
FPGA2018: A Lightweight YOLOv2: A binarized CNN with a parallel support vecto...
FPT17: An object detector based on multiscale sliding window search using a f...
FPT17: An object detector based on multiscale sliding window search using a f...
(公開版)Reconf研2017GUINNESS
(公開版)Reconf研2017GUINNESS
(公開版)FPGAエクストリームコンピューティング2017
(公開版)FPGAエクストリームコンピューティング2017
A Random Forest using a Multi-valued Decision Diagram on an FPGa
A Random Forest using a Multi-valued Decision Diagram on an FPGa
2値ディープニューラルネットワークと組込み機器への応用: 開発中のツール紹介
2値ディープニューラルネットワークと組込み機器への応用: 開発中のツール紹介
2値化CNN on FPGAでGPUとガチンコバトル(公開版)
2値化CNN on FPGAでGPUとガチンコバトル(公開版)
Tensor flow usergroup 2016 (公開版)
Tensor flow usergroup 2016 (公開版)
FPGAX2016 ドキュンなFPGA
FPGAX2016 ドキュンなFPGA
電波望遠鏡用の分光器をAltera SDK for OpenCL使ってサクッと作ってみた
電波望遠鏡用の分光器をAltera SDK for OpenCL使ってサクッと作ってみた
Altera sdk for open cl アンケート集計結果(公開版)
Altera sdk for open cl アンケート集計結果(公開版)
Naist2015 dec ver1
Naist2015 dec ver1
Nested RNSを用いたディープニューラルネットワークのFPGA実装
Nested RNSを用いたディープニューラルネットワークのFPGA実装
Verilog-HDL Tutorial (6)
1.
1 Verilog-HDL 講習会DE0編(6) 順序回路記述(1) ∼カウンタを例題として∼ 12, June,
2013 鹿児島大学 中原 啓貴
2.
2 • ピン配置が面倒くさいので、デフォルト のプロジェクトを読み込みましょう! (DE0に限った事ではないが、Terasic製品はサンプルCD-ROMの プロジェクトを改変するのが楽でお勧め) DE0付属のCD-ROM Demonstrations 内の "DE0_Top"フォルダの ファイル全てを C:¥verilog¥DE0_tutorial_5¥ 内にコピー
3.
DE0_TOP.qpfをダブルクリック してQuartus IIを起動 3 Pin Plannerを開いてみると ピン配置が終わっている!
4.
Verilog-HDLを入力 4 ダブルクリック Verilog-HDLの テンプレートが 表示されるので コードを入力 コード入力したら保存を忘れずに!
5.
5 いよいよ順序回路編です • ほぼ全ての実用的な回路は順序回路です • 順序回路の記述法をマスターすることが、 FPGAを使いこなせるかどうかのポイント •
頑張って理解しましょう! ‒ とはいえ、言語ですから 「たくさん書いて慣れろ」
6.
6 順序回路とは? • 組合せ回路の出力:現在の入力 • 順序回路の出力: ‒
現在の入力+現在の状態 (現在の状態=過去の入力) • つまり、順序回路は現在と過去の 入力に応じて出力する回路といえる • 過去の入力を記憶 状態を記憶 • 状態を記憶する記述!? 組合せ 回路 組合せ 回路 記憶 素子 外部 入力 外部 出力 外部 入力 外部 出力 状態 出力 状態 入力 組合せ回路 順序回路
7.
7 例題:4ビットカウンタ • クロックに同期するカウンタ 4ビット 加算器 4ビット レジスタ クロック 0010 0001 0000 リセット信号
8.
8 カウンタの記述
9.
9 解説 4ビット 加算器 4ビット レジスタ レジスタ宣言 レジスタを宣言します クロック信号の 立ち上がり リセット信号の 立ち下がりor (または) に always@ 以下の 処理が行われる
10.
10 解説(続き) always@( クロック信号 or
リセット信号) begin if( クロック信号 )begin (レジスタ初期化); end else begin (順序回路の処理); end end always@() は定型文で記述 レジスタに代入するときは 「 <= 」を使う!(ノンブロッキング代入) 左辺はレジスタ値にする
11.
11 リセット信号 初期化を記述 クロックを記述 シミュレーション で動作を確認
12.
12 シミュレーション結果の確認 リセットがかかるまで 値が決まらないので 出力は不定 リセット中は 初期値が出る リセット後は クロックの立ち上がりで カウントする LEDG[3:0]を COUNT_VALUEに纏めた
13.
13 FPGAボード上に実装してみる 全部点灯する??
14.
14 原因の考察 • 基準クロック 50MHz
に同期 • LEDの点滅が早すぎる! 4ビット 加算器 4ビット レジスタ クロック (50MHz) 考えてみよう: 50MHz のとき 点滅の間隔は ____[nsec]である. リセット信号
15.
15 タイミングを調整 タイミング調整用の値を 保持するレジスタ宣言 レジスタ初期化 50MHz カウントしたら LEDを1つインクリメント
16.
16 FPGAに再度書き込み LEDがゆっくり カウント アップすると 成功
17.
17 右から左に流れるLED • 以下の動作をする回路を記述せよ ‒ ただし、LEDが切替るのは1秒間隔とする ? 4ビット レジスタ クロック (50MHz) どこを書き換えればよいか? リセット信号
18.
18 答え • 初期値を与え左シフタを記述するだけ! 加算はコメントアウト 左シフタ 初期値を変更
19.
19 FPGA上に実現 LEDが右から左へ 点灯すると成功
20.
20 課題1 ただしLEDの点灯間隔は全て1秒とする 1. LEDを点滅させよ 2. スライドスイッチがOFF:
ダウンカウンタ スライドスイッチがON: アップカウンタ となる回路を作成せよ 3. スライドスイッチがOFF: LEDが右→左 スライドスイッチがON: LEDが左→右 となる回路を作成せよ
21.
21 課題2 ただしLEDの点灯間隔は全て1秒とする 1. 7セグメントLEDがカウントアップする回路を 作成し, DE0ボード上に実現せよ.
ただし, 0から 7までのカウントでよい. 2. 1.で作った回路を スライドスイッチがOFF: ダウンカウンタ スライドスイッチがON: アップカウンタ となるように改造せよ
Baixar agora