Cross-layer system reliability assessment framework for hardware faults