PoC.arith.carrychain_inc

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

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

Entity Declaration:

1  generic (
2    BITS      : positive
3  );
4  port (
5    X   : in  std_logic_vector(BITS - 1 downto 0);
6    CIn : in  std_logic                             := '1';
7    Y   : out std_logic_vector(BITS - 1 downto 0)
8  );
9end entity;