低电平有效复位
always @(posedge clk or negedge rst_n_i)
if(!rst_n_i)
out <= 'd0;
else
out <= out + 1'b1;
高电平有效复位
always @(posedge clk or posedge rst_i)
if(rst_i)
out <= 'd0;
else
out <= out + 1'b1;
在 FPGA 中,这取决于设备的 FLOP 类型。但在 ASIC 中,哪种类型的复位更好?通过使用一个比另一个,我们有任何权力或区域优势吗?