-- +-----------------------------+ -- | Library: arithmetic | -- | designer : Tim Pagden | -- | opened: 16 Aug 1995 | -- +-----------------------------+ -- Architectures: -- 16.08.95 original library cell_library; architecture original of cla_2 is begin p_c0: process (p(0), g(0), c_in) begin c(0) <= (p(0) and c_in) or g(0); end process; p_c1: process (p(1 downto 0), g(1 downto 0), c_in) begin c(1) <= (p(1) and p(0) and c_in) or (p(1) and g(0)) or g(1); end process; p_propogate: process (p) begin p_out <= p(0) and p(1); end process; p_generate: process (p(1), g) begin g_out <= (p(1) and g(0)) or g(1); end process; end original;