G
googler
Guest
Most of the verilog RTL codes that I have seen use reset signal as
active low. For example, consider the sequential 'always' block below.
always @(posedge CLK or negedge RSTn)
begin
if (~RSTn)
xyz <= 1'b0;
else
xyz <= next_xyz;
end
Although I do the same myself, I don't know if there is any specific
reason behind using reset as active low (as compared to active high)?
Is it just a matter of convention or is there any real advantage?
Thanks.
active low. For example, consider the sequential 'always' block below.
always @(posedge CLK or negedge RSTn)
begin
if (~RSTn)
xyz <= 1'b0;
else
xyz <= next_xyz;
end
Although I do the same myself, I don't know if there is any specific
reason behind using reset as active low (as compared to active high)?
Is it just a matter of convention or is there any real advantage?
Thanks.