-- +-----------------------------+ -- | Library: arithmetic | -- | designer : Tim Pagden | -- | opened: 17 Aug 1995 | -- +-----------------------------+ -- Architectures: -- 17.08.95 original library cell_library; architecture original of cla_3 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_c2: process (p(2 downto 0), g(2 downto 0), c_in) begin c(2) <= (p(2) and p(1) and p(0) and c_in) or (p(2) and p(1) and g(0)) or (p(2) and g(1)) or g(2); end process; p_propogate: process (p) begin p_out <= p(0) and p(1) and p(2); end process; p_generate: process (p(2 downto 1), g) begin g_out <= (p(2) and p(1) and g(0)) or (p(2) and g(1)) or g(2); end process; end original; <div align="center"><br /><script type="text/javascript"><!-- google_ad_client = "pub-7293844627074885"; //468x60, Created at 07. 11. 25 google_ad_slot = "8619794253"; google_ad_width = 468; google_ad_height = 60; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><br /> </div>