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/] [SinglePathFPAdder/] [special_cases.v] - Diff between revs 8 and 18

Show entire file | Details | Blame | View Log

Rev 8 Rev 18
Line 1... Line 1...
`timescale 1ns / 1ps
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////
// Company: 
// Company:     UPT     
// Engineer: 
// Engineer:    Constantina-Elena Gavriliu
// 
// 
// Create Date:    18:56:11 10/07/2013 
// Create Date:    18:56:11 10/07/2013 
// Design Name: 
// Design Name: 
// Module Name:    special_cases_mul_acc
// Module Name:    special_cases
// Project Name: 
// Project Name: 
// Target Devices: 
// Target Devices: 
// Tool versions: 
// Tool versions: 
// Description: 
// Description: Compute corresponding special cases (exceptions)
//
//                              //do not take into consideration cases for which the operation generates a NaN or Infinity exception (with corresponding sign) when initial "special cases" are not such exceptions
// Dependencies: 
// Dependencies:        SinglePathFPAdder
//
//
// Revision: 
// Revision: 
// Revision 0.01 - File Created
// Revision 0.01 - File Created
// Additional Comments: 
// Additional Comments: 
//
//
Line 23... Line 23...
                                                                        parameter [size_exception_field - 1 : 0] normal_number= 1, //01
                                                                        parameter [size_exception_field - 1 : 0] normal_number= 1, //01
                                                                        parameter [size_exception_field - 1 : 0] infinity                = 2, //10
                                                                        parameter [size_exception_field - 1 : 0] infinity                = 2, //10
                                                                        parameter [size_exception_field - 1 : 0] NaN                             = 3) //11
                                                                        parameter [size_exception_field - 1 : 0] NaN                             = 3) //11
                                                                (       input [size_exception_field - 1 : 0] sp_case_a_number,
                                                                (       input [size_exception_field - 1 : 0] sp_case_a_number,
                                                                        input [size_exception_field - 1 : 0] sp_case_b_number,
                                                                        input [size_exception_field - 1 : 0] sp_case_b_number,
 
                                                                        input eff_op,
                                                                        output reg [size_exception_field - 1 : 0] sp_case_result_o);
                                                                        output reg [size_exception_field - 1 : 0] sp_case_result_o);
 
 
        always
        always
                @(*)
                @(*)
        begin
        begin

powered by: WebSVN 2.1.0

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