shaiko
Advanced Member level 5
- Joined
- Aug 20, 2011
- Messages
- 2,644
- Helped
- 303
- Reputation
- 608
- Reaction score
- 297
- Trophy points
- 1,363
- Activity points
- 18,302
create_clock -period 10 -waveform {0 5} -name [COLOR="#FF0000"]clk[/COLOR][[COLOR="#0000CD"]get_ports [/COLOR]clk]
So how do I actually tie the constrain to the actual HDL name in the design ?1.clk is not the HDL name. It is a name which the DC_Shell understands and it relates this name to that clock element.
create_clock -period 10 -waveform {0 5} -name clk[get_ports clk]get_ports is used to make certain that the tool understands clk as a port.
So the blue one is the actual HDL name?the get_ports searches for a net called clk in the top level of the design (because no heirarchy was written).
entity some_entity is
port
(
my_clock : in std_logic
) ;
end entity ;
So the blue one is the actual HDL name?
If my top entity looks like this:
Code:entity some_entity is port ( my_clock : in std_logic ) ; end entity ;
The SDC command can be:
create_clock -period 10 -waveform {0 5} -name any_name_i_like [get_ports my_clock]
?
How can I make it look inside a lower heirarchy?the get_ports searches for a net called clk in the top level of the design (because no heirarchy was written).
This line declares a clock at the top level.create_clock -period 10 [get_ports clk]
Is clkdiv is the new generated clock ?create_generated_clock -divide_by 2 -source [get_ports clk] -name clkdiv \ [get_registers clkdiv]
create_generated_clock -divide_by 2 -source {clk} -name clkdiv {clkdiv}
set_input_delay -clock [get_ports clk] 10 [get_ports {in_bus[*]}]
But what does "registers" stand for??get_<registers>
Isn't it an example of a PLL derived clock? What registers are there to refer to?# Create a clock and a divide-by-2 generated clock
create_clock -period 10 [get_ports clk]
create_generated_clock -divide_by 2 -source [get_ports clk] -name clkdiv [get_registers clkdiv]
Yes, I've seen this one - thanks.Altera has the SDC command:
derive_pll_clocks
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?