Advertisement
Yazb

ThreeAnd16

May 23rd, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. // utility gate written to correspond to the book "The Elements of
  2. // Computing Systems" by Nisan and Schocken, MIT Press. Book site:
  3. // www.idc.ac.il/tecs
  4. // File name:ThreeAnd16.hdl
  5. //
  6.  
  7. /**
  8. * 3in And Gate16.
  9. */
  10.  
  11.  
  12. CHIP ThreeAnd16 {
  13. IN a[16], b[16], in[16];
  14. OUT out[16];
  15.  
  16. PARTS:
  17. // Put your code here:
  18.  
  19. And16(a= a, b = b, out = q);
  20. And16(a = in, b = q, out = out);
  21.  
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement