Introduction - If you have any usage issues, please Google them yourself
4 decimal frequency meter:According to the testmode value of the four cases were divided, that is set up the mode module to produce four cases through 1Hz frequency and flag_1s state machine module to generate a 1s high signal, and then freq_count test signal to count