• 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
  • 相关阅读:
    任意数字 保留 两位 小数 PHP
    在JavaScript中处理JSON数据 jquery js 定义 json 格式
    相对定位 绝对定位 relative absolute position 图片定位a标签
    oracle: listener.ora 、sqlnet.ora 、tnsnames.ora的配置及例子
    python
    python
    python-判断alter是否存在
    python-IE浏览器调用
    Python语言编写脚本时,对日期控件的处理方式
    python报错UnicodeDecodeError:
  • 原文地址:https://www.cnblogs.com/yilia-er/p/14230530.html
Copyright © 2020-2023  润新知