title: SmartRDI cogo() 条件跳转与模式搜索
type: 主题
pillar: P2 测试良率·ATE
tier: Advantest V93K
tags: [SmartRDI, cogo, 条件跳转, 二分搜索, 线性搜索, 滞回搜索, V93K, RDI]
created: 2026-08-11
sources:
- pdf_f4f3209cb97aef445e1ebfb80a703705_162744ba9e76ed478a48a72f57621d807355619417811785 ✅已深读
- 摘要:SmartRDI: Pattern-based conditional jump - cogo
- 关键数据/要点:3 rdi.cogo().node("this").passNode("id1").failNode("id2").begin(4 {;5 rdi.func().label("abc").execute(); // Pass or fail judgment 6 };● SmartRDI 2.4.1: The cogo judgment supports DC Scale cards.;● SmartRDI 7.4.4: The binary search resolution is improved from 2n-1 to 2n (n is the step number) without any code change.
来源:IMA「武汉精毅通探针卡知识库」pdf_…162744ba…("SmartRDI: Pattern-based conditional jump - cogo",Advantest SmartRDI 文档,Topic 149524 等)。原文事实(除注明外)。本页是 topics/ate-smartrdi 的姊妹篇,聚焦 cogo 条件跳转与搜索。
SmartRDI 的 cogo() 类("conditional go")提供基于模式 pass/fail 的条件跳转与搜索(二分 / 线性 / 滞回线性)。核心 API:node()/passNode()/failNode() 构建跳转结构,search()/start()/stop()/init()/step()/resolution()/pathPin() 构建搜索结构。关键约束:cogo 块内不能放 awg()/dgt()/rfs()/rfm()/digCap();Binary 与 Linear 搜索的 start/stop 语义相反;site_match 标志必须 ON(Fast Sync 时 OFF)。
node()(节点 ID + 类型 ROOT/NON_ROOT)、passNode()(pass 跳转目标)、failNode()(fail 跳转目标)、rdi.cogo().wait(double)(系统等待时间校验)。rdi.func().label("abc").execute()、rdi.smartVec()...expectData()/expectBit().execute()、rdi.dc()...limit(low,high).execute()(PPMU/DC Scale)。valueMode(TA::SA) 用于 cogo 判据;valueMode(TA::BADC) 仅供块内测量不能用判据。| 卡 | Pin 类型 | Voltage 判据 | Current 判据 |
|---|---|---|---|
| AVI64 | SIG | Y | Y |
| AVI64 | DPS | N | N |
| PS1600 | PPMU | Y | Y |
| PS1600 | BADC | N | N |
| DPS128 HC | SIG | Y | Y |
| DPS128 HC | DPS | Y | Y |
| DPS128 HV | SIG/DPS | N | N |
| PVI8 / DPS32 / VI32 | 全部 | N | N |
✅全文精读 要点(原文节选 162744ba):
getBurstValue(pin) 取全部 DC 结果。portSync() 可能失效。rdi.cogo().wait(double)。10/11. Linear Search:.start()→FAIL、.stop()→PASS;Binary Search:.start()→PASS、.stop()→FAIL。
pathPin() 不得接收 DUT board 信号。✅全文精读 要点(原文节选 162744ba):
start()=PASS、stop()=FAIL、init() 为中间起始值;分辨率随 step 数 n 可达 2^n(SmartRDI 7.4.4 由 2^(n-1) 提升至 2^n,无需改码)。start()=fail 起点、stop()=PASS 终点。getSearchRiseResult()/getSearchFallResult() 取值。getSearchResult()(终节点)、getSearchPath()(ARRAY_I 含路径各节点 p/f)、getSearchFallResult()/getSearchRiseResult()。pathPin():指定数字 pin 追踪搜索路径;SmartRDI 7.5.3 起 binary/linear 不再需要 pathPin(HYST_LINEAR 仍需)。需定义 waveform 且闭 AC 继电器做内部 loopback。pdf_…162744ba… "SmartRDI: Pattern-based conditional jump - cogo"(Advantest SmartRDI 文档)。