[Altera][TSR] set_clock_groups
2008/11/24
[Altera][TSR] set_clock_groups
Usage
set_clock_groups [-asynchronous] [-exclusive] -group <names>
Options
- -asynchronous
- Specify mutually exclusive clocks (same as the -exclusive option). Exists for compatibility.
- -exclusive
- Specify mutually exclusive clocks
- -group
- Valid destinations (string patterns are matched using Tcl string matching)
Description
"Clock groups"は,どのclockが関連しないかを指定するのに早くて便利な方法を提供します.Clock groups provide a quick and convenient way to specify which clocks are not related.
非同期clockは,完全に関係のないものです*1.(例えば,独立した異なるclock源を持つとき)
排他的なclock,同時にはactiveにならないものです*1.(例えば,multiplexされたclock)
TimeQuestは,まるでそれらが同じであるかのように,どちらのオプションも扱います("-exclusive" , "-asynchronous").
"set_clock_groups"の結果は,どんなgroup内の全てのclockも,他の各group内のclock全てから遮断(cut)されます.このコマンドは,全部のgroupの各clockから,他のgroupの各clockへ"set_false_path"を呼び出すのと等価です.clockドメインを切り離す指定を容易にするため,"set_clock_groups"を作りました(?).
単品の"-group"オプションを使うことは,TimeQuestに,"デザイン内のほかの全てのclockから,このgroupを切り離せ"と伝えます.
Example
project_open top create_timing_netlist create_clock -period 10.000 -name clkA [get_ports sysclk[0]] create_clock -period 10.000 -name clkB [get_ports sysclk[1]] # Set clkA and clkB to be mutually exclusive clocks. set_clock_groups -exclusive -group {clkA} -group {clkB} # The previous line is equivalent to the following two commands. set_false_path -from [get_clocks clkA] -to [get_clocks clkB] set_false_path -from [get_clocks clkB] -to [get_clocks clkA]