New library core.gen have signal generation functions.