finished test code crossbar_switch_inner