change configuration latch to be triggered at negative edge; Frame-based fabric passed Modelsim verification but failed in iVerilog
This commit is contained in:
parent
31c9a011dd
commit
583c15131b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue