diff options
Diffstat (limited to 'works/life/computer-organization-experiment/adder_1.vhdl')
-rw-r--r-- | works/life/computer-organization-experiment/adder_1.vhdl | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/works/life/computer-organization-experiment/adder_1.vhdl b/works/life/computer-organization-experiment/adder_1.vhdl deleted file mode 100644 index 625aae4..0000000 --- a/works/life/computer-organization-experiment/adder_1.vhdl +++ /dev/null @@ -1,13 +0,0 @@ -LIBRARY IEEE; -USE IEEE.STD_LOGIC_1164.ALL; -USE IEEE.STD_LOGIC_UNSIGNED.ALL; - -entity adder_1 is - port (A, B, CIN:in std_logic; S, COUT: out std_logic); -end adder_1; - -architecture behavior of adder_1 is -begin - S <= (A XOR B) XOR CIN; - COUT <= (A AND B) OR (B AND CIN) OR (CIN AND A); -end behavior; |