Quantitative analysis of multistage switching networks for embedded programmable devices