coshy
Member level 4
Hi,
I'm confusing that whether virtual clock declaration can use instead of real clock's create_clock.
Because I came across the SDC file what there is no definition of create_clock for real clock.
Basically, We use Clock Definition as the below.
###################################
#
# CLOCK DEFINITION
#
###################################
# A 333Mhz clock is a 3.0ns period:
#
create_clock -period 3.0 [get_ports clk]
But I found a different declaration of definition clock.
###################################
# #
# CLOCK DEFINITION #
# #
###################################
# A 333Mhz clock is a 3.0ns period:
#
create_clock -period 3.0 -name my_clk -waveform {0 1.2} [get_ports clk]
As you can see this is a definition of virtual clock it's not similar with definition from above it.
Here is definition of a virtual clock.
What is a virtual clock: By definition, a virtual clock is a clock without any source. Stating more clearly, a virtual clock is a clock that has been defined, but has not been associated with any pin/port. A virtual clock is used as a reference to constrain the interface pins by relating the arrivals at input/output ports with respect to it with the help of input and output delays.
Can I use a Virtual clock instead of using a create_clock? Or Should I have to use a Virtial Clock Only for non clock source system.?
I'm confusing that whether virtual clock declaration can use instead of real clock's create_clock.
Because I came across the SDC file what there is no definition of create_clock for real clock.
Basically, We use Clock Definition as the below.
###################################
#
# CLOCK DEFINITION
#
###################################
# A 333Mhz clock is a 3.0ns period:
#
create_clock -period 3.0 [get_ports clk]
But I found a different declaration of definition clock.
###################################
# #
# CLOCK DEFINITION #
# #
###################################
# A 333Mhz clock is a 3.0ns period:
#
create_clock -period 3.0 -name my_clk -waveform {0 1.2} [get_ports clk]
As you can see this is a definition of virtual clock it's not similar with definition from above it.
Here is definition of a virtual clock.
What is a virtual clock: By definition, a virtual clock is a clock without any source. Stating more clearly, a virtual clock is a clock that has been defined, but has not been associated with any pin/port. A virtual clock is used as a reference to constrain the interface pins by relating the arrivals at input/output ports with respect to it with the help of input and output delays.
Can I use a Virtual clock instead of using a create_clock? Or Should I have to use a Virtial Clock Only for non clock source system.?