change configuration latch to be triggered at negative edge; Frame-based fabric passed Modelsim verification but failed in iVerilog

This commit is contained in:
tangxifan 2020-05-28 21:33:44 -06:00
parent 31c9a011dd
commit 583c15131b
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ module config_latch (
reg q_reg;
//-------------Code Starts Here---------
always @ ( posedge clk or posedge reset) begin
always @ ( negedge clk or posedge reset) begin
if (reset) begin
q_reg <= 1'b0;
end else if (1'b1 == wl) begin