采用等精度测频原理的频率计程序及仿真.docVIP

  • 23
  • 0
  • 约3.29千字
  • 约 8页
  • 2018-08-04 发布于湖北
  • 举报

采用等精度测频原理的频率计程序及仿真.doc

8.17 采用等精度--文件名:PLJ.vhd。 --功能:4位显示的等精度频率计。 --最后修改日期:2004.4.14。 library ieee; use ieee.std_logic_1164.all; use ieee.std_logic_unsigned.all; use ieee.std_logic_arith.all; entity PLJ is port(clk:in std_logic; --基准时钟(10KHz) tclk:in std_logic; --被测信号 start:in std_logic; --复位信号 alarm0,alarm1:out std_logic; --超量程,欠量程显示 dian:out std_logic_vector(3 downto 0); --小数点 data1:out integer range 0 to 9999); --频率数据 end PLJ; architecture behav of PLJ is signal q:integer range 0 to 9999;

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档