Verilog 当信号是4位导线时,4{signal}是什么意思?
在这种陈述中,Verilog 当信号是4位导线时,4{signal}是什么意思?,verilog,Verilog,在这种陈述中,{4{update}}的含义是什么: wire [3:0] update; assign signal = {4{update}} & anothersignal; 参考免费的IEEE标准1800-2012,第11.4.12.1节复制操作员 {4{update}}与将4位信号串联4次相同: {update[3:0], update[3:0], update[3:0], update[3:0]} 结果是16位信号
{4{update}}
的含义是什么:
wire [3:0] update;
assign signal = {4{update}} & anothersignal;
参考免费的IEEE标准1800-2012,第11.4.12.1节复制操作员
{4{update}}
与将4位信号串联4次相同:
{update[3:0], update[3:0], update[3:0], update[3:0]}
结果是16位信号