0510 spf文件内容及含义

spf文件结构:

    版本    STIL 1.0

    基本信息 Header

    主要输入输出 Signals

    信号集合 SignalGroups

    扫描链 ScanStructures

    Timing块 //定义了时间边缘(timing edges)的位置和应用于测试中的每个信号的环化波形(cyclized waveforms)的格式

                {

                    波形表 WaveformTable

    }

    Procedures //定义了所有的clock capture 程序

    {        

            “capture” {

                        W //波形表

                        C  //Condition  用于定义应用扫描数据时所需信号的“背景”状态

                             {   "all_inputs" = NNNN00NNNN;

                                 "all_outputs" = XXXX; }

                        V // Vecor 定义一个测试循环中的 激励和响应 

                            {   "_pi" = \r13 #;

                                "_po" = \r8 #;   }

                    /*被调用的方式*/

                   // Call "capture" { "_pi"=0010001T0111; "_po"=TLLLTLLL; }

                    "load_unload"{  //scan shifting 操作的基础

                        W

                        C

                        "Internal_scan_pre_shift"

                        Shift {  // 通过对load_unload的调用,数据将传递给_si和_so

                         V {
                                "_clk" = P1;
                                "_si" = ###;
                                "_so" = ###;
                            }

                        }

                    }

                /*被调用的方式*/

            "pattern 1": 

      Call "load_unload" { "test_so1"=LLHHLL; "test_so2"=LLHHLL; "test_so3"=LLHHLL; "test_si1"=010110;                                                          "test_si2"=011011; "test_si3"=110001; } 

                  Call "capture" { "_pi"=P0010001T0111; "_po"=TLLLTLLL; }

    }

    MacroDefs{

            “test_setup”{

                    W

                    C

                    V

                     {  "clk" = 0;

                        "reset" = 1;    }

            }

    }


    

    

你可能感兴趣的:(0510 spf文件内容及含义)