def ScenarioSetClk(Sig, Period_ns):
    """
	Return a string of clock generator command for TBGen.
	"""
    return '\nGPIO SET_CLK {Name} {HalfPeriod_ps} {HalfPeriod_ps} 0'.format(
        Name=Sig.Name, HalfPeriod_ps=int(Period_ns / 2 * 1000))
