From 34c152f5ded5409a3fedcc05a56b013eec6e9924 Mon Sep 17 00:00:00 2001 From: Jose Tejada Date: Fri, 19 Jan 2024 13:18:20 +0100 Subject: [PATCH] only blocking assignments --- hdl/jtopl_reg_ch.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hdl/jtopl_reg_ch.v b/hdl/jtopl_reg_ch.v index 09cd0df..5e8c49f 100644 --- a/hdl/jtopl_reg_ch.v +++ b/hdl/jtopl_reg_ch.v @@ -105,7 +105,7 @@ always @(posedge clk, posedge rst) begin reg_fnum [i] <= 0; end end else if(cen) begin - i <= 0; + i = 0; if( up_fnumlo ) reg_fnum[up_ch][7:0] <= din; if( up_fnumhi ) { reg_keyon[up_ch], reg_block[up_ch], reg_fnum[up_ch][9:8] } <= din[5:0]; if( up_fbcon ) { reg_fb[up_ch], reg_con[up_ch] } <= din[3:0];