parameterize clock frequency