在timing statement中,指定一個名稱給timing number。
格 式
TIME_NAME_DEF
{
time_name = no ;
…
…
time_name = no ;
}
❏ time_name
◆ 用以設定timing number的名字。
◆ 名字的命名上,最多可使用64個字元。
◆ 命名規則:開頭字須是「英文」字母。
❏ no
◆ 指的就是timing number。
◆ 可是是1~15之間的任一整數。
範 例 一
❏ 在DEC檔案中定義
《Device Definition File》
TIME_NAME_DEF
{
TM0= 14;
TM1= 1;
TM2= 2;
TM3= 3;
TM4= 4;
TM5= 5;
TM6= 6;
TM7= 7;
TM8= 8;
TM9= 9;
TM10= 10;
}
《Test Plan 中使用》
OPEN_SHORT_Item()
{
TEST_NO(5000);
DATALOG_MSG = "OPEN_SHORT_Item";
SET_CBIT(UR_VDDCH,ON,1mS);
FORCE_V_MLDPS(VDD1,0.0V,@6V,@500mA,200mA,NORM,ON,1mS);
RATEN(TM1, 10.000uS);
MARKERN(TS1, ALLPINS, 0.000pS, , , 0.000pS, , 9.500uS, );
LEVELS(lvl_os, 2mS);
PIN_MODE(OSPINS,F0,EDGE,ENABLE,IO_NRZ,ON);
RELAY_ON(OSPINS,PDCL,2mS);
PIN_INC(VDD)
{
RELAY_OFF(PIN_DEF,PDCL,1mS);
RELAY_ON(PIN_DEF,PMU,2mS);
FORCE_I_PMU (PMU, -250uA, @1mA, @6V, 2V, ON, 1mS);
WAIT(10ms);
JUDGE_V_PMU (PMU,IFVM, -1.2V, -0.2V, 1mS,16, AVE, 50uS, , );
FORCE_I_PMU (PMU, 0A, @1mA, @6V, 6V, OFF, 1mS);
RELAY_OFF(PIN_DEF,PMU,0mS);
RELAY_ON(PIN_DEF,PDCL,2mS);
}
BACKUP_PLAN_RESULT();
JUDGE_PAT(conti,__conti);
}
範 例 二
❏ 直接在Test Plan中定義,並使用呼叫
《Test Plan File》
TIME_NAME_DEF
{
TM1= 1;
TM2= 2;
}
.....................
.....................
.....................
OPEN_SHORT_Item()
{
TEST_NO(5000);
DATALOG_MSG = "OPEN_SHORT_Item";
SET_CBIT(UR_VDDCH,ON,1mS);
FORCE_V_MLDPS(VDD1,0.0V,@6V,@500mA,200mA,NORM,ON,1mS);
RATEN(TM1, 10.000uS);
MARKERN(TS1, ALLPINS, 0.000pS, , , 0.000pS, , 9.500uS, );
LEVELS(lvl_os, 2mS);
PIN_MODE(OSPINS,F0,EDGE,ENABLE,IO_NRZ,ON);
RELAY_ON(OSPINS,PDCL,2mS);
PIN_INC(VDD)
{
RELAY_OFF(PIN_DEF,PDCL,1mS);
RELAY_ON(PIN_DEF,PMU,2mS);
FORCE_I_PMU (PMU, -250uA, @1mA, @6V, 2V, ON, 1mS);
WAIT(10ms);
JUDGE_V_PMU (PMU,IFVM, -1.2V, -0.2V, 1mS,16, AVE, 50uS, , );
FORCE_I_PMU (PMU, 0A, @1mA, @6V, 6V, OFF, 1mS);
RELAY_OFF(PIN_DEF,PMU,0mS);
RELAY_ON(PIN_DEF,PDCL,2mS);
}
BACKUP_PLAN_RESULT();
JUDGE_PAT(conti,__conti);
}
留言列表