FIRECAP: Fail-Reason Capturing hardware module for a RISC-V based System on a Chip | IEEE Conference Publication | IEEE Xplore