zoukankan      html  css  js  c++  java
  • autofix实践

    1.read_gate_and_protocol

    remove_design -designs
    
    read_ddc mapped/RISC_CORE.ddc
    current_design RISC_CORE
    link
    
    #Declare test components in preparation for create_test_protocol
    set_dft_signal -view existing_dft -port Clk -type ScanClock -timing {45 55}
    set_dft_signal -view existing_dft -port Reset -type Reset -active_state 0
    set_dft_signal -view spec -port TEST_SE -type ScanEnable -active_state 1
    set_dft_signal -view existing_dft -type Constant -active_state 1 -port TEST_MODE
    
    create_test_protocol
    
    dft_drc
    read_gate_and_protocol

    2.preview_dft

    # Get the scan insertion settings
    #source -e -v scripts/settings_insert_dft.tcl
    set_dft_signal -view spec -port Instrn[0] -type ScanDataIn
    set_dft_signal -view spec -port Xecutng_Instrn[0] -type ScanDataOut
    set_scan_configuration -chain_count 1
    
    # Allow clock domains to be mixed together on same chain
    set_scan_configuration -clock_mixing mix_clocks
    # Specify the autofix configuration
    source -e -v scripts/autofix.tcl
    
    # Preview the scan architecture / test points
    preview_dft; 
    preview_dft
    #***********START AUTOFIX COMMANDS*******************************************************
    
    # Use autofix to fix problems with sets/resets and clock problems
    
    # Enable AutoFix
    set_dft_configuration -fix_set enable -fix_reset enable -fix_clock enable
    set_dft_signal -view spec -type TestMode -active_state 1 -port TEST_MODE
    
    # Fix clocks
    # If an autofix clock is not specified, tool will look for a controllable clock
    # DFTC will create a new clock port if it does not find one
    # Using the clock Clk as the autofix clock
    set_dft_signal -view spec -port Clk -type TestData
    set_autofix_configuration -type clock -control TEST_MODE -test_data Clk
    
    # Fix resets
    # Use the Reset line as the reset fix
    set_dft_signal -view spec -port Reset -type TestData
    set_autofix_configuration -type reset -method mux -control TEST_MODE -test_data Reset
    
    # Fix sets
    # Use the same Reset line to fix the sets
    set_autofix_configuration -type set -method mux -control TEST_MODE -test_data Reset
    
    
    # TEST_MODE already declared as part of the test protocol
    
    #***********END AUTOFIX COMMANDS*********************************************************
    autofix

    3.insert_dft

    insert_dft
    dft_drc -coverage_estimate
  • 相关阅读:
    SQL随机生成6位数字
    安装时提示 INSTALL_PARSE_FAILED_MANIFEST_MALFORMED 解决办法
    Windows 7 完美安装 Visual C++ 6.0
    解决js中window.location.href不工作的问题
    DataList中动态显示DIV
    Gridview、DataList、Repeater获取行索引号
    Java多jdk安装
    【CentOS】samba服务器安装与配置
    【CentOS】IBM X3650M4 IMM远程管理【转载】
    【Java】Eclipse导出jar包与javadoc
  • 原文地址:https://www.cnblogs.com/yilia-er/p/14230530.html
Copyright © 2011-2022 走看看