diff options
Diffstat (limited to 'manual/PRESENTATION_ExAdv/macc_xilinx_test.v')
-rw-r--r-- | manual/PRESENTATION_ExAdv/macc_xilinx_test.v | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/manual/PRESENTATION_ExAdv/macc_xilinx_test.v b/manual/PRESENTATION_ExAdv/macc_xilinx_test.v new file mode 100644 index 000000000..683d9d847 --- /dev/null +++ b/manual/PRESENTATION_ExAdv/macc_xilinx_test.v @@ -0,0 +1,13 @@ +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 |