[simple-system] always_comb should be always

Previous lint fix was incorrect. The 'always_comb' block here should be
an 'always'. It is not combinational logic but rather an infinite loop
to generate a clock when running in a simulator that isn't verilator
(e.g.  under simple-system under VCS) so the use of 'always' is
appropriate.

Signed-off-by: Greg Chadwick <gac@lowrisc.org>
This commit is contained in:
Greg Chadwick 2020-11-02 12:14:04 +00:00
parent 8b2e191780
commit 163cd8142a

View file

@ -119,7 +119,7 @@ module ibex_simple_system (
#8
rst_sys_n = 1'b1;
end
always_comb begin
always begin
#1 clk_sys = 1'b0;
#1 clk_sys = 1'b1;
end