早教吧作业答案频道 -->其他-->
quartusII运行报错(1)Error(10500):VHDLsyntaxerroratvga.vhd(2)neartext"use";expecting"程序如下LIBRARYIEEEuseIEEE.stdlogic1164.all;useIEEE.STDLOGICUNSIGINED.ALL;entityvga640480is\x05port(\x05clk\x05:inSTDLOGIC;\x05\x05
题目详情
quartusII 运行报错(1)Error (10500):VHDL syntax error at vga.vhd(2) near text "use"; expecting "
程序如下
LIBRARY IEEE
use IEEE.std_logic_1164.all;
use IEEE.STD_LOGIC_UNSIGINED.ALL;
entity vga640480 is
\x05port (\x05clk\x05:in STD_LOGIC;
\x05\x05hs,\x05vs,\x05r,g,b \x05:out STD_LOGIC;
\x05\x05rgbin :in std_logic_vector(2 downto 0);
\x05\x05hcntout,vcntout\x05:out std_logic_vector(9 downto 0)\x05);
end vga640480;
architecture ONE of vga640480 is
signal hcnt,vcnt\x05:std_logic_vector(9 downto 0);
begin
hcntout
程序如下
LIBRARY IEEE
use IEEE.std_logic_1164.all;
use IEEE.STD_LOGIC_UNSIGINED.ALL;
entity vga640480 is
\x05port (\x05clk\x05:in STD_LOGIC;
\x05\x05hs,\x05vs,\x05r,g,b \x05:out STD_LOGIC;
\x05\x05rgbin :in std_logic_vector(2 downto 0);
\x05\x05hcntout,vcntout\x05:out std_logic_vector(9 downto 0)\x05);
end vga640480;
architecture ONE of vga640480 is
signal hcnt,vcnt\x05:std_logic_vector(9 downto 0);
begin
hcntout
▼优质解答
答案和解析
LIBRARY IEEE后面要加“;”,STD_LOGIC_UNSIGINED要小写,就OK了.希望对你有所帮助.
看了 quartusII运行报错(...的网友还看了以下:
I can"t use chopsticks. I"s d_____根据句意或首字母提示完成句子. 2020-05-13 …
matlab 求解二元非线性方程组本人初次接触MATLAB,望大虾赐教!r=r0*((tsa-t) 2020-05-16 …
I ______ live alone.A、didn't use B、usedn't to C、d 2020-05-16 …
1 You_____to go ,but why aren"t you getting ready 2020-05-16 …
根据英文解释及首字母提示拼写单词1、f开头 kind:helpful:acting as a fr 2020-05-16 …
否定句后能用 so it is回答吗--We really shouldn't use plast 2020-05-16 …
Use、the、fork.改为否定句.Would、you、like、some、vegetables 2020-05-17 …
这道题选A,B项为什么不对?---sorry,I forgot to bring your dic 2020-05-17 …
初三英语:短文填空If you don't use your arms or your legs 2020-05-17 …
a=2x/t^2和a=x/t^2a的定义是a=△v/△t△v=v-v0认为v0=0△v=v△t=t 2020-07-11 …