[問題] VHDL的錯誤問題
剛剛再跑VHDL時
從範例抄下的題目
跑的時候出現一個錯誤
Error (10500): VHDL syntax error at test.vhd(7) near text "END"; expecting
an identifier ("end" is a reserved keyword), or "constant", or "file", or
"signal", or "variable"
原始程式碼是
LIBRARY ieee;
USE ieee.std_logic_1164.all;
--Simple module that connects the SW switches to the LEDR lights
ENTITY part1 IS
PORT (SW : IN STD_LOGIC_VECTOR(17 DOWNTO 0);
LEDR : OUT STD_LOGIC_VECTOR(17 DOWNTO 0);--red LEDs
END part1;
ARCHITECTURE Behavior OF part1 IS
BEGIN
LEDR <= SW;
END Behavior;
請各位大大
幫我檢查一下
到底是什麼問題
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.165.111.161
推
11/17 21:59, , 1F
11/17 21:59, 1F
→
03/05 15:47, , 2F
03/05 15:47, 2F
PLT 近期熱門文章
PTT數位生活區 即時熱門文章