小编Meh*_*lek的帖子

"其他=>'0'"在赋值语句中意味着什么?

cmd_register: process (rst_n, clk)
begin
   if (rst_n='0') then
    cmd_r<= (others=>'0');
   elsif (clk'event and clk='1') then
    cmd_r<=...;
   end if;
end process cmd_register;
Run Code Online (Sandbox Code Playgroud)

我知道"<="指定分配但是什么others?那怎么=>办?

if-statement process fpga vhdl

3
推荐指数
4
解决办法
4万
查看次数

标签 统计

fpga ×1

if-statement ×1

process ×1

vhdl ×1