Multi-level analysis of on-chip optical wireless links