library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity bijiaoqi is
port(a,b:instd_logic_vector(2 downto 0);
sel_f:instd_logic_vector(1 downto 0);
q:outBoolean);
end;
architecture one of bijiaoqi is
begin
process(sel_f,a,b)
begin
case sel_f is
when”00” => q <= a=b;
when”01” => q <= awhen”10” => q <= a>b;
when others => q <=false;
end case;
end process;
end one;
Error (10170): Verilog HDL syntax error at bijiaoqi.v(1) near text ";"; expecting ".&
答案:1 悬赏:80 手机版
解决时间 2021-03-20 02:55
- 提问者网友:兔牙战士
- 2021-03-19 07:56
最佳答案
- 五星知识达人网友:梦中风几里
- 2021-03-19 08:19
你具体要实现什么功能,感觉你有些地方语法就不对。
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯