Abstract:In the actual application of the digital spectrometer, the pulse signal output by the detector can be approximately regarded as a double exponential pulse. Due to the charge collection time of the detector, the collected pulse amplitude has ballistic loss, which is not conducive to the subsequent accurate amplitude extraction and affects the energy resolution of detection system. In this paper, the trapezoidal forming of ideal double exponential pulse signal is simulated in MATLAB, and the model is built on Simulink platform, and the feasibility is tested by ideal double exponential pulse sequence. Use HDLCoder to convert Simulink logic model into VerilogHDL code and test it on ModelSim. Build the hardware platform test code and apply the hardware platform to the processing of the measured data, send single-peak and multi-peak pulse tests through the serial port, and use the embedded logic analyzer to capture the forming data and output the formed data observation through the serial port. The trapezoidal algorithm of exponential pulse signal has been well implemented in FPGA, and the recovery error is within 0. 2%. The implemented hardware platform has a good shaping effect on pulses with ballistic losses and a certain noise filtering ability, which can be used as a reference for the design and development of digital multichannel pulse amplitude analyzers.