PoC.io.uart.rx

UART Receiver: 1 Start + 8 Data + 1 Stop

Entity Declaration:

 1-- limitations under the License.
 2-- =============================================================================
 3
 4library IEEE;
 5use     IEEE.std_logic_1164.all;
 6use     IEEE.numeric_std.all;
 7
 8use     work.uart.all;
 9
10entity uart_RX is
11  generic (
12    SYNC_DEPTH              : natural                      := 2;  -- use zero for already clock-synchronous rx
13    PARITY                  : T_UART_PARITY_MODE           := PARITY_NONE;  --PARITY_EVEN, PARITY_ODD, PARITY_NONE
14    PARITY_ERROR_HANDLING   : T_UART_PARITY_ERROR_HANDLING := PASSTHROUGH_ERROR_BYTE; --PASSTHROUGH_ERROR_BYTE,REPLACE_ERROR_BYTE
15    PARITY_ERROR_IDENTIFIER : std_logic_vector(7 downto 0) := x"15" -- ^NAK
16    -- FIXME: oversampling rate
17  );
18  port (