共有两个代码文件detect_distance_3和process_4添加到quartus II 9.0 工程文件中,
这两个文件分别对应作业中3和4
按照软件使用流程,编译,仿真添加激励信号,出波形。
chaoshengbo是在quartus II 19.1工具上验证正确
下面是在quartusII 19.1下进行验证
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
-- Uncomment the following library declaration if using
-- arithmetic functions with Signed or Unsigned values
--use IEEE.NUMERIC_STD.ALL;
-- Uncomment the following library declaration if instantiating
-- any Xilinx leaf cells in this code.
--library UNISIM;
--use UNISIM.VCompon