If the synthesis library is having active low synchronous reset FF and you keep same reset in your design, your design will work at optimum speed.

nonetheless if your strict requirement is to use active high reset, the synthesizer will put up extra NOT gate. that’s all.

It may or may not affect the design speed.

so, Generally designers keep reset (sync/async/active low/active high ) based on the requirement.

always@(posedge clk) 
if(!rst) 
  a <= 1'b0;
else  
  a <= b;

So, the code is for synchronous active low flip-flop.

Now this library is having implici active high reset.

As in fig as I have used active low reset, then the synthesizer has put one NOT gate. (1-LUT).





Discover more from Verilog Master

Subscribe to get the latest posts to your email.

Leave a comment

Blog at WordPress.com.