Use more const in hardwaretopology