daily pastebin goal
47%
SHARE
TWEET

Untitled

a guest Oct 20th, 2018 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. module Chicken(mom,dad,bro,sis,food);
  2.  
  3.     input mom,dad,bro,sis;
  4.     output food;
  5.     wire md_agree,dad_kids,mom_kids; //mom dad agree, dad + kids, mom + kids
  6.  
  7.     nand(md_agree,mom,dad);
  8.     nand(dad_kids,dad,bro,sis);
  9.     nand(mom_kids,mom,bro,sis);
  10.     nand(md_agree,dad_kids,mom_kids); //final food choice
  11.  
  12. endmodule
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