Error (10500):VHDL syntax error at cqg.vhd(31) near text ":=
来源:学生作业帮 编辑:搜狗做题网作业帮 分类:综合作业 时间:2024/08/05 20:58:17
Error (10500):VHDL syntax error at cqg.vhd(31) near text ":="; expecting "then"
Error (10500):VHDL syntax error at cqg.vhd(31) near text ":="; expecting "then"
Error (10500):VHDL syntax error at cqg.vhd(33) near text "elsif"; expecting "end",or "(",or an identifier ("elsif" is a reserved keyword),or a sequential statement
Error (10500):VHDL syntax error at cqg.vhd(35) near text "if"; expecting "case"
library ieee;
use ieee.std_logic_1164.all;
entity cqg is
port(clk,reset:in std_logic;
x:in std_logic_vector(1 downto 0);
sum_int:out std_logic_vector(3 downto 0);
sum_dec:out std_logic_vector(3 downto 0));
end cqg;
architecture behave of cqg is
type states is(s0,s1,s2);
signal current_state,next_state:states;
variable i1:std_logic_vector(3 downto 0);
variable d1:std_logic_vector(3 downto 0);
begin
reg:process(reset,clk)
begin
if clk'event and clk='1' then
if reset='1' then current_state
Error (10500):VHDL syntax error at cqg.vhd(31) near text ":="; expecting "then"
Error (10500):VHDL syntax error at cqg.vhd(33) near text "elsif"; expecting "end",or "(",or an identifier ("elsif" is a reserved keyword),or a sequential statement
Error (10500):VHDL syntax error at cqg.vhd(35) near text "if"; expecting "case"
library ieee;
use ieee.std_logic_1164.all;
entity cqg is
port(clk,reset:in std_logic;
x:in std_logic_vector(1 downto 0);
sum_int:out std_logic_vector(3 downto 0);
sum_dec:out std_logic_vector(3 downto 0));
end cqg;
architecture behave of cqg is
type states is(s0,s1,s2);
signal current_state,next_state:states;
variable i1:std_logic_vector(3 downto 0);
variable d1:std_logic_vector(3 downto 0);
begin
reg:process(reset,clk)
begin
if clk'event and clk='1' then
if reset='1' then current_state
Error (10500):VHDL syntax error at cqg.vhd(31) near text ":=
Error (10500):VHDL syntax error at bijiao.vhd(26) near text
Error (10500): VHDL syntax error at cj200.vhd(17) near text
Error (10500):VHDL syntax error at biaojue.vhd(16) near text
quartusII 运行报错(1)Error (10500):VHDL syntax error at vga.vhd(
Error (10482): VHDL error at MUX4_1.vhd(18): object "STD_LOG
VHDL程序错误 Error (10482):VHDL error at washtop.vhd(33):object
Error (10327):VHDL error at Vhdl1.vhd(16):can't determine de
Error (10327):VHDL error at xd.vhd(17):can't determine defin
Error (10334):VHDL error at frame.vhd(6):entity "frame" is u
vhdl VHDL error at dt.vhd(25):can't determine definition of
syntax error at line