Forum Discussion
Altera_Forum
Honored Contributor
15 years agoVHDL Code Of 2 input XOR -gate
Hi, I am new to VHDL programing and i had written a VHDL code on 2 input XOR gate using process and it compiles successfully but in test bench waveform i am unable to get the output that is for al...
Altera_Forum
Honored Contributor
15 years agoYou can just use the inbuilt function xor(without process)
C <= A xor B; I wonder if your entity name xor2 is legal since I think there is an inbuilt vhdl function in that name.