blob: 0b4e91bed4f904ea4c75d36d548381f7d38358b7 [file] [log] [blame]
// Copyright (C) 2020-2021 The SymbiFlow Authors.
//
// Use of this source code is governed by a ISC-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/ISC
//
// SPDX-License-Identifier:ISC
module mac_unit (
a,
b,
out
);
parameter DATA_WIDTH = 16;
input [DATA_WIDTH - 1 : 0] a, b;
output [2*DATA_WIDTH - 1 : 0] out;
assign out = a * b + out;
endmodule