Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Vivado2019.2でUVMを使った話
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
tethys_seesaa
November 09, 2019
Technology
900
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
540
UVVMをさわってみた
tethys_seesaa
0
750
RTLを語る会(16)あいさつ
tethys_seesaa
0
520
あいさつ
tethys_seesaa
0
600
SystemVerilog を使用したXilinx FPGA開発
tethys_seesaa
0
2.8k
Other Decks in Technology
See All in Technology
AI-DLCを活用した高品質・安全なAI駆動開発実践 / AI Driven Development
yoshidashingo
1
380
Platform engineering for developers, architects & the rest of us (AI agents)
danielbryantuk
0
190
Oracle AI Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
6
1.9k
速さだけじゃない! VoidZero ツールが移行先に選ばれる理由
mizdra
PRO
6
770
Dynamic Workersについて
yusukebe
2
630
Rubyで音を視る
ydah
1
110
価格.comをAI駆動で全面刷新する ー 30年分の技術的負債を返し、次の30年の土台をつくる ー / AI Engineering Summit Tokyo 2026
tkyowa
50
56k
新アーキテクチャ「TiDB X」解説とDedicated比較 TiDB Cloud Premiumのゲーム運用活用を検証
staffrecruiter
0
120
「嘘をつくテスト」の失敗例から学ぶ 良いテストコード #frontend_phpcon_do
asumikam
0
560
新規事業を牽引する技術選定 〜フルスタックTypeScript開発の実践事例〜
nullnull
3
360
製造業のクラウド活用最適解〜AI,DXを加速するデータ基盤の作り方〜
hamadakoji
0
410
コードレビューを制するチームがソフトウェアデリバリーのフローを制す / Beyond Code Review: Distributing Its Responsibilities Across the SDLC
mtx2s
4
1.3k
Featured
See All Featured
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
600
Writing Fast Ruby
sferik
630
63k
Designing for Timeless Needs
cassininazir
1
250
Amusing Abliteration
ianozsvald
1
200
Joys of Absence: A Defence of Solitary Play
codingconduct
1
390
KATA
mclloyd
PRO
35
15k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
270
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.4k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
330
Exploring anti-patterns in Rails
aemeredith
3
400
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
380
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
720
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