mirror of
https://github.com/supleed2/ELEC60011-DSD-CW.git
synced 2024-11-10 02:05:49 +00:00
93 lines
5 KiB
Verilog
93 lines
5 KiB
Verilog
// megafunction wizard: %FP_FUNCTIONS Intel FPGA IP v20.1%
|
|
// GENERATION: XML
|
|
// fp_to_fix.v
|
|
|
|
// Generated using ACDS version 20.1 720
|
|
|
|
`timescale 1 ps / 1 ps
|
|
module fp_to_fix (
|
|
input wire clk, // clk.clk
|
|
input wire areset, // areset.reset
|
|
input wire [0:0] en, // en.en
|
|
input wire [31:0] a, // a.a
|
|
output wire [31:0] q // q.q
|
|
);
|
|
|
|
fp_to_fix_0002 fp_to_fix_inst (
|
|
.clk (clk), // clk.clk
|
|
.areset (areset), // areset.reset
|
|
.en (en), // en.en
|
|
.a (a), // a.a
|
|
.q (q) // q.q
|
|
);
|
|
|
|
endmodule
|
|
// Retrieval info: <?xml version="1.0"?>
|
|
//<!--
|
|
// Generated by Altera MegaWizard Launcher Utility version 1.0
|
|
// ************************************************************
|
|
// THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
|
|
// ************************************************************
|
|
// Copyright (C) 1991-2022 Altera Corporation
|
|
// Any megafunction design, and related net list (encrypted or decrypted),
|
|
// support information, device programming or simulation file, and any other
|
|
// associated documentation or information provided by Altera or a partner
|
|
// under Altera's Megafunction Partnership Program may be used only to
|
|
// program PLD devices (but not masked PLD devices) from Altera. Any other
|
|
// use of such megafunction design, net list, support information, device
|
|
// programming or simulation file, or any other related documentation or
|
|
// information is prohibited for any other purpose, including, but not
|
|
// limited to modification, reverse engineering, de-compiling, or use with
|
|
// any other silicon devices, unless such use is explicitly licensed under
|
|
// a separate agreement with Altera or a megafunction partner. Title to
|
|
// the intellectual property, including patents, copyrights, trademarks,
|
|
// trade secrets, or maskworks, embodied in any such megafunction design,
|
|
// net list, support information, device programming or simulation file, or
|
|
// any other related documentation or information provided by Altera or a
|
|
// megafunction partner, remains with Altera, the megafunction partner, or
|
|
// their respective licensors. No other licenses, including any licenses
|
|
// needed under any third party's intellectual property, are provided herein.
|
|
//-->
|
|
// Retrieval info: <instance entity-name="altera_fp_functions" version="20.1" >
|
|
// Retrieval info: <generic name="FUNCTION_FAMILY" value="CONVERT" />
|
|
// Retrieval info: <generic name="ARITH_function" value="ADD" />
|
|
// Retrieval info: <generic name="CONVERT_function" value="FP_FXP" />
|
|
// Retrieval info: <generic name="ALL_function" value="ADD" />
|
|
// Retrieval info: <generic name="EXP_LOG_function" value="EXPE" />
|
|
// Retrieval info: <generic name="TRIG_function" value="SIN" />
|
|
// Retrieval info: <generic name="COMPARE_function" value="MIN" />
|
|
// Retrieval info: <generic name="ROOTS_function" value="SQRT" />
|
|
// Retrieval info: <generic name="fp_format" value="single" />
|
|
// Retrieval info: <generic name="fp_exp" value="8" />
|
|
// Retrieval info: <generic name="fp_man" value="23" />
|
|
// Retrieval info: <generic name="exponent_width" value="23" />
|
|
// Retrieval info: <generic name="frequency_target" value="50" />
|
|
// Retrieval info: <generic name="latency_target" value="1" />
|
|
// Retrieval info: <generic name="performance_goal" value="combined" />
|
|
// Retrieval info: <generic name="rounding_mode" value="nearest with tie breaking away from zero" />
|
|
// Retrieval info: <generic name="faithful_rounding" value="false" />
|
|
// Retrieval info: <generic name="gen_enable" value="true" />
|
|
// Retrieval info: <generic name="divide_type" value="0" />
|
|
// Retrieval info: <generic name="select_signal_enable" value="false" />
|
|
// Retrieval info: <generic name="scale_by_pi" value="false" />
|
|
// Retrieval info: <generic name="number_of_inputs" value="2" />
|
|
// Retrieval info: <generic name="trig_no_range_reduction" value="false" />
|
|
// Retrieval info: <generic name="report_resources_to_xml" value="false" />
|
|
// Retrieval info: <generic name="fxpt_width" value="32" />
|
|
// Retrieval info: <generic name="fxpt_fraction" value="30" />
|
|
// Retrieval info: <generic name="fxpt_sign" value="1" />
|
|
// Retrieval info: <generic name="fp_out_format" value="custom" />
|
|
// Retrieval info: <generic name="fp_out_exp" value="8" />
|
|
// Retrieval info: <generic name="fp_out_man" value="23" />
|
|
// Retrieval info: <generic name="fp_in_format" value="single" />
|
|
// Retrieval info: <generic name="fp_in_exp" value="8" />
|
|
// Retrieval info: <generic name="fp_in_man" value="23" />
|
|
// Retrieval info: <generic name="enable_hard_fp" value="true" />
|
|
// Retrieval info: <generic name="manual_dsp_planning" value="true" />
|
|
// Retrieval info: <generic name="forceRegisters" value="1111" />
|
|
// Retrieval info: <generic name="selected_device_family" value="Cyclone V" />
|
|
// Retrieval info: <generic name="selected_device_speedgrade" value="7" />
|
|
// Retrieval info: </instance>
|
|
// IPFS_FILES : fp_to_fix.vo
|
|
// RELATED_FILES: fp_to_fix.v, dspba_library_package.vhd, dspba_library.vhd, fp_to_fix_0002.vhd
|