刚开始学习
FPGA 从图书馆找了本书,按照书上来的但是总是在
仿真时报错
Error (199014): Vector source file E:/Quartus/MyTest/light/Waveform.vwf specified with --testbench_vector_input_file option does not exist
非常简单的
电路图,后来试着换成VHDL,仿真时同样的问题。
仿真时的结果如图:
编译显示没有错误,但是会有标红的这个:
原理图:
vhdl代码:
LIBRARY ieee;
USE ieee.std_logic_1164.all;
ENTITY light2 IS
PORT (x1 , x2 : IN STD_LOGIC;
f :OUT STD_LOGIC);
END light2;
ARCHITECTURE LogicFunction OF light2 IS
BEGIN
f<=(x1 AND NOT x2) OR (x2 AND NOT x1);
END LogicFunction;
仿真报错
vhdl
原理图
编译情况
一周热门 更多>