SHARE
TWEET

Untitled

a guest Oct 18th, 2019 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. library ieee;
  2. use ieee.std_logic_1164.all;
  3. use ieee.numeric_std.all;
  4. entity halfadder is
  5.   port(a,   b:     in  bit;
  6.        s, c: out bit);
  7. end halfadder;
  8.  
  9. architecture DATAFLOW of halfadder is
  10. begin
  11.     s   <= A xor B;
  12.     c <= A and B;
  13. end DATAFLOW;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top