wt_axi_adapter: Fix FF sensitivity list (#303)

Reset is missing in resettable flip-flop sensitivity list, this can lead to non-resettable FF with `rst_ni` on the data fanin of the FF.
This commit is contained in:
Stefan Mach 2019-08-19 15:02:31 +02:00 committed by Florian Zaruba
parent 97801afe83
commit aa33f9c984

View file

@ -504,7 +504,7 @@ module wt_axi_adapter #(
// assign dcache_rtrn_o.inv.vld = '0;
// assign dcache_rtrn_o.inv.all = '0;
always_ff @(posedge clk_i) begin : p_rd_buf
always_ff @(posedge clk_i or negedge rst_ni) begin : p_rd_buf
if (!rst_ni) begin
icache_first_q <= 1'b1;
dcache_first_q <= 1'b1;
@ -586,4 +586,4 @@ module wt_axi_adapter #(
`endif
//pragma translate_on
endmodule // wt_l15_adapter
endmodule // wt_l15_adapter