adding simple ramp function to bakeout stm312