Crossbar architecture for tera-scale integration