【发布时间】:2016-09-20 20:15:38
【问题描述】:
我最近开始使用 FPGA,并一直在尝试启动和运行基本的 VHDL 程序。我的代码旨在从 10 个开关中获取输入并将它们映射到我的开发板上的 10 个 LED 输出,但是当我尝试运行分析/综合时,我得到了标题中的错误。通过运行“分析当前文件”单独分析文件不会产生错误。 here 发布了类似的帖子,但那里的解决方案对我没有帮助。我的项目中只有一个文件,并且我确定它已被指定为顶级实体。
library IEEE; use IEEE.STD_LOGIC_1164.all;
entity sw_to_led is port(
SW: in bit_vector(9 downto 0);
LED: out bit_vector(9 downto 0));
end sw_to_led;
architecture behavior of sw_to_led is
begin
LED <= SW after 5ns;
end behavior;
【问题讨论】:
标签: vhdl intel-fpga quartus