summaryrefslogtreecommitdiff
path: root/verilator_lib/mul.v
blob: 67fb36b0948ce226d0f8d1cd5aa73f48694a919c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
module mul(
	input			clk,
	input		[31:0]	x,
	input		[31:0]	y,
	output	reg	[31:0]	p
);
	always @(posedge clk) begin
		p <= x * y;
	end
endmodule