diff --git a/library/axi_dmac/axi_register_slice.v b/library/axi_dmac/axi_register_slice.v index 9543ceef5..d685b8db6 100644 --- a/library/axi_dmac/axi_register_slice.v +++ b/library/axi_dmac/axi_register_slice.v @@ -71,8 +71,8 @@ wire fwd_ready_s; generate if (FORWARD_REGISTERED == 1) begin -reg fwd_valid; -reg [DATA_WIDTH-1:0] fwd_data; +reg fwd_valid = 1'b0; +reg [DATA_WIDTH-1:0] fwd_data = 'h00; assign fwd_ready_s = ~fwd_valid | m_axi_ready; assign fwd_valid_s = fwd_valid; @@ -103,8 +103,8 @@ endgenerate generate if (BACKWARD_REGISTERED == 1) begin -reg bwd_ready; -reg [DATA_WIDTH-1:0] bwd_data; +reg bwd_ready = 1'b1; +reg [DATA_WIDTH-1:0] bwd_data = 'h00; assign bwd_valid_s = ~bwd_ready | s_axi_valid; assign bwd_data_s = bwd_ready ? s_axi_data : bwd_data;