Text this: Stimulus generation technique for code simulation of FPGA based gamma spectroscopy system