
Altera, MAX, MAX+PLUS, MAX+PLUS II, FLEX, FLEX 10K, and FLEX 8000 are trademarks and/ or service
marks of Altera Corporation in the United States and other countries. Altera acknowledges the trademarks of
other organizations for their respective products or services mentioned in this document. Altera 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
application 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
information and before placing orders for products or services.
Copyrigh t
1997 Altera Corporation. All rights reserved.
2610 Orchard Parkway
San Jose, CA 95134-2020
(408) 894-7000
http://www.altera.com
Applications Hotline:
(800) 800-EPLD
Customer Marketing:
(408) 894-7104
Literature Services:
(888) 3-ALTERA
lit_req@altera.com
FS 6: saturate Data Word Saturator
4
Altera Corporation
Printed on Recycled Paper.
Figure 4. Sine Wave with Data Word “Roll Over”
To avoid data word roll over, the data is saturated
the signal after the data word is saturated; all values above 32767
become 32767, and all values below –32768 become –32768.
.
Figure 5
shows
Figure 5. Sine Wave of Saturated Data Word
f
For information on rounding, refer to
Functional Specification
Data Word Rounder)
, for information on color space conversion, refer
to
RGB2YCrCb & YCrCb2RGB Color Space Converters Data Sheet
5 (round
.
17-Bit Data Word
65535
–65536
0
32767
–32768
Data Word “Roll Over”
Data Word “Roll Over”
Data Word “Roll Over”
16-Bit Data Word
65535
–65536
0
32767
–32768
Data Word Saturated to 32767
Data Word Saturated to –32768
17-Bit Data Word
16-Bit Data Word