1 Create - Clock
1 Create - Clock
Figure 7-2 shows the basic definitions. By defining the clocks, all the inter-
nal timing paths (all flip-flop to flip-flop paths) are constrained; this im-
plies that all internal paths can be analyzed with just the clock
specifications. The clock specification specifies that a flip-flop to flip-flop
path must take one cycle. We shall later describe how this requirement (of
one cycle timing) can be relaxed.
High
duration
Low duration
SYSCLK
0 5 20 25
Period
181
C HAPTER 7 Configuring the STA Environment
create_clock \
-name SYSCLK \
-period 20 \
-waveform {0 5} \
[get_ports2 SCLK]
The name of the clock is SYSCLK and is defined at the port SCLK. The peri-
od of SYSCLK is specified as 20 units - the default time unit is nanoseconds
if none has been specified. (In general, the time unit is specified as part of
the technology library.) The first argument in the waveform specifies the
time at which rising edge occurs and the second argument specifies the
time at which the falling edge occurs.
1. The specification and constraint are used as synonyms to each other. These are all part
of the SDC specifications.
2. See appendix on SDC regarding scenarios when object access commands, such as
get_ports and get_clocks, should be used.
182
Specifying Clocks SECTION 7.2
SCAN_CLK
0 2.5 5.0 7.5
BDYCLK
0 5 12 15 20 27
One period
The name of the clock is BDYCLK and it is defined at the port GBLCLK. In
practice, it is a good idea to keep the clock name the same as the port name.
183
C HAPTER 7 Configuring the STA Environment
FCLK
0 5 10 15
Period
(a)
ARMCLK
0 25 100 125 150
Period
(b)
184
Specifying Clocks SECTION 7.2
MAIN_CLK
Period
(a)
JTAG_CLK
Period
(b)
185