summaryrefslogtreecommitdiff
path: root/manual/PRESENTATION_ExAdv/macc_simple_test_01.v
diff options
context:
space:
mode:
Diffstat (limited to 'manual/PRESENTATION_ExAdv/macc_simple_test_01.v')
-rw-r--r--manual/PRESENTATION_ExAdv/macc_simple_test_01.v6
1 files changed, 6 insertions, 0 deletions
diff --git a/manual/PRESENTATION_ExAdv/macc_simple_test_01.v b/manual/PRESENTATION_ExAdv/macc_simple_test_01.v
new file mode 100644
index 00000000..8391fb38
--- /dev/null
+++ b/manual/PRESENTATION_ExAdv/macc_simple_test_01.v
@@ -0,0 +1,6 @@
+module test(a, b, c, d, x, y);
+input [15:0] a, b, c, d;
+input [31:0] x;
+output [31:0] y;
+assign y = a*b + c*d + x;
+endmodule