[Architecture] Patch configurable latch Verilog HDL with resetb

This commit is contained in:
tangxifan 2020-09-23 18:30:48 -06:00
parent 1864b080a2
commit 129caea38c
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ module config_latch (
reg q_reg; reg q_reg;
//-------------Code Starts Here--------- //-------------Code Starts Here---------
always @ ( posedge resetb) begin always @ (resetb or wl or bl) begin
if (~resetb) begin if (~resetb) begin
q_reg <= 1'b0; q_reg <= 1'b0;
end else if (1'b1 == wl) begin end else if (1'b1 == wl) begin