Forum Discussion
Altera_Forum
Honored Contributor
15 years agovhdl querry
Hello Friends, I am new to VHDL and I have a couple of querries. Kindly help me out if possible - 1) If-else loop in VHDL. Now, what I understand is that VHDL code is synthesised into har...
Altera_Forum
Honored Contributor
15 years agolibrary ieee;
use ieee.std_logic_1164.all; entity 3-bit parity generator/checker is port ( c : in std_logic; b : in std_logic; a : in std_logic; odd_out : out std_logic; ); end 3-bit parity generator/checker; architecture arc of 3-bit parity generator/checker is signal result : std_logic; begin process (a, b, c) begin result <= a xor b xor c; odd_out <= result; end process; end arc; I compile this VHDL but got errors and don't know what wrong with this