mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-24 06:07:19 -04:00
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:
parent
97801afe83
commit
aa33f9c984
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue