Mitigating Radiation Effects on ICs at Device and Architectural Levels: the SpaceWire Router Case Study