cursofpgavhdl

meio_somador_1bit

Jul 30th, 2020
357
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- PROJETO: meio_somador_1bit
  2. -- ENTRADA A, B (tipo bit)
  3. -- SAIDA: S, COUT (tipo bit)
  4. -- AUTORES: MARCOS MEIRA, JOAO VITOR, SALLATIEL TERFERNANDES
  5. -- DATA: 22/11/2019
  6. ----------------------------------------------------------
  7. entity meio_somador_1bit is
  8.     port (A, B: in bit;
  9.        S, COUT: out bit);
  10. end meio_somador_1bit;
  11. ----------------------------------------------------------
  12. architecture dataflow of meio_somador_1bit is
  13. begin
  14.     S <= A xor B;
  15.     COUT <= A and B;
  16. end dataflow;
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×