aboutsummaryrefslogtreecommitdiff
path: root/adder-and-display/adder-and-display.srcs/sources_1/bcddec.vhd
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-11-25 13:56:15 +0100
committerlonkaars <loek@pipeframe.xyz>2022-11-25 13:56:15 +0100
commit865aa55aa70377d255618b5d43556510c877be22 (patch)
tree5d51890ba4dcf092327b47e153ebc7683fe1f8e9 /adder-and-display/adder-and-display.srcs/sources_1/bcddec.vhd
parentfe981a9590ffcedf07cf36da23ae46e57362a45d (diff)
move all vhd files to src folder
Diffstat (limited to 'adder-and-display/adder-and-display.srcs/sources_1/bcddec.vhd')
l---------[-rw-r--r--]adder-and-display/adder-and-display.srcs/sources_1/bcddec.vhd23
1 files changed, 1 insertions, 22 deletions
diff --git a/adder-and-display/adder-and-display.srcs/sources_1/bcddec.vhd b/adder-and-display/adder-and-display.srcs/sources_1/bcddec.vhd
index cee9a97..f6d3258 100644..120000
--- a/adder-and-display/adder-and-display.srcs/sources_1/bcddec.vhd
+++ b/adder-and-display/adder-and-display.srcs/sources_1/bcddec.vhd
@@ -1,22 +1 @@
-library IEEE;
-use IEEE.STD_LOGIC_1164.ALL;
-
-entity bcddec is port(
- A: in std_logic_vector(3 downto 0);
- X: out std_logic_vector(7 downto 0));
-end bcddec;
-
-architecture Behavioral of bcddec is
-begin
- X <= "00111111" when A = "0000" else
- "00000110" when A = "0001" else
- "01011011" when A = "0010" else
- "01001111" when A = "0011" else
- "01100110" when A = "0100" else
- "01101101" when A = "0101" else
- "01111101" when A = "0110" else
- "00100111" when A = "0111" else
- "01111111" when A = "1000" else
- "01101111" when A = "1001";
-end Behavioral;
-
+../../../src/bcddec.vhd \ No newline at end of file