Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Vivado2019.2でUVMを使った話
Search
tethys_seesaa
November 09, 2019
Technology
960
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Vivado2019.2でUVMを使った話
tethys_seesaa
November 09, 2019
More Decks by tethys_seesaa
See All by tethys_seesaa
RTLを語る会(17)あいさつ
tethys_seesaa
0
560
UVVMをさわってみた
tethys_seesaa
0
790
RTLを語る会(16)あいさつ
tethys_seesaa
0
540
あいさつ
tethys_seesaa
0
630
SystemVerilog を使用したXilinx FPGA開発
tethys_seesaa
0
2.8k
Other Decks in Technology
See All in Technology
Kiro IDE 入門 (画面の各部から、頼み方、任せ方、戻し方まで) | 目指せ Kiro マスター 02
inariku
PRO
3
120
お客様の「やりたい」の先を見通す合意形成プロセス ~裏にある課題と不安を解きほぐすコツ~
yukakoseki
0
120
Reticulum, le réseau cypherpunk dont vous avez besoin !
rlifchitz
0
100
Claude Codeで作ったアプリを安全に公開する/Built with Claude Japan 2026
yoshidashingo
0
210
長い仕事を任せる (Workflows、クラウドセッション、Kiro Web) | 目指せ Kiro マスター 10
inariku
PRO
3
110
AIエージェントの監視、思考を見るか行動を見るか / Monitoring AI Agents: Thoughts or Actions
yusukeshimizu
2
170
AI時代の組織作り:チーム開発から「個人×AI」への移行と、持続可能な「開発資本」の築き方
ham0215
2
320
バックオフィスに染み出すTypeScript ── clasp で安全に仕組みを作る
nealle
1
180
超⼩型・多⾔語検索モデル Bekko Embedding
hotchpotch
1
130
コードレビューをなくして見えたもの
henteko
0
140
Shared Signals Framework 仕様解説
oidfj
0
220
サボる子はいねぇがー!AgentCoreハーネスの脆弱性に学ぶ、エージェントの入力バリデーション
iwamot
PRO
5
300
Featured
See All Featured
Facilitating Awesome Meetings
lara
57
7.2k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
320
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
Thoughts on Productivity
jonyablonski
76
5.5k
The Language of Interfaces
destraynor
162
27k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.7k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
560
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
350
Code Reviewing Like a Champion
maltzj
529
40k
Transcript
Vivado 2019.2でUVMを 使った話 2019/11/09 @TETHYS_SEESAA
Vivado SimulatorがUVM1.2をサポート https://japan.xilinx.com/products/design-tools/vivado/vivado-whats-new.html SystemVerilogのclassやrand変数、covergroupがが使用可能? ◦ ModelSim Intel Edision(Free)ではrandomizeやcoverageは使用不可 ◦ 試してみることにしました。
UVMとは Universal Verification Methodologyの略 SystemVerilogで記述されたRTL検証フレームワーク 最近は日本語の情報も充実しています ◦ http://www.artgraphics.co.jp/downloads.html ◦ https://qiita.com/triggerfish
デザイン、 テストベンチ 使用したデザイン、テストベンチ ◦ Design and Verification of APB Protocol
◦ Implement an APB Verification environment in UVM based System Verilog ◦ https://www.edaplayground.com/x/2QzY ◦ EDA playgroundより拝借 ◦ $psprintfタスクは$sformatfタスクに変換 以下、一部紹介
デザイン APB Slaveモジュール ◦ Interfaceを定義して、モジュールのI/Fに使用
テストベンチ UVMライブラリの呼び出し UVMで定義したクラスのinclude
デザインとテ ストベンチの 関係 https://www.chipverify.com/u vm/uvm-subscriber より引用
apb_base_test クラス UVM_TESTクラスを継承
apb_transaction クラス typedefの使用 制約付きランダム変数の定義と設 定
apb_subscriberク ラス covergroupの設定
ModelSim Intel FPGA Edition(10.6d/19.2) で実行しようとする と... ライセンスエラーで使用不可 # ** Error:
(vsim-1) Unable to checkout verification license - testbench generation feature (randomize, randcase, randsequence, covergroup) is only supported with QuestaSim. # Time: 0 ps Iteration: 0 Instance: /test File: ../dv/testbench.sv # Error loading design Error loading design # End time: 17:34:36 on Nov 07,2019, Elapsed time: 0:00:00 # Errors: 2, Warnings: 0
Vivado Simulator 2019.2でシミュレー ション
Vivado プロジェ クトの設定 Add Sourcesでデザインファイルを 指定
シミュレーションの設定 set_property -name {xsim.compile.xvlog.more_options} -value {-L uvm} -objects [get_filesets sim_1]
set_property -name {xsim.elaborate.xelab.more_options} - value {-L uvm} -objects [get_filesets sim_1]
sim_1用ソース ファイル(テストベ ンチ)追加 testbench.svを追加するのみ
Sourceウィンドウ UVMを使用したクラスファイル群は「Verilog Header」として表 示される。
シミュレーショ ン実行
UVM形式のサマリー出力
ランダムなアドレス/データ のリードライトを確認
まとめ Windowsで、無料版で、 UVMを使用したシミュ レーションができる! •random, coverage等 本格的に使いこせる のか? •+UVM_TESTNAME •coverage管理等
コード https://github.com/hiiaka/uvm_example