edastudy:tessent:dft_spec
差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 | ||
edastudy:tessent:dft_spec [2024/05/23 09:01] – [1.2 chip_top] zhangguo | edastudy:tessent:dft_spec [2024/11/12 16:56] (当前版本) – [3.1 set_defaults_value] user01 | ||
---|---|---|---|
行 75: | 行 75: | ||
+ | ==== - tap_t.icl ==== | ||
+ | <code bash> | ||
+ | |||
+ | Module tap { | ||
+ | TCKPort | ||
+ | ScanInPort | ||
+ | ScanOutPort | ||
+ | Attribute forced_high_output_port_list = " | ||
+ | Attribute forced_low_dft_signal_list = " | ||
+ | } | ||
+ | DataOutPort | ||
+ | Attribute associated_scan_port_list = " | ||
+ | Attribute connection_rule_option = " | ||
+ | Attribute function_modifier = " | ||
+ | } | ||
+ | TMSPort | ||
+ | Attribute forced_low_dft_signal_list = " | ||
+ | } | ||
+ | TRSTPort | ||
+ | Attribute connection_rule_option = " | ||
+ | } | ||
+ | ToCaptureEnPort capture_dr_en; | ||
+ | ToShiftEnPort | ||
+ | ToUpdateEnPort | ||
+ | ToResetPort | ||
+ | ToSelectPort | ||
+ | Attribute connection_rule_option = " | ||
+ | } | ||
+ | LogicSignal | ||
+ | ScanInPort | ||
+ | Attribute connection_rule_option = " | ||
+ | } | ||
+ | ScanInPort | ||
+ | Attribute connection_rule_option | ||
+ | Attribute tessent_bscan_pipeline_stages | ||
+ | } | ||
+ | ToSelectPort | ||
+ | Attribute connection_rule_option = " | ||
+ | Attribute tessent_bscan_function | ||
+ | } | ||
+ | LogicSignal bscan_select_int { | ||
+ | (instruction == EXTEST) || | ||
+ | (instruction == INTEST) || | ||
+ | (instruction == EXTEST_PULSE) || | ||
+ | (instruction == EXTEST_TRAIN) || | ||
+ | (instruction == SAMPLE) || | ||
+ | (instruction == PRELOAD) ; | ||
+ | } | ||
+ | DataOutPort | ||
+ | Attribute connection_rule_option = " | ||
+ | Attribute tessent_bscan_function | ||
+ | } | ||
+ | LogicSignal force_disable_int { instruction == HIGHZ; } | ||
+ | DataOutPort | ||
+ | Attribute connection_rule_option = " | ||
+ | Attribute tessent_bscan_function = " | ||
+ | } | ||
+ | LogicSignal select_jtag_input_int { instruction == INTEST; } | ||
+ | DataOutPort | ||
+ | Attribute connection_rule_option = " | ||
+ | Attribute tessent_bscan_function = " | ||
+ | } | ||
+ | LogicSignal select_jtag_output_int { | ||
+ | (instruction == EXTEST) || | ||
+ | (instruction == EXTEST_PULSE) || | ||
+ | (instruction == EXTEST_TRAIN) || | ||
+ | (instruction == CLAMP) || | ||
+ | (instruction == HIGHZ) ; | ||
+ | } | ||
+ | DataOutPort | ||
+ | Attribute connection_rule_option = " | ||
+ | Attribute tessent_bscan_function = " | ||
+ | } | ||
+ | LogicSignal ext_test_pulse_int { instruction == EXTEST_PULSE; | ||
+ | DataOutPort | ||
+ | Attribute connection_rule_option = " | ||
+ | Attribute tessent_bscan_function = " | ||
+ | } | ||
+ | LogicSignal ext_test_train_int { instruction == EXTEST_TRAIN; | ||
+ | DataOutPort fsm_state[3: | ||
+ | Attribute connection_rule_option = " | ||
+ | Attribute function_modifier = " | ||
+ | RefEnum | ||
+ | } | ||
+ | |||
+ | Enum state_encoding { | ||
+ | test_logic_reset | ||
+ | run_test_idle | ||
+ | select_dr | ||
+ | capture_dr | ||
+ | shift_dr | ||
+ | exit1_dr | ||
+ | pause_dr | ||
+ | exit2_dr | ||
+ | update_dr | ||
+ | select_ir | ||
+ | capture_ir | ||
+ | shift_ir | ||
+ | exit1_ir | ||
+ | pause_ir | ||
+ | exit2_ir | ||
+ | update_ir | ||
+ | } | ||
+ | |||
+ | ScanInterface tap_client { | ||
+ | Port tdi; | ||
+ | Port tdo; | ||
+ | Port tms; | ||
+ | } | ||
+ | ScanInterface host_ijtag_1 { | ||
+ | Port host_1_from_so; | ||
+ | Port host_1_to_sel; | ||
+ | } | ||
+ | |||
+ | ScanInterface host_bscan { | ||
+ | Port host_bscan_to_sel; | ||
+ | Port host_bscan_from_so; | ||
+ | Port capture_dr_en; | ||
+ | Port shift_dr_en; | ||
+ | Port update_dr_en; | ||
+ | Port test_logic_reset; | ||
+ | Attribute | ||
+ | } | ||
+ | Instance fsm Of tap_fsm | ||
+ | InputPort tck = tck; | ||
+ | InputPort tms = tms; | ||
+ | InputPort trst = trst; | ||
+ | } | ||
+ | ScanRegister instruction[3: | ||
+ | CaptureSource | ||
+ | ResetValue | ||
+ | ScanInSource | ||
+ | RefEnum | ||
+ | } | ||
+ | Enum instruction_opcodes { | ||
+ | BYPASS | ||
+ | CLAMP = 4' | ||
+ | EXTEST | ||
+ | EXTEST_PULSE | ||
+ | EXTEST_TRAIN | ||
+ | INTEST | ||
+ | SAMPLE | ||
+ | PRELOAD | ||
+ | HIGHZ = 4' | ||
+ | HOSTIJTAG_1 | ||
+ | } | ||
+ | |||
+ | ScanRegister bypass { | ||
+ | CaptureSource | ||
+ | ScanInSource | ||
+ | } | ||
+ | ScanMux IRMux SelectedBy fsm.irSel { | ||
+ | 1'b0 : DRMux; | ||
+ | 1'b1 : instruction[0]; | ||
+ | } | ||
+ | ScanMux DRMux SelectedBy instruction { | ||
+ | 4' | ||
+ | 4' | ||
+ | 4' | ||
+ | 4' | ||
+ | 4' | ||
+ | 4' | ||
+ | 4' | ||
+ | 4' | ||
+ | 4' | ||
+ | ' | ||
+ | } | ||
+ | Attribute | ||
+ | Attribute | ||
+ | Attribute | ||
+ | // | ||
+ | // | ||
+ | // | ||
+ | // | ||
+ | // | ||
+ | } | ||
+ | Module tap_fsm { | ||
+ | TCKPort | ||
+ | TMSPort | ||
+ | TRSTPort | ||
+ | ToIRSelectPort irSel; | ||
+ | ToResetPort | ||
+ | } | ||
+ | </ | ||
==== - tap_t ==== | ==== - tap_t ==== | ||
<code tcl> | <code tcl> | ||
行 118: | 行 302: | ||
| | ||
report_config_data $spec | report_config_data $spec | ||
+ | delete_config_element [get_config_elements " | ||
</ | </ | ||
行 193: | 行 378: | ||
} | } | ||
} | } | ||
- | |||
</ | </ | ||
===== - get_config_elements ===== | ===== - get_config_elements ===== | ||
行 260: | 行 444: | ||
{/ | {/ | ||
+ | |||
+ | |||
+ | ==== - 实例 ==== | ||
+ | 它的这个()括号是不匹配的,需要显式写出来。 | ||
+ | <code tcl> | ||
+ | ANALYSIS> | ||
+ | {/ | ||
+ | ANALYSIS> | ||
+ | {/ | ||
+ | </ | ||
===== - get_name_list ===== | ===== - get_name_list ===== | ||
+ | |||
+ | 此命令等同于 | ||
+ | <code tcl> | ||
+ | get_attribute_value_list object_spec ‑name name | ||
+ | </ | ||
+ | |||
+ | 用于将collection格式的name转换为普通tcl string格式的name | ||
<code tcl> | <code tcl> | ||
行 269: | 行 470: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | ===== - set_defaults_value | ||
+ | |||
+ | < | ||
+ | set_defaults_value DftSpecification/ | ||
+ | set_defaults_value DftSpecification/ | ||
+ | set_defaults_value DftSpecification/ | ||
+ | </ | ||
+ |
edastudy/tessent/dft_spec.1716426063.txt.gz · 最后更改: 2024/05/23 09:01 由 zhangguo