Advertisement
Guest User

Untitled

a guest
Jan 27th, 2015
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1.  
  2. module f1(x1, x0, y1, y0);
  3. input x1, x0, y1, y0;
  4. output f;
  5. assign f = (x1&~y1)|(x0&~y0)|(y1&~x1)|(y0&~x0);
  6.  
  7. endmodule
  8.  
  9. module f2(x1, x0, y1, y0);
  10. input x1, x0, y1, y0;
  11. output f;
  12. assign f = (x1|x0|y1|~y0)&(x1|x0|~y1|y0)&(x1|x0|~y1|~y0)&(x1|~x0|~y1|y0)&(x1|~x0|~y1|~y0)&(~x1|x0|~y1|~y0);
  13. endmodule
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement