Skip to content

Commit

Permalink
servile_mux: Declare variable before use
Browse files Browse the repository at this point in the history
  • Loading branch information
olofk committed Nov 26, 2024
1 parent 1e4ea05 commit 007f428
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion servile/servile_mux.v
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,12 @@ module servile_mux
generate
if (sim) begin

integer f = 0;

assign sig_en = |f & i_wb_cpu_we & (i_wb_cpu_adr == sim_sig_adr);
assign halt_en = i_wb_cpu_we & (i_wb_cpu_adr == sim_halt_adr);

reg [1023:0] signature_file;
integer f = 0;

initial
/* verilator lint_off WIDTH */
Expand Down

0 comments on commit 007f428

Please sign in to comment.