From 4e8327efd20081e17144eec856b26b024ea1ff0e Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Tue, 18 Jul 2017 19:07:48 +0200 Subject: [PATCH] jesd204: jesd204_up_ilas_mem: Fix blocking assignment In this particular case the behaviour is the same with non-blocking and blocking assignments, but that could change if the code is modified in the future. To avoid any potentially issue due to this consistently use non-blocking assignments. Signed-off-by: Lars-Peter Clausen --- library/jesd204/axi_jesd204_rx/jesd204_up_ilas_mem.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/jesd204/axi_jesd204_rx/jesd204_up_ilas_mem.v b/library/jesd204/axi_jesd204_rx/jesd204_up_ilas_mem.v index cb1f5a9f9..a48f2ff12 100644 --- a/library/jesd204/axi_jesd204_rx/jesd204_up_ilas_mem.v +++ b/library/jesd204/axi_jesd204_rx/jesd204_up_ilas_mem.v @@ -83,7 +83,7 @@ endgenerate always @(posedge core_clk) begin if (core_reset == 1'b1) begin - core_ilas_captured = 1'b0; + core_ilas_captured <= 1'b0; end else begin if (core_ilas_config_valid == 1'b1 && core_ilas_config_addr == 'h3) begin core_ilas_captured <= 1'b1;