1 2 3 4 5 6 7 8 9 10 11 12
module sumprod(a, b, c, sum, prod); input [7:0] a, b, c; output [7:0] sum, prod; {* sumstuff *} assign sum = a + b + c; {* *} assign prod = a * b * c; endmodule