Altera_Forum
Honored Contributor
13 years agoQuestions about clock group in timing constrain
I have a question about clock group. Assume in a design, there are two clocks: clk1 and clk2. They are outputs of a PLL.
There are no data paths between clk1 and clk2, that means no signals will be launch by clk1 and latched by clk2. Similarily, there are no signals launched by clk2 and latched by clk1. In my understanding, I can set the clock groups for these two clocks like (I am not sure whether it is right): set_clock_groups -name group0 -asynchronous -group [get_clocks clk1] set_clock_groups -name group0 -asynchronous -group [get_clocks clk2] My questions are following: 1. In this case I described, should I write the clock group constrain like above? Is the relation between these two clocks can be described with "asynchronous"? 2. Since there are no data path between these two clocks, why do I still need to write the clock group constrains for them? My understanding is since QuartusII always defauly assume all clocks in the design are related, without the clock group, Quartus will cost resource in optimizing the design for these two clocks, which is meaningless. After clock group constrains, these resource will not be wasted. Is my understanding right? Thanks in advance.