《扫描链的仿真(STIL文件的仿真)- 附Makefile脚本》 在TertaMAX里面导出Pattern时,以STIL文件格式导出,且选择serial: write_patterns ../../frontend/tm/pattern/dft_comp.stil \ -format stil \ -replace \ -serial 则会在pattern目录下产生两个文件,分别为: dft_comp.stil和dft_comp_stildpv.v 前者是Pattern文件,后者是调用该文件并对其进行仿真的testbench文件,可以用它来对设计进行pattern的仿真。 在dft_comp_stildpv.v中有调用$STILDPV库函数(如下图所示)。