ibex_counter: Use always_ff

Fix a lint error reported by AscentLint:

```
E   ALWAYS_SPEC:   ibex_counter.sv:59   Edge triggered block may be more accurately modeled as always_ff                 New
```
This commit is contained in:
Philipp Wagner 2020-07-09 11:26:33 +01:00 committed by Philipp Wagner
parent 3d29e5174c
commit d0923fa5d1

View file

@ -56,7 +56,7 @@ module ibex_counter #(
`endif
// Counter flop
always @(`COUNTER_FLOP_RST) begin
always_ff @(`COUNTER_FLOP_RST) begin
if (!rst_ni) begin
counter_q <= '0;
end else begin