3.6.2.2.1 CLOCK_PERIOD
(Ask a Question)This is a widely used constraint that allows the user to set the target clock period for a design. The clock period is specified in nanoseconds.
It has a significant impact on scheduling: the scheduler will schedule operators into clock cycles using delay estimates for each operator, such that the specified clock period is honored. In other words, operators will be chained together combinationally to the extent allowed by the value of the CLOCK_PERIOD parameter.
SmartHLS™ has a default CLOCK_PERIOD value for each device family that is supported (see table in SmartHLS Constraints).
- Category
- HLS Constraints
- Value Type
- Integer represent a value in nanoseconds
- Valid Values
- Integer
- Default Value
- Depends on the target device
- Dependencies
- None
- Applicable Flows
- All devices and flows
- Test Status
- Actively in-use
- Examples
set_parameter CLOCK_PERIOD 15