aboutsummaryrefslogtreecommitdiffstats
path: root/manual/APPNOTE_011_Design_Investigation/sumprod.v
blob: 4091bf0a15112026a4d48dedaf75ed906cebe352 (plain)
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