• 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
  • 相关阅读:
    node.js的request模块
    PHP实现一个简单url路由功能
    关于seajs
    CodeIgniter集成Smarty
    node.js批量修改图片名
    Node.js创建目录实例
    Bootstrap的表单设计器
    onbeforeunload事件被a链接触发的问题
    Socket.IO + Express实现的跨浏览器、子域的聊天室
    NodeJS获取命令行后面的参数
  • 原文地址:https://www.cnblogs.com/yilia-er/p/14230530.html
Copyright © 2020-2023  润新知