跳至内容
Python 俱乐部
用户工具
登录
站点工具
搜索
工具
显示页面
修订记录
反向链接
最近更改
媒体管理器
网站地图
登录
>
最近更改
媒体管理器
网站地图
您的足迹:
vlsi:icc:script-highlight-clock-paths
====== Script to Highlight Launch and Capture Clock Paths in the Layout ====== You can use the get_timing_paths command with the get_attribute command to create collections of the timing paths, and use the gui_change_highlight command to highlight each collection of paths with a unique color in the GUI. The example below uses the get_timing_paths and gui_change_highlight commands to highlight the paths for the launch and capture clocks for the <nowiki> I_SDRAM_TOP/I_SDRAM_READ_FIFO/reg_array_reg_1__31_/D </nowiki> register input. <code tcl> set path [get_timing_paths -to I_SDRAM_TOP/I_SDRAM_READ_FIFO/reg_array_reg_1__31_/D \ -group SDRAM_CLK] gui_change_highlight -color yellow -collection $path set launch_clock [get_timing_paths -through [get_attribute [get_attribute $path startpoint_clock] sources] \ -to [get_attribute $path startpoint]] gui_change_highlight -color green -collection $launch_clock set capture_clock [get_timing_paths -through [get_attribute [get_attribute $path endpoint_clock] sources] \ -to [get_attribute $path endpoint_clock_pin]] gui_change_highlight -color blue -collection $capture_clock </code> {{:vlsi:icc:launch-capture-clock.png|}} ===== Proc Version ===== <code tcl> proc highlight_clock_path {from_point to_point} { set path [get_timing_paths -from $from_point -to $to_point] gui_change_highlight -color yellow -collection $path set launch_clock [get_timing_paths -through [get_attribute [get_attribute $path startpoint_clock] sources] \ -to [get_attribute $path startpoint]] gui_change_highlight -color green -collection $launch_clock set capture_clock [get_timing_paths -through [get_attribute [get_attribute $path endpoint_clock] sources] \ -to [get_attribute $path endpoint_clock_pin]] gui_change_highlight -color blue -collection $capture_clock } </code>
vlsi/icc/script-highlight-clock-paths.txt
· 最后更改: 2014/09/02 07:56 (外部编辑)
页面工具
显示页面
修订记录
反向链接
回到顶部