IP-CSC Altera, IP-CSC Datasheet

no-image

IP-CSC

Manufacturer Part Number
IP-CSC
Description
IP COLOR SPACE CONVERTER
Manufacturer
Altera
Type
MegaCorer
Datasheet

Specifications of IP-CSC

Function
Color Space Converter
License
Initial License
Lead Free Status / Rohs Status
Not applicable / Not applicable
101 Innovation Drive
San Jose, CA 95134
(408) 544-7000
www.altera.com
MegaCore Function User Guide
Color Space Converter
MegaCore Version:
Document Version:
Document Date:
October 2005
2.3.0
2.3.0

Related parts for IP-CSC

IP-CSC Summary of contents

Page 1

... MegaCore Function User Guide 101 Innovation Drive San Jose, CA 95134 (408) 544-7000 www.altera.com Color Space Converter MegaCore Version: Document Version: Document Date: 2.3.0 2.3.0 October 2005 ...

Page 2

... 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 ...

Page 3

... Download the CSC MegaCore Function ....................................................................................... 2–2 Install the CSC MegaCore Function Files ..................................................................................... 2–3 Directory Structure ........................................................................................................................... 2–4 CSC MegaCore Function Walkthrough ............................................................................................. 2–4 Create a New Quartus II Project .................................................................................................... 2–5 Launch IP Toolbench ....................................................................................................................... 2–5 Step 1: Parameterize ......................................................................................................................... 2–8 Step 2: Set Up Simulation .............................................................................................................. 2–12 Step 3: Generate .............................................................................................................................. 2–14 Simulate the Design ............................................................................................................................. 2–16 Compile the Design ............................................................................................................................. 2– ...

Page 4

... Contents Parameters .............................................................................................................................................. 3–3 Signals ..................................................................................................................................................... 3–5 MegaCore Verification .......................................................................................................................... 3–5 References ............................................................................................................................................... 3–6 iv Color Space Converter MegaCore Function User Guide MegaCore Version 2.3.0 Altera Corporation ...

Page 5

... New document for product version 2.1.0. Added new CSC MegaCore function features plus support for Altera ™ Cyclone devices, IP functional simulation models, and the OpenCore ® Plus evaluation feature. Reorganized content to new chapter scheme. USA & Canada www ...

Page 6

... The angled arrow indicates you should press the Enter key. f The feet direct you to more information on a particular topic. vi Color Space Converter MegaCore Function User Guide Meaning , \qdesigns directory, d: drive, chiptrip.gdf file. MAX , PIA input. , Active-low signals are denoted by suffix c:\qdesigns\tutorial\chiptrip.gdf SUBDESIGN ), as well as logic function names (e ...

Page 7

... CSC MegaCore Device Family ® II ® II MegaCore Version 2.3.0 Function Description 2.3.0 October 2005 IP-CSC 0x03 6AF7 Support Full Preliminary Full Full Preliminary Full 1–1 ...

Page 8

... Supports signed and unsigned input data widths from bits Provides user-selectable output precision via parameterizable rounding, saturation, and truncation MegaCore Version 2.3.0 Support Full Full Full Full Full Full Full No support ® II and Stratix ® devices Altera Corporation October 2005 ...

Page 9

... Color space conversion is often necessary when transferring data between devices that use different color space models. For example, to Description transfer a television image to a computer monitor, you may need to convert the image from the Y’CrCb color space to the R’G’B’ color space. ...

Page 10

... These all use the computer R’G’B’ to Y’CrCb color model conversion function, and differ in their choice of hardware implementation method, input data width, and pipeline level. The figures were generated using the Quartus Table 1–3. CSC MegaCore Function Performance Samples ...

Page 11

... To evaluate the Color Space Converter (CSC) MegaCore the OpenCore For more information on IP functional simulation models, refer to the Simulating Altera in Third-Party Simulation Tools chapter in volume 3 of the Quartus II Handbook. 5. Altera Corporation October 2005 A computer running any of the following operating systems: Windows 2000/XP ● ...

Page 12

... Before you can use the CSC MegaCore function you must obtain the CSC MegaCore function files and install them on your computer. Altera the CSC MegaCore functions can be installed from the MegaCore IP Library CD-ROM during or after Quartus II installation, or downloaded MegaCore individually from the Altera web site and installed separately. ...

Page 13

... Altera Corporation October 2005 Choose the Altera Color Space Converter from the search results page. The product description web page displays. Click Download Free Evaluation on the top right of the product description web page. Complete the registration form and click Submit Request. ...

Page 14

... Figure 2–1. CSC MegaCore Function Directory Structure CSC MegaCore This walkthrough explains how to create a custom variation of a CSC MegaCore function using IP Toolbench and the Quartus II software. Function When you are finished generating a custom variation of a CSC MegaCore function, you can incorporate it into your overall project. ...

Page 15

... Click Finish. You have finished creating your new Quartus II project. Altera Corporation October 2005 Choose Programs > Altera > Quartus II <version> (Windows Start menu) to run the Quartus II software. Choose New Project Wizard (File menu). Click Next in the introduction (the introduction will not display if you turned it off previously) ...

Page 16

... CSC MegaCore Function Walkthrough Launch IP Toolbench To launch IP Toolbench in the Quartus II software, follow these steps 2–6 Color Space Converter MegaCore Function User Guide ® Start the MegaWizard Plug-In Manager by choosing MegaWizard Plug-In Manager (Tools menu). The MegaWizard Plug-In Manager dialog box is displayed. ...

Page 17

... Getting Started 5. Figure 2–2. Select the MegaCore Function Altera Corporation October 2005 Specify a name for the output file, <directory name>\<variation name>. Figure 2–2 shows the wizard after you have made these settings. MegaCore Version 2.3.0 Color Space Converter MegaCore Function User Guide ...

Page 18

... Step 1: Parameterize To parameterize your CSC MegaCore function, follow these steps 2–8 Color Space Converter MegaCore Function User Guide Click Next to launch IP Toolbench for the CSC MegaCore function ( Figure 2–3). For more information about the parameters, refer to “Parameters” on page 3–2. Click Step 1: Parameterize in IP Toolbench (see MegaCore Version 2 ...

Page 19

... Altera Corporation October 2005 Choose the following parameters: The bit width of the input data bus ● The core latency or pipeline level ● The hardware implementation ● Signed or unsigned input data (the signed representation uses ● the two’s complement numbering scheme) ...

Page 20

... Under Floating Point to Fixed Point Conversion, you can optionally scale the transform functions. You can specify from bits of precision, choose to use only power-of-two scaling factors scaling at all. Click Scale Coefficients to see the resulting new values in the array. MegaCore Version 2.3.0 Altera Corporation October 2005 ...

Page 21

... Getting Started 6. Figure 2–6. Select the Output Resolution Altera Corporation October 2005 Click Next (see Figure 2–6). Define the resolution of the X_OUT, Y_OUT, and Z_OUT signals generated by the CSC MegaCore function. Select Full Precision or Limited Precision for these output signals. The CSC MegaCore function determines the bit width of the output based on the bits of precision and the bit width of the input ...

Page 22

... CSC MegaCore Function Walkthrough Step 2: Set Up Simulation An IP functional simulation model is a cycle-accurate VHDL or Verilog HDL model file produced by the Quartus II software. It allows for fast functional simulation of IP using industry-standard VHDL and Verilog HDL simulators generate an IP functional simulation model for your MegaCore function, follow these steps: 1 ...

Page 23

... Getting Started 2. Figure 2–8. Generate Simulation Model 3. 4. Altera Corporation October 2005 Turn on Generate Simulation Model Choose the language in the Language list. Click OK. MegaCore Version 2.3.0 Color Space Converter MegaCore Function User Guide (Figure 2–8). 2–13 ...

Page 24

... CSC MegaCore Function Walkthrough Step 3: Generate To generate your MegaCore function, follow these steps: 1. Figure 2–9. IP Toolbench—Generate 2–14 Color Space Converter MegaCore Function User Guide Click Step 3: Generate in IP Toolbench MegaCore Version 2.3.0 (Figure 2–9). Altera Corporation October 2005 ...

Page 25

... Altera Corporation October 2005 The generation report lists the design files that IP Toolbench creates (Figure 2–10). Click Exit. describes the IP Toolbench-generated files.. Note (1) Quartus II symbol file for the MegaCore function variation. ...

Page 26

... Device With Altera's free OpenCore Plus evaluation feature, you can evaluate the CSC MegaCore function before you purchase a license. OpenCore Plus evaluation allows you to generate an IP functional simulation model, and produce a time-limited programming file. 2–16 Color Space Converter MegaCore Function User Guide ...

Page 27

... Getting Started f For more information on IP functional simulation models, refer to the Simulating Altera in Third-Party Simulation Tools chapter in volume 3 of the Quartus II Handbook. f For more information on OpenCore Plus hardware evaluation using the CSC MegaCore function, see page 3–1 Set Up Licensing You need to purchase a license for a CSC MegaCore function only when you are completely satisfied with its functionality and performance, and want to take your design to production ...

Page 28

... Verify the filename in a DOS box command prompt. Altera recommends that you give the file a unique name, e.g., altera-csc_license.dat. Start the Quartus II software. Choose License Setup (Tools menu). The Options dialog box opens to the License Setup page ...

Page 29

... The CSC MegaCore function uses this equation to convert data from one color space to another: Because the inputs are multiplied by constant values, the look-up table (LUT) architecture of Altera implementing the conversion equations. Pre-computing partial products and storing them in look-up tables can provide a smaller, faster implementation than one that can be realized with soft multipliers ...

Page 30

... For more information on OpenCore Plus hardware evaluation, see “OpenCore Plus Evaluation” on page 1–3 Evaluation of Megafunctions. Parameters You configure the CSC MegaCore function with IP Toolbench (see MegaCore Function Walkthrough” on page 3–3 Table 3–1. Parameters on the First Page of the Wizard Parameter ...

Page 31

... Allows you to convert the floatingpoint coefficients defined above to fixed-point coefficients using the number of bits of precision that you specify. This conversion consists of multiplying all the floating-point coefficients with a common scaling factor and casting the floating-point multiplication result to a two’s complement integer (a fixed-point coefficient) ...

Page 32

... To constrain the output bits, for each output specify the number of bits to remove through saturation or truncation for its most-significant-bit or least-significant-bit. Description The system clock. The synchronous clear signal, which is active at 1. The input busses. The converted data. Altera Corporation ...

Page 33

... Specifications References Altera application notes, white papers, and user guides providing more detailed explanations of how to effectively design with MegaCore functions and the Quartus (www.altera.com). The following third-party references provide technical information on color spaces and the transformations between them. ■ ■ ■ ...

Page 34

... References 3–6 Color Space Converter MegaCore Function User Guide MegaCore Version 2.3.0 Altera Corporation October 2005 ...

Related keywords