Advertisement
Guest User

dddddddddddd

a guest
Apr 25th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. function Bit#(1) ltu32(Bit#(32) a, Bit#(32) b);
  2. Bit#(1) eq = 1'b1;
  3. Bit#(1) lt = 1'b0;
  4. for (Integer i = 31; i >= 0; i = i - 1) begin
  5. eqlt = cmp(a[i], b[i], eq, lt);
  6. eq = eqlt[1];
  7. lt = eqlt[0];
  8. end
  9. return lt;
  10. endfunction
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement