From fd81a821b0cdb5213361665d64fc259130682810 Mon Sep 17 00:00:00 2001 From: Villyam Date: Thu, 28 Mar 2024 15:44:46 +0200 Subject: [PATCH] library/axi_pwm_gen: Replaced blocking assignments in reset. Lattice tools give error for using blocking assignments at one side and non blocking in the other. Signed-off-by: Villyam --- library/axi_pwm_gen/axi_pwm_gen_regmap.sv | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/axi_pwm_gen/axi_pwm_gen_regmap.sv b/library/axi_pwm_gen/axi_pwm_gen_regmap.sv index 91a70304c..901e29ff3 100644 --- a/library/axi_pwm_gen/axi_pwm_gen_regmap.sv +++ b/library/axi_pwm_gen/axi_pwm_gen_regmap.sv @@ -88,9 +88,9 @@ module axi_pwm_gen_regmap #( if (up_rstn == 0) begin up_wack <= 'd0; up_scratch <= 'd0; - up_pwm_width = PULSE_WIDTH_G[0:N_PWMS]; - up_pwm_period = PULSE_PERIOD_G[0:N_PWMS]; - up_pwm_offset = PULSE_OFFSET_G[0:N_PWMS]; + up_pwm_width <= PULSE_WIDTH_G[0:N_PWMS]; + up_pwm_period <= PULSE_PERIOD_G[0:N_PWMS]; + up_pwm_offset <= PULSE_OFFSET_G[0:N_PWMS]; up_load_config <= 1'b0; up_reset <= 1'b1; end else begin