Discrete event simulation model of programmable switch pipeline designed for prototyping various scheduling algorithms.