diff options
author | fossee | 2019-09-03 11:07:32 +0530 |
---|---|---|
committer | fossee | 2019-09-03 11:07:32 +0530 |
commit | f8d3dbc8c0f1c59a0546998cb9365e5c291dca07 (patch) | |
tree | 28f0d2fe7f00f1ee854e411b82689eae861a9c52 /Example/2-bit-inverter | |
parent | 491e95ad13764229c3e27dfb625c5dbef9ddec59 (diff) | |
download | nghdl-f8d3dbc8c0f1c59a0546998cb9365e5c291dca07.tar.gz nghdl-f8d3dbc8c0f1c59a0546998cb9365e5c291dca07.tar.bz2 nghdl-f8d3dbc8c0f1c59a0546998cb9365e5c291dca07.zip |
added examples and modified server
Diffstat (limited to 'Example/2-bit-inverter')
-rw-r--r-- | Example/2-bit-inverter/inverter.vhdl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Example/2-bit-inverter/inverter.vhdl b/Example/2-bit-inverter/inverter.vhdl index 9d65b8d..7eb3c67 100644 --- a/Example/2-bit-inverter/inverter.vhdl +++ b/Example/2-bit-inverter/inverter.vhdl @@ -2,13 +2,13 @@ library ieee; use ieee.std_logic_1164.all; entity inverter is - port ( i: in std_logic_vector(1 downto 0); - o: out std_logic_vector(1 downto 0)); + port ( i: in std_logic_vector(0 downto 0); + o: out std_logic_vector(0 downto 0)); end inverter; architecture inverter_beh of inverter is begin o <= not i; -end architecture; +end inverter_beh; |