EDA十进制频率计数器 VHDL语言写的十进制频率计数器==============================libraryieee;useieee.std_logic_1164.all;useieee.std_logic_unsigned.all;entitycnt10isport(rst,clk,ena:inst