OpenCores
URL https://opencores.org/ocsvn/xilinx_virtex_fp_library/xilinx_virtex_fp_library/trunk

Subversion Repositories xilinx_virtex_fp_library

[/] [xilinx_virtex_fp_library/] [trunk/] [GeneralPrecMAF/] [multiply.v] - Rev 5

Go to most recent revision | Compare with Previous | Blame | View Log

`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company: 
// Engineer: 
// 
// Create Date:    17:58:54 10/15/2013 
// Design Name: 
// Module Name:    multiply 
// Project Name: 
// Target Devices: 
// Tool versions: 
// Description: 
//
// Dependencies: 
//
// Revision: 
// Revision 0.01 - File Created
// Additional Comments: 
//
//////////////////////////////////////////////////////////////////////////////////
module multiply #(	parameter size_mantissa = 24,	//mantissa bits
							parameter size_counter	= 5,	//log2(size_mantissa) + 1 = 5
							parameter size_mul_mantissa = size_mantissa + size_mantissa)
						(	input [size_mantissa - 1:0] a_mantissa_i,
							input [size_mantissa - 1:0] b_mantissa_i,
							output [size_mul_mantissa-1:0] mul_mantissa);
 
	assign mul_mantissa = a_mantissa_i * b_mantissa_i;
 
endmodule
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.