ug_altfp_convert - Floating Point Converter (ALTFP_CONVERT)...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
101 Innovation Drive San Jose, CA 95134 www.altera.com Floating Point Converter (ALTFP_CONVERT) Megafunction User Guide Software Version: 8.0 Document Version: 1.0 Document Date: May 2008
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Copyright © 2008 Altera Corporation. All rights reserved. Altera, The Programmable Solutions Company, the stylized Altera logo, specific device des- ignations, and all other words and logos that are identified as trademarks and/or service marks are, unless noted otherwise, the trademarks and service marks of Altera Corporation in the U.S. and other countries. All other product or service names are the property of their respective holders. Al- tera products are protected under numerous U.S. and foreign patents and pending applications, maskwork rights, and copyrights. Altera warrants performance of its semiconductor products to current specifications in accordance with Altera's standard warranty, but reserves the right to make changes to any products and services at any time without notice. Altera assumes no responsibility or liability arising out of the ap- plication or use of any information, product, or service described herein except as expressly agreed to in writing by Altera Corporation. Altera customers are advised to obtain the latest version of device specifications before relying on any published in- formation and before placing orders for products or services. ii Altera Corporation Floating Point Converter (ALTFP_CONVERT) Megafunction User Guide Confidential—Internal Use Only UG-01031-1.0
Background image of page 2
Altera Corporation Confidential—Internal Use Only iii Floating Point Converter (ALTFP_CONVERT) Megafunction User Guide Contents About this User Guide . ............................................................................ v Revision History . ....................................................................................................................................... v Referenced Documents . ............................................................................................................................ v How to Contact Altera . ............................................................................................................................. v Typographic Conventions . ..................................................................................................................... vi Chapter 1. About this Megafunction Device Family Support . ........................................................................................................................ 1–1 Introduction . ........................................................................................................................................... 1–1 Features . .................................................................................................................................................. 1–1 Integer-to-Float Conversion . ........................................................................................................... 1–2 Float-to-Integer Conversion . ........................................................................................................... 1–2 Float-to-Float Conversion . .............................................................................................................. 1–2 General Description . .............................................................................................................................. 1–2 Single-Precision Floating-Point Format . ....................................................................................... 1–3 Double-Precision Floating-Point Format . ..................................................................................... 1–3 Single-Extended-Precision Floating-Point Format . ..................................................................... 1–4 Special Case Numbers . .................................................................................................................... 1–4 Rounding . .......................................................................................................................................... 1–4 Exception Handling . ........................................................................................................................ 1–5 Common Applications . ................................................................................................................... 1–5 Resource Usage and Performance . ...................................................................................................... 1–6 Chapter 2. Getting Started Software and System Requirements . .................................................................................................. 2–1 MegaWizard Plug-In Manager Customization . ................................................................................ 2–1 MegaWizard Plug-In Manager Page Descriptions . .......................................................................... 2–2 Instantiating Megafunctions in HDL Code or Schematic Designs . ................................................ 2–9 Generating a Netlist for EDA Tool Use . ........................................................................................ 2–9 Using the Port and Parameter Definitions . ................................................................................. 2–10 Identifying a Megafunction after Compilation . .............................................................................. 2–10 Simulation . ............................................................................................................................................ 2–10 Quartus II Software Simulation . ................................................................................................. .2–10 EDA Tool Simulation . .................................................................................................................... 2–11 Design Example 1: Converting 32-Bit Signed Integers to Single-Precision Floating-Point Numbers ................................................................................................................................................................. 2–11 Design Files . .................................................................................................................................... 2–11 Conversion Procedure . .................................................................................................................. 2–11 Functional Simulation in the ModelSim-Altera Simulator . ..................................................... 2–15 Understanding the Simulation Results . ...................................................................................... 2–17 Design Example 2: Converting Double-Precision Floating-Point Numbers to 64-Bit Signed
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
iv
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 05/06/2011 for the course ELECTRICAL ee2093 taught by Professor Semp during the Spring '11 term at King Fahd University of Petroleum & Minerals.

Page1 / 46

ug_altfp_convert - Floating Point Converter (ALTFP_CONVERT)...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online