|
||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||
|
|
entity Half_Adder is port (W,X: in bit; Y,Z : out bit); end Half_Adder; architecture HA of Half_Adder is begin Y <= W xor X; -- This is the sum bit Z <= W and X; -- This is the carry bit end HA;
|
|||||||||||||||||||||||||||||||||
|
Copyright © 2003 ChipCenter-QuestLink About ChipCenter-Questlink |
||||||||||||||||||||||||||||||||||