Browse Source

Use odd_parity() of UtilsP package instead of local one

T. Meissner 3 months ago
parent
commit
0dba78bc86
2 changed files with 0 additions and 10 deletions
  1. 0
    5
      syn/UartRx.vhd
  2. 0
    5
      syn/UartTx.vhd

+ 0
- 5
syn/UartRx.vhd View File

@@ -49,11 +49,6 @@ end entity UartRx;
49 49
 architecture rtl of UartRx is
50 50
 
51 51
 
52
-  function odd_parity (data : in std_logic_vector(DATA_LENGTH-1 downto 0)) return std_logic is
53
-  begin
54
-    return not xor_reduce(data);
55
-  end function odd_parity;
56
-
57 52
   function to_integer (data : in boolean) return integer is
58 53
   begin
59 54
     if data then

+ 0
- 5
syn/UartTx.vhd View File

@@ -48,11 +48,6 @@ end entity UartTx;
48 48
 architecture rtl of UartTx is
49 49
 
50 50
 
51
-  function odd_parity (data : in std_logic_vector(DATA_LENGTH-1 downto 0)) return std_logic is
52
-  begin
53
-    return not xor_reduce(data);
54
-  end function odd_parity;
55
-
56 51
   function to_integer (data : in boolean) return integer is
57 52
   begin
58 53
     if data then