aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/APPNOTE_011_Design_Investigation/sumprod.v
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/APPNOTE_011_Design_Investigation/sumprod.v')
-rw-r--r--docs/source/APPNOTE_011_Design_Investigation/sumprod.v12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/source/APPNOTE_011_Design_Investigation/sumprod.v b/docs/source/APPNOTE_011_Design_Investigation/sumprod.v
new file mode 100644
index 000000000..4091bf0a1
--- /dev/null
+++ b/docs/source/APPNOTE_011_Design_Investigation/sumprod.v
@@ -0,0 +1,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