shmとfsdbの波形ダンプ方法を把握しておこう

どこかで initial begin end で囲って記述します。


$shm_open("./hoge.shm");
$shm_probe(<some-hierarchy-level>, "AS");


* note
A: all nodes, including inputs, outputs and inouts, of the specified scope
S: inputs, outputs and inouts of the specified scope, and in all instantiations below it, except inside library cells.
C: inputs, outputs and inouts of the specifed scope, and in all instantiations below it, including those inside library cells.
AS: all nodes, including inputs, outputs and inouts, of the specified scope, and in all instantiations below it, except inside library cells.
AC: all nodes, including inputs outputs and inouts, in the specified scope and in all instantiations below it, even inside library cells.

or possible by adding tcl script
database -open -into *wavefilename* waves -default
probe -create -database waves *instancename* -all -depth all


$fsdbDumpfile("./hoge.fsdb");
$fsdbDumpvars(0, <some-hierarchy-level>);


* note
0: all signals in all scopes.
1: all signals in current scope.
2: all signals in the current scope and all scopes one level below.
n: all signals in the current scope and all scopes n-1 levels below.
2015-05-14 : Work-Product-Verification : コメント : 0 : トラックバック : 0
Pagetop
コメントの投稿
非公開コメント

Pagetop
« next  ホーム  prev »

プロフィール

zive

Author:zive
大阪在住、男

ブログ検索

月別アーカイブ

FC2カウンター