From 61765cc9339df6be1658963990fa83784f5d50d2 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 29 Aug 2023 11:24:56 +0200 Subject: [PATCH] More compact notation --- fpga/lo_read.v | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fpga/lo_read.v b/fpga/lo_read.v index c51857eb4..87279e8ec 100644 --- a/fpga/lo_read.v +++ b/fpga/lo_read.v @@ -54,10 +54,7 @@ begin if ((pck_cnt == 8'd7) && !pck_divclk) to_arm_shiftreg <= adc_d; else - begin - to_arm_shiftreg[7:1] <= to_arm_shiftreg[6:0]; - to_arm_shiftreg[0] <= 1'b0; - end + to_arm_shiftreg <= {to_arm_shiftreg[6:0], 1'b0}; end // ADC samples on falling edge of adc_clk, data available on the rising edge