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] - Blame information for rev 3

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 constantin
`timescale 1ns / 1ps
2
//////////////////////////////////////////////////////////////////////////////////
3
// Company: 
4
// Engineer: 
5
// 
6
// Create Date:    17:58:54 10/15/2013 
7
// Design Name: 
8
// Module Name:    multiply 
9
// Project Name: 
10
// Target Devices: 
11
// Tool versions: 
12
// Description: 
13
//
14
// Dependencies: 
15
//
16
// Revision: 
17
// Revision 0.01 - File Created
18
// Additional Comments: 
19
//
20
//////////////////////////////////////////////////////////////////////////////////
21
module multiply #(      parameter size_mantissa = 24,   //mantissa bits
22
                                                        parameter size_counter  = 5,    //log2(size_mantissa) + 1 = 5
23
                                                        parameter size_mul_mantissa = size_mantissa + size_mantissa)
24
                                                (       input [size_mantissa - 1:0] a_mantissa_i,
25
                                                        input [size_mantissa - 1:0] b_mantissa_i,
26
                                                        output [size_mul_mantissa-1:0] mul_mantissa);
27
 
28
        assign mul_mantissa = a_mantissa_i * b_mantissa_i;
29
 
30
endmodule

powered by: WebSVN 2.1.0

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