larm0<='1';--超量程显示elsedata1<=data0;endif;elsifq1>=100thenqq<=q1*100000;ifqqq<qqthenqqq<=qqq+q2;data0<=data0+1;elsifdata0>=10000thendata1<=1000;dian<="0000";elsedata1<=data0;dian<="0010";endif;elsifq1>=10thenqq<=q1*1000000;ifqqq<qqthenqqq<=qqq+q2;data0<=data0+1;elsifdata0>=10000thendata1<=1000;dian<="0010";elsedata1<=data0;dian<="0100";endif;elsifq1>=1thenqq<=q1*10000000;ifqqq<qqthenqqq<=qqq+q2;data0<=data0+1;elsifdata0>=10000thendata1<=1000;dian<="0100";elsedata1<=data0;dian<="1000";endif;endif;elsifq2>19999thenalarm1<='1';--欠量程显示elsealarm1<='0';endif;endif;endprocess;endbehav;附录等精度频率计仿真图—欠量程等精度频率计仿真图—超量程等精度频率计仿真图—5tclk=clk等精度频率计仿真图—9tclk=clk等精度频率计仿真图—50tclk=clk等精度频率计仿真图—80tclk=clk等精度频率计仿真图—300tclk=clk等精度频率计仿真图—1000tclk=clk等精度频率计仿真图—5000tclk=clk等精度频率计仿真图—6000tclk=clk等精度频率计仿真图—10000tclk=clk