Advertisement
Guest User

ccccccccccccc

a guest
Apr 25th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. function Bit#(2) cmp(Bit#(1) a, Bit#(1) b, Bit#(1) eq, Bit#(1) lt);
  2. Bit#(1) eqi = eq & (~ (a ^ b));
  3. Bit#(1) lti = lt | (eq & ((~a) & b);
  4. return {eqi, lti};
  5. endfunction
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement