PoC.arith.CarryChain_inc

This is a generic carry-chain abstraction for increment by one operations.

Y <= X + (0…0) & Cin

Entity Declaration:

 1  );
 2  port (
 3    A       : in  std_logic_vector(BITS - 1 downto 0);
 4    CarryIn : in  std_logic                              := '1';
 5    Sum     : out std_logic_vector(BITS - 1 downto 0)
 6  );
 7end entity;
 8
 9
10architecture rtl of arith_CarryChain_inc is