TID evaluation system with on-chip electron source and programmable sensing mechanisms on FPGA