URL
https://opencores.org/ocsvn/simple_fm_receiver/simple_fm_receiver/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 14 |
Rev 22 |
Line 1... |
Line 1... |
-- $Id: adder_14bit.vhdl,v 1.3 2005-03-04 08:06:15 arif_endro Exp $
|
-- $Id: adder_14bit.vhdl,v 1.4 2008-06-26 06:12:29 arif_endro Exp $
|
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
-- Title : Adder 14 bit
|
-- Title : Adder 14 bit
|
-- Project : FM Receiver
|
-- Project : FM Receiver
|
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
-- File : adder_14bit.vhdl
|
-- File : adder_14bit.vhdl
|
Line 77... |
Line 77... |
signal c11 : bit;
|
signal c11 : bit;
|
signal c12 : bit;
|
signal c12 : bit;
|
signal c13 : bit;
|
signal c13 : bit;
|
signal c14 : bit;
|
signal c14 : bit;
|
signal over14 : bit;
|
signal over14 : bit;
|
signal adder14_output_int : bit_vector (14 downto 0);
|
signal adder14_output_int : bit_vector (13 downto 0);
|
|
signal ov : bit;
|
|
|
begin
|
begin
|
|
|
c00 <= '0';
|
c00 <= '0';
|
over14 <= (addend_14bit (13) xor augend_14bit (13));
|
over14 <= (addend_14bit (13) xor augend_14bit (13));
|
adder14_output_int (14) <= ((adder14_output_int (13) and over14) or
|
ov <= ((adder14_output_int (13) and over14) or
|
(c14 and (not (over14))));
|
(c14 and (not (over14))));
|
adder14_output <= adder14_output_int;
|
adder14_output(13 downto 00) <= adder14_output_int;
|
|
adder14_output(14) <= ov;
|
|
|
fa13 : fulladder
|
fa13 : fulladder
|
port map (
|
port map (
|
addend => addend_14bit(13),
|
addend => addend_14bit(13),
|
augend => augend_14bit(13),
|
augend => augend_14bit(13),
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.