Design of hardware processors for use in high-energy physics