Archived
1
0
This repository has been archived on 2026-02-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2022-03-08 13:53:49 +01:00

17 lines
241 B
Systemverilog

package lookahead (
output [15:0]carry_bit,
input [15:0]a,
input [15:0]b,
);
res = and16(y, a, b);
for (i=0; i<15 ; i=i+1)
if (res[i] = 0)
carry_bit[i] = 0;
else
carry_bit[i] = 1;
end
end
endpackage