- UID
- 103427
- 性别
- 男
|
不知道这句程序是否正确:
entity full_adder is
port(sut std_logic;
Co: in std_logic
);
end full_adder;
architecture behave of full_adder is
begin
process(s)
vaiable ai:integer;
begin
si :=1;
case si is
when 0 => s=>'0';Co =>'0';
when 1 => s=>'0';Co =>'1';
when others=>s=>'x';Co=>'0';
end case;
end process
end behave;
在这个程序中when 1 => s=>'0';Co =>'1';的这个“=>“是什么作用?是赋值吗? |
|