|
@@ -1,123 +0,0 @@
|
|
|
-// megafunction wizard: %ALTFP_ADD_SUB%
|
|
|
|
|
-// GENERATION: STANDARD
|
|
|
|
|
-// VERSION: WM1.0
|
|
|
|
|
-// MODULE: altfp_add_sub
|
|
|
|
|
-
|
|
|
|
|
-// ============================================================
|
|
|
|
|
-// File Name: fpu_add.v
|
|
|
|
|
-// Megafunction Name(s):
|
|
|
|
|
-// altfp_add_sub
|
|
|
|
|
-//
|
|
|
|
|
-// Simulation Library Files(s):
|
|
|
|
|
-//
|
|
|
|
|
-// ============================================================
|
|
|
|
|
-// ************************************************************
|
|
|
|
|
-// THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
|
|
|
|
|
-//
|
|
|
|
|
-// 20.1.0 Build 711 06/05/2020 SJ Lite Edition
|
|
|
|
|
-// ************************************************************
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-//Copyright (C) 2020 Intel Corporation. All rights reserved.
|
|
|
|
|
-//Your use of Intel Corporation's design tools, logic functions
|
|
|
|
|
-//and other software and tools, and any partner logic
|
|
|
|
|
-//functions, and any output files from any of the foregoing
|
|
|
|
|
-//(including device programming or simulation files), and any
|
|
|
|
|
-//associated documentation or information are expressly subject
|
|
|
|
|
-//to the terms and conditions of the Intel Program License
|
|
|
|
|
-//Subscription Agreement, the Intel Quartus Prime License Agreement,
|
|
|
|
|
-//the Intel FPGA IP License Agreement, or other applicable license
|
|
|
|
|
-//agreement, including, without limitation, that your use is for
|
|
|
|
|
-//the sole purpose of programming logic devices manufactured by
|
|
|
|
|
-//Intel and sold by Intel or its authorized distributors. Please
|
|
|
|
|
-//refer to the applicable agreement for further details, at
|
|
|
|
|
-//https://fpgasoftware.intel.com/eula.
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-// synopsys translate_off
|
|
|
|
|
-`timescale 1 ps / 1 ps
|
|
|
|
|
-// synopsys translate_on
|
|
|
|
|
-module fpu_add (aclr, clock, input_a, input_b, nan, overflow,
|
|
|
|
|
- result, underflow, zero);
|
|
|
|
|
-
|
|
|
|
|
- input aclr;
|
|
|
|
|
- input clock;
|
|
|
|
|
- input [31:0] input_a;
|
|
|
|
|
- input [31:0] input_b;
|
|
|
|
|
- output nan;
|
|
|
|
|
- output overflow;
|
|
|
|
|
- output [31:0] result;
|
|
|
|
|
- output underflow;
|
|
|
|
|
- output zero;
|
|
|
|
|
-
|
|
|
|
|
- wire sub_wire0;
|
|
|
|
|
- wire sub_wire1;
|
|
|
|
|
- wire [31:0] sub_wire2;
|
|
|
|
|
- wire sub_wire3;
|
|
|
|
|
- wire sub_wire4;
|
|
|
|
|
- wire nan = sub_wire0;
|
|
|
|
|
- wire overflow = sub_wire1;
|
|
|
|
|
- wire [31:0] result = sub_wire2[31:0];
|
|
|
|
|
- wire underflow = sub_wire3;
|
|
|
|
|
- wire zero = sub_wire4;
|
|
|
|
|
-
|
|
|
|
|
- altfp_add_sub altfp_add_sub_component (
|
|
|
|
|
- .aclr (aclr),
|
|
|
|
|
- .clock (clock),
|
|
|
|
|
- .dataa (input_a),
|
|
|
|
|
- .datab (input_b),
|
|
|
|
|
- .nan (sub_wire0),
|
|
|
|
|
- .overflow (sub_wire1),
|
|
|
|
|
- .result (sub_wire2),
|
|
|
|
|
- .underflow (sub_wire3),
|
|
|
|
|
- .zero (sub_wire4));
|
|
|
|
|
- defparam
|
|
|
|
|
- altfp_add_sub_component.denormal_support = "NO",
|
|
|
|
|
- altfp_add_sub_component.direction = "ADD",
|
|
|
|
|
- altfp_add_sub_component.optimize = "SPEED",
|
|
|
|
|
- altfp_add_sub_component.pipeline = 14,
|
|
|
|
|
- altfp_add_sub_component.reduced_functionality = "NO",
|
|
|
|
|
- altfp_add_sub_component.width_exp = 8,
|
|
|
|
|
- altfp_add_sub_component.width_man = 23;
|
|
|
|
|
-
|
|
|
|
|
-endmodule
|
|
|
|
|
-
|
|
|
|
|
-// ============================================================
|
|
|
|
|
-// CNX file retrieval info
|
|
|
|
|
-// ============================================================
|
|
|
|
|
-// Retrieval info: PRIVATE: FPM_FORMAT NUMERIC "0"
|
|
|
|
|
-// Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone IV E"
|
|
|
|
|
-// Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
|
|
|
|
|
-// Retrieval info: PRIVATE: WIDTH_DATA NUMERIC "32"
|
|
|
|
|
-// Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
|
|
|
|
|
-// Retrieval info: CONSTANT: DENORMAL_SUPPORT STRING "NO"
|
|
|
|
|
-// Retrieval info: CONSTANT: DIRECTION STRING "ADD"
|
|
|
|
|
-// Retrieval info: CONSTANT: OPTIMIZE STRING "SPEED"
|
|
|
|
|
-// Retrieval info: CONSTANT: PIPELINE NUMERIC "14"
|
|
|
|
|
-// Retrieval info: CONSTANT: REDUCED_FUNCTIONALITY STRING "NO"
|
|
|
|
|
-// Retrieval info: CONSTANT: WIDTH_EXP NUMERIC "8"
|
|
|
|
|
-// Retrieval info: CONSTANT: WIDTH_MAN NUMERIC "23"
|
|
|
|
|
-// Retrieval info: USED_PORT: aclr 0 0 0 0 INPUT NODEFVAL "aclr"
|
|
|
|
|
-// Retrieval info: USED_PORT: clock 0 0 0 0 INPUT NODEFVAL "clock"
|
|
|
|
|
-// Retrieval info: USED_PORT: dataa 0 0 32 0 INPUT NODEFVAL "dataa[31..0]"
|
|
|
|
|
-// Retrieval info: USED_PORT: datab 0 0 32 0 INPUT NODEFVAL "datab[31..0]"
|
|
|
|
|
-// Retrieval info: USED_PORT: nan 0 0 0 0 OUTPUT NODEFVAL "nan"
|
|
|
|
|
-// Retrieval info: USED_PORT: overflow 0 0 0 0 OUTPUT NODEFVAL "overflow"
|
|
|
|
|
-// Retrieval info: USED_PORT: result 0 0 32 0 OUTPUT NODEFVAL "result[31..0]"
|
|
|
|
|
-// Retrieval info: USED_PORT: underflow 0 0 0 0 OUTPUT NODEFVAL "underflow"
|
|
|
|
|
-// Retrieval info: USED_PORT: zero 0 0 0 0 OUTPUT NODEFVAL "zero"
|
|
|
|
|
-// Retrieval info: CONNECT: @aclr 0 0 0 0 aclr 0 0 0 0
|
|
|
|
|
-// Retrieval info: CONNECT: @clock 0 0 0 0 clock 0 0 0 0
|
|
|
|
|
-// Retrieval info: CONNECT: @dataa 0 0 32 0 dataa 0 0 32 0
|
|
|
|
|
-// Retrieval info: CONNECT: @datab 0 0 32 0 datab 0 0 32 0
|
|
|
|
|
-// Retrieval info: CONNECT: nan 0 0 0 0 @nan 0 0 0 0
|
|
|
|
|
-// Retrieval info: CONNECT: overflow 0 0 0 0 @overflow 0 0 0 0
|
|
|
|
|
-// Retrieval info: CONNECT: result 0 0 32 0 @result 0 0 32 0
|
|
|
|
|
-// Retrieval info: CONNECT: underflow 0 0 0 0 @underflow 0 0 0 0
|
|
|
|
|
-// Retrieval info: CONNECT: zero 0 0 0 0 @zero 0 0 0 0
|
|
|
|
|
-// Retrieval info: GEN_FILE: TYPE_NORMAL fpu_add.v TRUE
|
|
|
|
|
-// Retrieval info: GEN_FILE: TYPE_NORMAL fpu_add.inc FALSE
|
|
|
|
|
-// Retrieval info: GEN_FILE: TYPE_NORMAL fpu_add.cmp FALSE
|
|
|
|
|
-// Retrieval info: GEN_FILE: TYPE_NORMAL fpu_add.bsf FALSE
|
|
|
|
|
-// Retrieval info: GEN_FILE: TYPE_NORMAL fpu_add_inst.v FALSE
|
|
|
|
|
-// Retrieval info: GEN_FILE: TYPE_NORMAL fpu_add_bb.v FALSE
|
|
|