diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-02-20 23:44:28 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-02-20 23:44:28 +0100 |
commit | 9351e4d3caef1af7b7768d66b7f6edc12713d109 (patch) | |
tree | 92c0aa4166c1effe5cf7b702c731f733e35a4440 /manual/PRESENTATION_ExAdv/macc_xilinx_test.v | |
parent | 4e43cb731701679e6d584ba14163befcb846e87b (diff) |
Progress in presentation
Diffstat (limited to 'manual/PRESENTATION_ExAdv/macc_xilinx_test.v')
-rw-r--r-- | manual/PRESENTATION_ExAdv/macc_xilinx_test.v | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/manual/PRESENTATION_ExAdv/macc_xilinx_test.v b/manual/PRESENTATION_ExAdv/macc_xilinx_test.v index d08d939e..d8fdf724 100644 --- a/manual/PRESENTATION_ExAdv/macc_xilinx_test.v +++ b/manual/PRESENTATION_ExAdv/macc_xilinx_test.v @@ -1,6 +1,13 @@ -module test(a, b, c, d, e, f, y); +module test1(a, b, c, d, e, f, y); input [19:0] a, b, c; input [15:0] d, e, f; output [41:0] y; assign y = a*b + c*d + e*f; endmodule + +module test2(a, b, c, d, e, f, y); +input [19:0] a, b, c; +input [15:0] d, e, f; +output [41:0] y; +assign y = a*b + (c*d + e*f); +endmodule |