root 3 месяцев назад
Родитель
Сommit
635fd5408e
2 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      src/common/uart_rx_byte.v
  2. 2 2
      src/rtl/prod2u_p4_i2c_stop_start_read.v

+ 1 - 1
src/common/uart_rx_byte.v

@@ -21,7 +21,7 @@ module uart_rx_byte #(
     localparam [1:0] ST_DATA = 2'd2;
     localparam [1:0] ST_STOP = 2'd3;
 
-    (* keep = "true" *) reg [1:0] rx_sync_pipe;
+    reg [1:0] rx_sync_pipe;
     reg [1:0] state;
     reg [COUNTER_BITS-1:0] bit_counter;
     reg [2:0] bit_index;

+ 2 - 2
src/rtl/prod2u_p4_i2c_stop_start_read.v

@@ -53,8 +53,8 @@ module prod2u_p4_i2c_stop_start_read #(
     localparam [4:0] ST_ABORT_SCL_HIGH = 5'd16;
     localparam [4:0] ST_ABORT_RELEASE = 5'd17;
 
-    (* keep = "true" *) reg [1:0] scl_sync;
-    (* keep = "true" *) reg [1:0] sda_sync;
+    reg [1:0] scl_sync;
+    reg [1:0] sda_sync;
     (* keep = "true", syn_encoding = "sequential", fsm_encoding = "none" *)
     reg [4:0] state;
     reg [31:0] phase_count;