用户工具

站点工具


edastudy:verdi:vc_apps_npi

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
edastudy:verdi:vc_apps_npi [2023/07/23 07:45] – [9. 实例] zhangguoedastudy:verdi:vc_apps_npi [2023/07/23 07:50] (当前版本) – [9.1 trace driver] zhangguo
行 287: 行 287:
 ==== - trace driver ==== ==== - trace driver ====
  
-<code tcl>+<code tcl [enable_line_numbers="true",highlight_lines_extra="28,29"]>
 #source $env(NPIL1_PATH)/npi_L1.tcl #source $env(NPIL1_PATH)/npi_L1.tcl
  
行 316: 行 316:
     puts $targetFileHdl "t:$tmp"     puts $targetFileHdl "t:$tmp"
     set tmpStr [ npi_util_decompile_t::decompile $hdl ]     set tmpStr [ npi_util_decompile_t::decompile $hdl ]
-    puts $targetFileHdl "tmpStr:$tmpStr"+    puts $targetFileHdl "tmpStr:$tmpStr";   #可用于获取赋值语句,这样有机会获取到取反信息等, assign a2 = ((~a1) & 'b1)
   }   }
 } }
行 343: 行 343:
     close $LOG     close $LOG
 } }
 +</code>
 +
 +trace log如下:
 +<code>
 +================================================================================
 +
 +npiNet, top.a2, {/home/user01/try_verdi/top.v : 53} /* results of trace driver */
 +Need pass through
 +<1> source: a2, scope: top
 +    <D> npiContAssign, assign a2 = ((~a1) & 'b1), {/home/user01/try_verdi/top.v : 70}
 +          npiConstant, 'b1, (null)
 +          npiNet, top.a1, {/home/user01/try_verdi/top.v : 52}
 +
 +
 +
 + 0 source: npiNet, top.a2, {/home/user01/try_verdi/top.v : 53}
 +   scope: npiModule, top, {/home/user01/try_verdi/top.v : 20}
 +   isPassThrought:
 +   numSigUse:
 +   useHdl: npiContAssign, assign a2 = ((~a1) & 'b1), {/home/user01/try_verdi/top.v : 70}
 +        npiConstant, 'b1, (null)
 +        npiNet, top.a1, {/home/user01/try_verdi/top.v : 52}
 +t:npiContAssign
 +tmpStr:assign a2 = ((~a1) & 'b1)
 </code> </code>
  
edastudy/verdi/vc_apps_npi.1690069556.txt.gz · 最后更改: 2023/07/23 07:45 由 zhangguo

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki