Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module full_summator(a, b, c, p, sum);
- input a;
- input b;
- input c;
- output p;
- output sum;
- always @ (a, b, c) begin
- p = (a | b)&c | a&b;
- sum = a&b&c | (a | b | c)&~((a | b)&c | a&b);
- end
- endmodule
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement