Introduction - If you have any usage issues, please Google them yourself
In the FPGA, the counter can be used to count the changes in the signal, the function block is often used.
Here design is a two-bit wide, and can count from 00 to 11, counting principle is under the control of the clock signal, each clock cycle count once. Counters are sequential logic circuits.