Creates a virtual clock for the current solution.
The command can be executed only in the context of an active solution. The clock period is a constraint that drives optimization (chaining as many operations as feasible in the given clock period).
C and C++ designs support only a single clock.
create_clock -period <number> [OPTIONS]
- Specifies the clock name. If no name is given, a default name is used.
- Specifies the clock period in ns or MHz.
- If no units are specified, ns is assumed.
- If no period is specified, a default period of 10 ns is used.
create_clock -period 50
create_clock -period 100MHz