ALTERA PROGRAM LICENSE SUBSCRIPTION AGREEMENT

PLEASE REVIEW THE FOLLOWING TERMS AND CONDITIONS CAREFULLY BEFORE
INSTALLING OR USING THE SOFTWARE PROVIDED TO YOU ON COMPACT DISC, VIA
A WEB-SITE, OR ON ANOTHER MEDIUM OR THROUGH ANOTHER DELIVERY
MECHANISM. BY INSTALLING OR USING THIS SOFTWARE OR PAYING A
SUBSCRIPTION FEE, YOU INDICATE YOUR ACCEPTANCE OF SUCH TERMS AND
CONDITIONS, WHICH CONSTITUTE THE LICENSE AGREEMENT ("AGREEMENT")
BETWEEN YOU AND ALTERA CORPORATION OR THE ALTERA CORPORATION
SUBSIDIARY FROM WHICH YOU HAVE ACQUIRED THIS LICENSE (COLLECTIVELY
"ALTERA").  HOWEVER, THIS SOFTWARE MAY CONTAIN PARTICULAR COMPONENTS,
FILES OR PORTIONS WHICH ARE SUBJECT TO SEPARATE LICENSE AGREEMENTS
WITH DIFFERENT TERMS AND CONDITIONS.  IN EACH SUCH CASE, THE
APPLICABLE TERMS AND CONDITIONS ARE SET FORTH IN A FILE (CALLED
"LICENSE.TXT") IN A SEPARATELY MARKED SECTION, WHERE TERMS AND
CONDITIONS SET FORTH EXCLUSIVELY GOVERN THE NAMED COMPONENTS.  IN THE
EVENT THAT YOU DO NOT AGREE WITH ANY OF THESE TERMS AND CONDITIONS, DO
NOT DOWNLOAD, COPY, INSTALL OR USE THIS SOFTWARE; IF YOU HAVE RECEIVED
A COPY ON COMPACT DISC OR ANOTHER MEDIUM, PLEASE PROMPTLY RETURN THE
SOFTWARE UNUSED TO ALTERA.

IF YOU WISH TO PRINT OUT THIS PROGRAM LICENSE SUBSCRIPTION AGREEMENT,
YOU SHOULD HIGHLIGHT THIS TEXT, RIGHT-CLICK, SELECT "COPY" THEN
"PASTE" IT INTO A DOCUMENT IN YOUR WORD PROCESSING PROGRAM.

1. Definitions: Licensed Program means whichever features of the
   software are enabled by the software protection mechanism
   corresponding to the configuration you have licensed.  Software
   means any of the software provided under this Agreement on compact
   disc, via a web-site, or on another medium or through another
   delivery mechanism, including any non-subscribed or unenabled
   features thereof, and any associated user documentation; excepting
   the portions identified in particular files which components are
   subject to the applicable license agreement(s) set forth therein.
 
2.  License to the Licensed Program: By this Agreement, ALTERA grants
    to you a non-exclusive license to use the Licensed Program (and
    any updates thereof for which you have paid a subscription fee) on
    the terms and conditions outlined in this Agreement. Any features
    for which you have not paid a subscription fee or any other
    unenabled features of the Licensed Program (unless ALTERA provides
    a software protection enabling key or code for such unenabled
    features) are unlicensed and you agree not to use or access such
    features. Certain licenses to the Licensed Program are time
    limited, to the extent designated by ALTERA and as may be set
    forth in the feature line license key that is issued, and will
    automatically time-out at the end of the designated period.  The
    source code of the Software, and the algorithms, concepts,
    techniques, methods and processes embodied therein, constitute
    trade secrets and confidential and proprietary information of
    ALTERA and its licensors, and LICENSEE shall not access or use
    such trade secrets and information in any manner, except to the
    extent expressly permitted herein.  ALTERA and its licensors
    retain all title, copyright, patent and other proprietary rights
    therein. LICENSEE agrees not to remove or obscure any copyright,
    trademark or patents notices found in or on any user documentation
    or the Software.

Pursuant to this Agreement, you may: (a) use the Licensed Program on a
single computer (or, if you have purchased a floating node license,
the number of concurrent users for which you have obtained licenses
from ALTERA may use the Licensed Program on networked workstations);
(b) use the Licensed Program for the sole purpose of programming logic
devices manufactured by ALTERA and sold by ALTERA or its authorized
distributors, although if you have obtained the Licensed Program
through Altera's University Program or obtained a Student Version, you
are only permitted to use the Licensed Program for educational and
academic purposes only and expressly excluding any commercial
purposes; (c) you may only use simulation model output files generated
by the "Simgen" feature of the Licensed Software for simulation
purposes and expressly not for synthesis or any other purposes; (d)
make one copy of the Licensed Program in any computer-readable or
printed form for back-up or archival purposes or as otherwise
permitted under this Agreement; and (e) modify the Licensed Program
and/or merge it into another program solely in order to facilitate the
management of software licensing controls of the Licensed Program and
third party software licensed using Flex LM software, provided all
intellectual property notices including copyright and restricted
rights notices appearing on the Licensed Program are included on any
such copy, modification, or portion merged or combined with the other
program. Any copy or portion of the Licensed Program merged into
another program will continue to be subject to the terms and
conditions of this Agreement. Your end customers may use ALTERA
programmable logic devices that have been programmed with the Licensed
Program.

The Licensed Program may be transferred to another party provided the
other party agrees to accept the terms and conditions of this
Agreement and you notify ALTERA in writing of the identity of the
transferee.  If you transfer the Licensed Program, you must at the
same time either transfer all copies, whether in printed or
computer-readable form, to the same party or destroy any copies not
transferred, including all portions of the Licensed Program contained
or merged into another program, and certify the same to ALTERA. If you
have purchased a floating node license as provided above, you may also
copy the Licensed Program onto another computer (or access it through
networked workstations) for use by another person or persons within
your company only; provided that all users agree to accept the terms
and conditions of this Agreement.

YOU MAY NOT USE, COPY, MODIFY, DISTRIBUTE OR TRANSFER THE SOFTWARE OR
ANY COPY, OR MERGED OR COMBINED PORTION THEREOF, IN WHOLE OR IN PART,
EXCEPT AS EXPRESSLY PROVIDED FOR IN THIS AGREEMENT. IF YOU TRANSFER
POSSESSION OF ANY COPY, OR MERGED OR COMBINED PORTION OF THE SOFTWARE,
TO ANOTHER PARTY EXCEPT AS EXPRESSLY PROVIDED HEREIN, YOUR LICENSE IS
AUTOMATICALLY TERMINATED. YOU MAY NOT DECOMPILE, DISASSEMBLE, REVERSE
ENGINEER OR OTHERWISE ATTEMPT TO ACCESS THE SOURCE CODE OF THE
SOFTWARE OR REDUCE IT TO A HUMAN-PERCEIVEABLE FORM; PROVIDED, HOWEVER,
THAT IF YOU ARE LOCATED IN A MEMBER NATION OF THE EUROPEAN COMMUNITY
OR OTHER JURISDICTION THAT PERMITS LIMITED REVERSE ENGINEERING, YOU
MAY PERFORM LIMITED REVERSE ENGINEERING, BUT ONLY AFTER GIVING NOTICE
TO ALTERA AND ONLY TO THE EXTENT PERMITTED BY THE EC SOFTWARE
DIRECTIVE OR OTHER APPLICABLE LAW.  YOU MAY NOT PUBLISH OR DISCLOSE
THE RESULTS OF ANY BENCHMARKING OF THE SOFTWARE, OR USE SUCH RESULTS
FOR YOUR OWN COMPETING SOFTWARE DEVELOPMENT ACTIVITIES, WITHOUT THE
PRIOR WRITTEN PERMISSION OF ALTERA.

3. Altera's Licensors: The Software may contain or be derived from
   portions of code and documentation provided by third parties
   ("Licensors") who may include, without limitation, Sun
   Microsystems, The Regents of the University of California, Softel
   vdm, Verific Design Automation Inc. and Compass Design Automation,
   Inc. under license to ALTERA. ALTERA has assumed responsibility for
   the selection of such code and documentation and its use in
   producing and licensing the Licensed Program. LICENSORS DISCLAIM
   ALL EXPRESS OR IMPLIED WARRANTIES AND CONDITIONS WITH RESPECT TO
   THE USE OF SUCH CODE OR DOCUMENTATION IN THE SOFTWARE, INCLUDING,
   WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR
   A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT.  LICENSORS
   DISCLAIM ALL LIABILITY FOR DAMAGES, INCLUDING, BUT NOT LIMITED TO,
   DIRECT, INDIRECT, SPECIAL, INCIDENTAL, AND CONSEQUENTIAL DAMAGES,
   SUCH AS EXPENSES, RECALL COSTS, BUSINESS INTERRUPTION DAMAGES, LOSS
   OF OR DAMAGE TO INFORMATION, LOST PROFITS, LOST SAVINGS, OR OTHER
   DAMAGES ARISING OUT OF THE USE OF OR INABILITY TO USE THE SOFTWARE.

4. Term: The license is effective until terminated. You may terminate
   it at any time by destroying the Software together with all copies,
   modifications, and merged portions thereof in any form. It will
   also terminate upon conditions set forth elsewhere in this
   Agreement or if you fail to comply with any term or condition of
   this Agreement. You agree upon such termination to destroy the
   Software together with all copies, and merged or combined portions
   thereof in any form and certify same to ALTERA.

5. Limited Warranty and Remedies: For a period of ninety (90) days
   from the date of your first receipt from ALTERA of the software
   protection code or key to enable the Licensed Program, ALTERA
   warrants that (a) the Software will perform substantially in
   accordance with ALTERA's current program documentation, if used in
   compliance with the terms of this Agreement, and (b) the compact
   disc, if any, on which the Software is furnished will be free from
   defects in materials and workmanship under normal use. This
   warranty is limited to you and is not transferable.

During the 90-day warranty period, (1) ALTERA will replace any
Software or compact disc not meeting the foregoing warranty and which
is returned to ALTERA or an authorized ALTERA distributor ("Authorized
Distributor") with adequate proof of purchase; or (2) if ALTERA or the
Authorized Distributor is unable to deliver a replacement Software
which performs substantially in accordance with current program
documentation or a compact disc which is free of defects in materials
or workmanship, you may terminate this Agreement by returning the
Software, and your money will be refunded. Any replacement Software or
compact disc will be warranted for the remainder of the original
warranty period or thirty (30) days, whichever is longer.

THE FOREGOING WARRANTY DOES NOT EXTEND TO ANY COMPACT DISC THAT HAS
BEEN DAMAGED AS A RESULT OF ACCIDENT, MISUSE, ABUSE, OR AS A RESULT OF
SERVICE OR MODIFICATION BY ANYONE OTHER THAN ALTERA OR AN AUTHORIZED
DISTRIBUTOR.

EXCEPT AS EXPRESSLY SET FORTH ABOVE, NO OTHER WARRANTIES OR
CONDITIONS, EITHER EXPRESS OR IMPLIED, ARE MADE WITH RESPECT TO THE
SOFTWARE, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND WARRANTIES OR
CONDITIONS OF TITLE AND NONINFRINGEMENT, AND ALTERA EXPRESSLY
DISCLAIMS ALL WARRANTIES NOT STATED HEREIN. YOU ASSUME THE ENTIRE RISK
AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE. SHOULD THE SOFTWARE
PROVE DEFECTIVE, YOU AND NOT ALTERA OR AN AUTHORIZED DISTRIBUTOR SHALL
ASSUME THE ENTIRE COST OF NECESSARY SERVICING, REPAIR, OR
CORRECTION. Some jurisdictions do not allow the exclusion of implied
warranties, so the above exclusion may not apply to you in full, but
shall be interpreted to apply to the maximum extent permissible under
applicable law.

ALTERA DOES NOT WARRANT THAT THE FUNCTIONS CONTAINED IN THE SOFTWARE
WILL MEET YOUR REQUIREMENTS, OR THAT THE OPERATION OF THE SOFTWARE
WILL BE UNINTERRUPTED OR ERROR-FREE. YOU ALSO ASSUME RESPONSIBILITY
FOR THE SELECTION OF THE SOFTWARE TO ACHIEVE YOUR INTENDED RESULTS AND
FOR THE INSTALLATION, USE, AND RESULTS OBTAINED FROM THE SOFTWARE.

YOUR SOLE REMEDIES AND ALTERA'S ENTIRE LIABILITY ARE AS SET FORTH
ABOVE.  IN NO EVENT WILL ALTERA BE LIABLE TO YOU OR ANY OTHER PERSON
FOR ANY DAMAGES, INCLUDING ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL
OR CONSEQUENTIAL DAMAGES, EXPENSES, RECALL COSTS, BUSINESS
INTERRUPTION DAMAGES, LOSS OF OR DAMAGE TO INFORMATION, LOST PROFITS,
LOST SAVINGS, OR OTHER DAMAGES ARISING OUT OF THE USE OF OR INABILITY
TO USE THE SOFTWARE. Some jurisdictions do not allow the limitation or
exclusion of special, incidental or consequential damages, so the
above limitations or exclusions may not apply to you in full but shall
be interpreted to apply to the maximum extent permissible under
applicable law.

THIS WARRANTY GIVES YOU SPECIFIC LEGAL RIGHTS, AND YOU MAY ALSO HAVE
OTHER RIGHTS WHICH VARY FROM JURISDICTION TO JURISDICTION.  To the
extent that the Software is derived from third-party software, no such
third party warrants the Software, assumes any liability regarding use
of the Software or undertakes to furnish you any support or
information relating to the Software.

6. Representations: ALTERA has the right to enter into this
   Agreement. With the exception of any portion of the Software that
   is licensed by ALTERA from its Licensors, the Software is
   proprietary to ALTERA. ALTERA is not currently aware of any claim
   of infringement with respect to the Software.

7. General: Under no circumstances shall ALTERA be liable to any party
   in an amount beyond the greater of ten dollars or the license fee
   paid by you or your employer to ALTERA for the Licensed Program
   covered by this Agreement.  You may not sublicense, assign, or
   transfer the license, the Software, or disclose any trade secrets
   embodied in the Software, except as expressly provided in this
   Agreement. Any attempt otherwise to sublicense, assign, or transfer
   any of the rights, duties, or obligations hereunder is void and
   shall automatically terminate this license.  You agree not to
   knowingly, directly or indirectly, without prior written consent,
   if required, of the office of Export Administration of the US
   Department of Commerce, Washington D.C. 20230, export or transmit
   any of the Software, or any direct product thereof, to any country
   to which such transmission is restricted by applicable regulations
   or statutes.

This Agreement is entered into for the benefit of ALTERA and its
Licensors and all rights granted to you and all obligations owed to
ALTERA shall be enforceable by ALTERA and its Licensors.  No
modification of this Agreement will be binding unless in writing and
signed by authorized representatives of each party.  If any of the
provisions of this Agreement are held to be in violation of applicable
law, void or unenforceable, then such provisions are herewith waived
or amended to the extent necessary for the Agreement to be otherwise
enforceable.  If you have any questions concerning this Agreement,
including software maintenance or warranty service, you should contact
Altera Corporation, 101 Innovation Drive, San Jose, CA 95134.

This Agreement will be governed by the laws of the State of
California, United States of America. You agree to submit to the
exclusive jurisdiction of the courts in the County of Santa Clara,
State of California for the resolution of any dispute or claim arising
out of or relating to this Agreement.  The prevailing party in any
legal action or arbitration arising out of this Agreement shall be
entitled to reimbursement for its expenses, including court costs and
reasonable attorneys' fees, in addition to any other rights and
remedies such party may have.

BY INSTALLING OR USING THE SOFTWARE OR BY PAYING A SUBSCRIPTION FEE,
YOU ACKNOWLEDGE THAT YOU HAVE READ THIS AGREEMENT, UNDERSTAND IT, AND
AGREE TO BE BOUND BY ITS TERMS AND CONDITIONS. YOU FURTHER AGREE THAT
IT IS THE COMPLETE AND EXCLUSIVE STATEMENT OF THE AGREEMENT BETWEEN
YOU AND ALTERA WHICH SUPERSEDES ANY PROPOSAL OR PRIOR AGREEMENT, ORAL
OR WRITTEN, AND ANY OTHER COMMUNICATIONS BETWEEN YOU AND ALTERA
RELATING TO THE SUBJECT MATTER OF THIS AGREEMENT.

8. U.S. Government Restricted Rights: If you are an agency or
   instrumentality of the United States Government, the Software and
   related documentation are "commercial computer software" and
   "commercial computer software documentation", and pursuant to FAR
   12.212 or DFARS 227.7202, and their successors, as applicable, use,
   reproduction and disclosure of the Software and related
   documentation are governed by the terms of this Agreement.
   Contractor/manufacturer is Altera Corporation, 101 Innovation
   Drive, San Jose, CA 95134 and its Licensors.

Altera Program Subscription License Agreement (c) 2006 Altera
Corporation.  All rights reserved. Quartus and MAX+PLUS are registered
trademarks of Altera Corporation in the US and other countries.


YOUR USE OF THIS SOFTWARE IS GOVERNED BY THE STANDARD ALTERA PROGRAM
LICENSE SUBSCRIPTION AGREEMENT ("THE AGREEMENT").  HOWEVER, THE
FOLLOWING NOTICES ARE PROVIDED AS REQUIRED BY THE APPLICABLE LICENSE
AGREEMENT BETWEEN ALTERA AND THE THIRD PARTIES WHO HAVE PROVIDED THE
FOLLOWING CODE AND DOCUMENTATION UNDER LICENSE TO ALTERA AS SPECIFIED
IN SECTION 3 OF THE AGREEMENT.



1. APACHE (XERCES COMPILED LIBRARY) [FOR QUARTUS II]:

The following terms only apply to the Apache software portions of the
Quartus II development tools:

 * The Apache Software License, Version 1.1
 *
 *
 * Copyright (c) 1999-2000 The Apache Software Foundation.  All rights 
 * reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer. 
 *
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in
 *    the documentation and/or other materials provided with the
 *    distribution.
 *
 * 3. The end-user documentation included with the redistribution,
 *    if any, must include the following acknowledgment:  
 *       "This product includes software developed by the
 *        Apache Software Foundation (http://www.apache.org/)."
 *    Alternately, this acknowledgment may appear in the software itself,
 *    if and wherever such third-party acknowledgments normally appear.
 *
 * 4. The names "Xerces" and "Apache Software Foundation" must
 *    not be used to endorse or promote products derived from this
 *    software without prior written permission. For written 
 *    permission, please contact apache@apache.org.
 *
 * 5. Products derived from this software may not be called "Apache",
 *    nor may "Apache" appear in their name, without prior written
 *    permission of the Apache Software Foundation.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 * ====================================================================
 *
 * This software consists of voluntary contributions made by many
 * individuals on behalf of the Apache Software Foundation and was
 * originally based on software copyright (c) 1999, International
 * Business Machines, Inc., http://www.ibm.com.  For more
 * information on the Apache Software Foundation, please see
 * <http://www.apache.org/>.



2. TLS (COMPILED LIBRARY) [FOR QUARTUS II]:

The following terms only apply to the TLS portions (i.e., add-on
module for Tcl to provide support for OpenSSL) of the Quartus II
development tools:

This software is copyrighted by Matt Newman <matt@novadigm.com> and
other parties. The following terms apply to all files associated with
the software unless explicitly disclaimed in individual files.

The authors hereby grant permission to use, copy, modify, distribute,
and license this software and its documentation for any purpose,
provided that existing copyright notices are retained in all copies
and that this notice is included verbatim in any distributions. No
written agreement, license, or royalty fee is required for any of the
authorized uses. Modifications to this software may be copyrighted by
their authors and need not follow the licensing terms described here,
provided that the new terms are clearly indicated on the first page of
each file where they apply.

IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
NON-INFRINGEMENT.  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND
THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE
MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

GOVERNMENT USE: If you are acquiring this software on behalf of the
U.S. government, the Government shall have only "Restricted Rights" in
the software and related documentation as defined in the Federal
Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2).  If you
are acquiring the software on behalf of the Department of Defense, the
software shall be classified as "Commercial Computer Software" and the
Government shall have only "Restricted Rights" as defined in Clause
252.227-7013 (c) (1) of DFARs.  Notwithstanding the foregoing, the
authors grant the U.S. Government and others acting in its behalf
permission to use and distribute the software in accordance with the
terms specified in this license.

3.  TCL/TK (COMPILED LIBRARY AND EXECUTABLES) [FOR QUARTUS II AND
    MAX+PLUS II ADVANCED SYNTHESIS ONLY]:

The following terms only apply to the Tcl and Tk portions of the
Quartus II/Max+PLUS II Advanced Synthesis development tools:

This software is copyrighted by the Regents of the University of
California, Sun Microsystems, Inc., Scriptics Corporation, ActiveState
Corporation and other parties.  The following terms apply to all files
associated with the software unless explicitly disclaimed in
individual files.

The authors hereby grant permission to use, copy, modify, distribute,
and license this software and its documentation for any purpose,
provided that existing copyright notices are retained in all copies
and that this notice is included verbatim in any distributions. No
written agreement, license, or royalty fee is required for any of the
authorized uses. Modifications to this software may be copyrighted by
their authors and need not follow the licensing terms described here,
provided that the new terms are clearly indicated on the first page of
each file where they apply.

IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
NON-INFRINGEMENT.  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND
THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE
MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

GOVERNMENT USE: If you are acquiring this software on behalf of the
U.S. government, the Government shall have only "Restricted Rights" in
the software and related documentation as defined in the Federal
Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2).  If you
are acquiring the software on behalf of the Department of Defense, the
software shall be classified as "Commercial Computer Software" and the
Government shall have only "Restricted Rights" as defined in Clause
252.227-7013 (c) (1) of DFARs.  Notwithstanding the foregoing, the
authors grant the U.S. Government and others acting in its behalf
permission to use and distribute the software in accordance with the
terms specified in this license.


4. BWIDGET (TCL SCRIPT) [FOR USE WITH QUARTUS II AND MAX+PLUS II
   ADVANCED SYNTHESIS ONLY]:

The following terms only apply to the BWidget Toolkit portions of the
Quartus II/Max+PLUS II Advanced Synthesis development tools:

BWidget ToolKit
Copyright (c) 1998-1999 UNIFIX. 
Copyright (c) 2001-2002 ActiveState Corp. 

The following terms apply to all files associated with the software
unless explicitly disclaimed in individual files.

The authors hereby grant permission to use, copy, modify, distribute,
and license this software and its documentation for any purpose,
provided that existing copyright notices are retained in all copies
and that this notice is included verbatim in any distributions. No
written agreement, license, or royalty fee is required for any of the
authorized uses. Modifications to this software may be copyrighted by
their authors and need not follow the licensing terms described here,
provided that the new terms are clearly indicated on the first page of
each file where they apply.

IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
NON-INFRINGEMENT.  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND
THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE
MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

GOVERNMENT USE: If you are acquiring this software on behalf of the
U.S. government, the Government shall have only "Restricted Rights" in
the software and related documentation as defined in the Federal
Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2).  If you
are acquiring the software on behalf of the Department of Defense, the
software shall be classified as "Commercial Computer Software" and the
Government shall have only "Restricted Rights" as defined in Clause
252.227-7013 (c) (1) of DFARs.  Notwithstanding the foregoing, the
authors grant the U.S. Government and others acting in its behalf
permission to use and distribute the software in accordance with the
terms specified in this license.


5. PERL (EXECUTABLE) [FOR USE WITH QUARTUS II ONLY]:
(the file named "perlsrc.gz" contains the source code for Perl 5.6.1)

The following terms only apply to the Perl scripting tool portions of
the Quartus II development tool (the Standard Version of the
executables and library files are being made available in a zip file
in source format within this package, or they can be obtained from
www.cpan.org):

Copyright (C) 1991-2001 Larry Wall

Preamble 

The intent of this document is to state the conditions under which a
Package may be copied, such that the Copyright Holder maintains some
semblance of artistic control over the development of the package,
while giving the users of the package the right to use and distribute
the Package in a more-or-less customary fashion, plus the right to
make reasonable modifications.

Definitions

"Package" refers to the collection of files distributed by the
Copyright Holder, and derivatives of that collection of files created
through textual modification.

"Standard Version" refers to such a Package if it has not been
modified, or has been modified in accordance with the wishes of the
Copyright Holder as specified below.

"Copyright Holder" is whoever is named in the copyright or copyrights
for the package.

"You" is you, if you're thinking about copying or distributing this
Package.

"Reasonable copying fee" is whatever you can justify on the basis of
media cost, duplication charges, time of people involved, and so
on. (You will not be required to justify it to the Copyright Holder,
but only to the computing community at large as a market that must
bear the fee.)

"Freely Available" means that no fee is charged for the item itself,
though there may be fees involved in handling the item. It also means
that recipients of the item may redistribute it under the same
conditions they received it.

You may make and give away verbatim copies of the source form of the
Standard Version of this Package without restriction, provided that
you duplicate all of the original copyright notices and associated
disclaimers.

You may apply bug fixes, portability fixes and other modifications
derived from the Public Domain or from the Copyright Holder. A Package
modified in such a way shall still be considered the Standard Version.

You may otherwise modify your copy of this Package in any way,
provided that you insert a prominent notice in each changed file
stating how and when you changed that file, and provided that you do
at least ONE of the following:

         place your modifications in the Public Domain or otherwise
         make them Freely Available, such as by posting said
         modifications to Usenet or an equivalent medium, or placing
         the modifications on a major archive site such as
         uunet.uu.net, or by allowing the Copyright Holder to include
         your modifications in the Standard Version of the Package.

         use the modified Package only within your corporation or
         organization.

         rename any non-standard executables so the names do not
         conflict with standard executables, which must also be
         provided, and provide a separate manual page for each
         non-standard executable that clearly documents how it differs
         from the Standard Version.

         make other distribution arrangements with the Copyright Holder. 

You may distribute the programs of this Package in object code or
executable form, provided that you do at least ONE of the following:

         distribute a Standard Version of the executables and library
         files, together with instructions (in the manual page or
         equivalent) on where to get the Standard Version.

         accompany the distribution with the machine-readable source
         of the Package with your modifications.

		 give non-standard executables non-standard names, and clearly
		 document the differences in manual pages (or equivalent),
		 together with instructions on where to get the Standard
		 Version.

         make other distribution arrangements with the Copyright
         Holder.

You may charge a reasonable copying fee for any distribution of this
Package. You may charge any fee you choose for support of this
Package. You may not charge a fee for this Package itself. However,
you may distribute this Package in aggregate with other (possibly
commercial) programs as part of a larger (possibly commercial)
software distribution provided that you do not advertise this Package
as a product of your own. You may embed this Package's interpreter
within an executable of yours (by linking); this shall be construed as
a mere form of aggregation, provided that the complete Standard
Version of the interpreter is so embedded.

The scripts and library files supplied as input to or produced as
output from the programs of this Package do not automatically fall
under the copyright of this Package, but belong to whomever generated
them, and may be sold commercially, and may be aggregated with this
Package. If such scripts or library files are aggregated with this
Package via the so-called "undump" or "unexec" methods of producing a
binary executable image, then distribution of such an image shall
neither be construed as a distribution of this Package nor shall it
fall under the restrictions of Paragraphs 3 and 4, provided that you
do not represent such an executable image as a Standard Version of
this Package.

C subroutines (or comparably compiled subroutines in other languages)
supplied by you and linked into this Package in order to emulate
subroutines and variables of the language defined by this Package
shall not be considered part of this Package, but are the equivalent
of input as in Paragraph 6, provided these subroutines do not change
the language in any way that would cause it to fail the regression
tests for the language.

Aggregation of this Package with a commercial distribution is always
permitted provided that the use of this Package is embedded; that is,
when no overt attempt is made to make this Package's interfaces
visible to the end user of the commercial distribution. Such use shall
not be construed as a distribution of this Package.

The name of the Copyright Holder may not be used to endorse or promote
products derived from this software without specific prior written
permission.

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

The End


6.  INCR TCL (COMPILED LIBRARY) [FOR USE WITH QUARTUS II ONLY]:

The following terms only apply to the [incr Tcl] (also known as Itcl
and Itk) portions of the Quartus II development tools:

This software is copyrighted by Cadence Design Systems, Inc., and
other parties.  The following terms apply to all files associated with
the software unless explicitly disclaimed in individual files.

The authors hereby grant permission to use, copy, modify, distribute,
and license this software and its documentation for any purpose,
provided that existing copyright notices are retained in all copies
and that this notice is included verbatim in any distributions. No
written agreement, license, or royalty fee is required for any of the
authorized uses. Modifications to this software may be copyrighted by
their authors and need not follow the licensing terms described here,
provided that the new terms are clearly indicated on the first page of
each file where they apply.

IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
NON-INFRINGEMENT.  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND
THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE
MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

GOVERNMENT USE: If you are acquiring this software on behalf of the
U.S. government, the Government shall have only "Restricted Rights" in
the software and related documentation as defined in the Federal
Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2).  If you
are acquiring the software on behalf of the Department of Defense, the
software shall be classified as "Commercial Computer Software" and the
Government shall have only "Restricted Rights" as defined in Clause
252.227-7013 (c) (1) of DFARs.  Notwithstanding the foregoing, the
authors grant the U.S. Government and others acting in its behalf
permission to use and distribute the software in accordance with the
terms specified in this license.


7. TCL-DP (TCL SCRIPT) [FOR USE WITH QUARTUS II ONLY]:

The following terms only apply to the tcl-dp portions of the Quartus
II development tool:

Tcl Distributed Programming (Tcl-DP) Copyright (c) 1995-1996 Cornell
University.

1. The "Software", below, refers to the Tcl-DP system, developed by
   the Tcl-DP group (in either source-code, object-code or
   executable-code form), and related documentation, and a "work based
   on the Software" means a work based on either the Software, on part
   of the Software, or on any derivative work of the Software under
   copyright law: that is, a work containing all or a portion of the
   Tcl-DP system, either verbatim or with modifications. Each licensee
   is addressed as "you" or "Licensee."

2. Cornell University as the parent organization of the Tcl-DP group
   holds copyrights in the Software. The copyright holder reserves all
   rights except those expressly granted to licensees, and
   U.S. Government license rights.

3. Permission is hereby granted to use, copy, modify, and to
   redistribute to others. If you distribute a copy or copies of the
   Software, or you modify a copy or copies of the Software or any
   portion of it, thus forming a work based on the Software, and make
   and/or distribute copies of such work, you must meet the following
   conditions:

       1. If you make a copy of the Software (modified or verbatim) it
             must include the copyright notice and this license.

       2. You must cause the modified Software to carry prominent
             notices stating that you changed specified portions of
             the Software.

4. LICENSEE AGREES THAT THE EXPORT OF GOODS AND/OR TECHNICAL DATA FROM
   THE UNITED STATES MAY REQUIRE SOME FORM OF EXPORT CONTROL LICENSE
   FROM THE U.S. GOVERNMENT AND THAT FAILURE TO OBTAIN SUCH EXPORT
   CONTROL LICENSE MAY RESULT IN CRIMINAL LIABILITY UNDER U.S. LAWS.

5. Portions of the Software resulted from work developed under a
   U.S. Government Contract and are subject to the following license:
   the Government is granted for itself and others acting on its
   behalf a paid-up, nonexclusive, irrevocable worldwide license in
   this computer software to reproduce, prepare derivative works, and
   perform publicly and display publicly.

6. Disclaimer of warranty: Licensor provides the software on an ``as
   is'' basis. Licensor does not warrant, guarantee, or make any
   representations regarding the use or results of the software with
   respect to its correctness, accuracy, reliability or
   performance. The entire risk of the use and performance of the
   software is assumed by licensee. ALL WARANTIES INCLUDING, WITHOUT
   LIMITATION, ANY WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE OR
   MERCHANTABILITY ARE HEREBY EXCLUDED.

7. Lack of maintenance or support services: Licensee understands and
   agrees that licensor is under no obligation to provide maintenance,
   support or update services, notices of latent defects, or
   correction of defects for the software.

8. Limitation of liability, indemnification: Even if advised of the
   possibility of damages, under no circumstances shall licensor be
   liable to licensee or any third party for damages of any character,
   including, without limitation, direct, indirect, incidental,
   consequential or special damages, loss of profits, loss of use,
   loss of goodwill, computer failure or malfunction. Licensee agrees
   to indemnify and hold harmless licensor for any and all liability
   licensor may incur as a result of licensee's use of the software.
     





The following applies only to those portions of the software that are
subject to the GNU GPL or GNU GLPL:

Altera Corporation (located at 101 Innovation Drive, San Jose,
California 95134, 408-544-7000) hereby offers, for a period of three
years from the date of your receipt of this software from Altera or
its authorized distributors, to give any third party, for a charge no
more than the cost of physically performing source distribution, a
complete machine-readable copy of the source code to these limited
portions of the software subject to the GNU General Public License or
the GNU Lesser General Public License, to be distributed on a medium
customarily used for software interchange.


8. GNU "GZIP" COMMAND, GNU "MAKE", AND GNU "TAR" (EXECUTABLE) [FOR USE
   WITH QUARTUS II ONLY]:

The following terms only apply to the GNU "gzip" command portions and
the GNU Make portions of the software:

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at
your option) any later version.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

Altera Corporation (located at 101 Innovation Drive, San Jose,
California 95134, 408-544-7000) hereby offers, for a period of three
years from the date of your receipt of this software from Altera or
its authorized distributors, to give any third party, for a charge no
more than the cost of physically performing source distribution, a
complete machine-readable copy of the source code to these limited
portions of the software subject to the GNU General Public License, to
be distributed on a medium customarily used for software interchange.

GNU `gzip' command for compressing files.  Copyright (C) 1992-1993
Jean-loup Gailly GNU Make.  Copyright (C) 1989, 1991 Free Software
Foundation, Inc.  GNU Tar.  Copyright (C) 1992, 1994, 1995, 1996,
1997, 1999, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.



		    GNU GENERAL PUBLIC LICENSE
		       Version 2, June 1991

 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
                          675 Mass Ave, Cambridge, MA 02139, USA
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.

			    Preamble

  The licenses for most software are designed to take away your
freedom to share and change it.  By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users.  This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it.  (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.)  You can apply it to
your programs, too.

  When we speak of free software, we are referring to freedom, not
price.  Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.

  To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.

  For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have.  You must make sure that they, too, receive or can get the
source code.  And you must show them these terms so they know their
rights.

  We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.

  Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software.  If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.

  Finally, any free program is threatened constantly by software
patents.  We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary.  To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.

  The precise terms and conditions for copying, distribution and
modification follow.


		    GNU GENERAL PUBLIC LICENSE
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License.  The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language.  (Hereinafter, translation is included without limitation in
the term "modification".)  Each licensee is addressed as "you".

Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope.  The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.

  1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.

You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.

  2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:

    a) You must cause the modified files to carry prominent notices
    stating that you changed the files and the date of any change.

    b) You must cause any work that you distribute or publish, that in
    whole or in part contains or is derived from the Program or any
    part thereof, to be licensed as a whole at no charge to all third
    parties under the terms of this License.

    c) If the modified program normally reads commands interactively
    when run, you must cause it, when started running for such
    interactive use in the most ordinary way, to print or display an
    announcement including an appropriate copyright notice and a
    notice that there is no warranty (or else, saying that you provide
    a warranty) and that users may redistribute the program under
    these conditions, and telling the user how to view a copy of this
    License.  (Exception: if the Program itself is interactive but
    does not normally print such an announcement, your work based on
    the Program is not required to print an announcement.)


These requirements apply to the modified work as a whole.  If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works.  But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.

Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.

In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.

  3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:

    a) Accompany it with the complete corresponding machine-readable
    source code, which must be distributed under the terms of Sections
    1 and 2 above on a medium customarily used for software interchange; or,

    b) Accompany it with a written offer, valid for at least three
    years, to give any third party, for a charge no more than your
    cost of physically performing source distribution, a complete
    machine-readable copy of the corresponding source code, to be
    distributed under the terms of Sections 1 and 2 above on a medium
    customarily used for software interchange; or,

    c) Accompany it with the information you received as to the offer
    to distribute corresponding source code.  (This alternative is
    allowed only for noncommercial distribution and only if you
    received the program in object code or executable form with such
    an offer, in accord with Subsection b above.)

The source code for a work means the preferred form of the work for
making modifications to it.  For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable.  However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.

If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.


  4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License.  Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.

  5. You are not required to accept this License, since you have not
signed it.  However, nothing else grants you permission to modify or
distribute the Program or its derivative works.  These actions are
prohibited by law if you do not accept this License.  Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.

  6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions.  You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.

  7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License.  If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all.  For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.

If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.

It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices.  Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.

This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.


  8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded.  In such case, this License incorporates
the limitation as if written in the body of this License.

  9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time.  Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.

Each version is given a distinguishing version number.  If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation.  If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.

  10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission.  For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this.  Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.

			    NO WARRANTY

  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.

  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.

		     END OF TERMS AND CONDITIONS


	Appendix: How to Apply These Terms to Your New Programs

  If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.

  To do so, attach the following notices to the program.  It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>
    Copyright (C) 19yy  <name of author>

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

Also add information on how to contact you by electronic and paper mail.

If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:

    Gnomovision version 69, Copyright (C) 19yy name of author
    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
    This is free software, and you are welcome to redistribute it
    under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License.  Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.

You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary.  Here is a sample; alter the names:

  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
  `Gnomovision' (which makes passes at compilers) written by James Hacker.

  <signature of Ty Coon>, 1 April 1989
  Ty Coon, President of Vice

This General Public License does not permit incorporating your program into
proprietary programs.  If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library.  If this is what you want to do, use the GNU Library General
Public License instead of this License.



9.  BUDDY (COMPILED INTO QUARTUS II CODE) [FOR USE WITH QUARTUS II
    ONLY]:

The following terms only apply to the BuDDy portions of the software:

Copyright (C) 1996-2002 by Jorn Lind-Nielsen.  All rights reserved

Permission is hereby granted, without written agreement and without
license or royalty fees, to use, reproduce, prepare derivative works,
distribute, and display this software and its documentation for any
purpose, provided that (1) the above copyright notice and the
following two paragraphs appear in all copies of the source code and
(2) redistributions, including without limitation binaries, reproduce
these notices in the supporting documentation. Substantial
modifications to this software may be copyrighted by their authors and
need not follow the licensing terms described here, provided that the
new terms are clearly indicated in all files where they apply.

IN NO EVENT SHALL JORN LIND-NIELSEN, OR DISTRIBUTORS OF THIS SOFTWARE
BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
DOCUMENTATION, EVEN IF THE AUTHORS OR ANY OF THE ABOVE PARTIES HAVE
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

JORN LIND-NIELSEN SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT
NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS
IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO
PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.



10. TKTABLE (COMPILED LIBRARY) [FOR USE WITH QUARTUS II ONLY]:

The following terms only apply to the TkTable portions of the software:

This software is copyrighted by Jeffrey Hobbs <jeff.hobbs@acm.org>.
The following terms apply to all files associated with the software
unless explicitly disclaimed in individual files.

The authors hereby grant permission to use, copy, modify, distribute,
and license this software and its documentation for any purpose,
provided that existing copyright notices are retained in all copies
and that this notice is included verbatim in any distributions.  No
written agreement, license, or royalty fee is required for any of the
authorized uses.

IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
NON-INFRINGEMENT.  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND
THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE
MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

RESTRICTED RIGHTS: Use, duplication or disclosure by the
U.S. government is subject to the restrictions as set forth in
subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer
Software Clause as DFARS 252.227-7013 and FAR 52.227-19.

SPECIAL NOTES:

This software also falls under the bourbon_ware clause: Should you
find this software useful in your daily work, you should feel obliged
to take the author out for a drink if the opportunity presents itself.
The user may feel exempt from this clause if they are under 21 or
think the author has already partaken of too many drinks.


11. BLT (COMPILED LIBRARY) [FOR USE WITH QUARTUS II ONLY]:

The following notices apply only to the BLT portions of the software.

 * Copyright 1991-1998 by Bell Labs Innovations for Lucent
 * Technologies.
 *
 * Permission to use, copy, modify, and distribute this software and
 * its documentation for any purpose and without fee is hereby
 * granted, provided that the above copyright notice appear in all
 * copies and that both that the copyright notice and warranty
 * disclaimer appear in supporting documentation, and that the names
 * of Lucent Technologies any of their entities not be used in
 * advertising or publicity pertaining to distribution of the software
 * without specific, written prior permission.
 *
 * Lucent Technologies disclaims all warranties with regard to this
 * software, including all implied warranties of merchantability and
 * fitness.  In no event shall Lucent Technologies be liable for any
 * special, indirect or consequential damages or any damages
 * whatsoever resulting from loss of use, data or profits, whether in
 * an action of contract, negligence or other tortuous action, arising
 * out of or in connection with the use or performance of this
 * software.


12. ZLIB (COMPILED INTO QUARTUS CODE) [FOR USE WITH QUARTUS II ONLY]:

The following notices apply only to the "zlib" general purpose
compression library.

'zlib' general purpose compression library
  version 1.1.3, July 9th, 1998
 
  Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler
 
  This software is provided 'as-is', without any express or implied
  warranty.  In no event will the authors be held liable for any damages
  arising from the use of this software.
 
  Permission is granted to anyone to use this software for any purpose,
  including commercial applications, and to alter it and redistribute it
  freely, subject to the following restrictions:
 
  1. The origin of this software must not be misrepresented; you must not
     claim that you wrote the original software. If you use this software
     in a product, an acknowledgment in the product documentation would be
     appreciated but is not required.
  2. Altered source versions must be plainly marked as such, and must not be
     misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.
 
  Jean-loup Gailly        Mark Adler
  jloup@gzip.org          madler@alumni.caltech.edu



13. JAVA RUNTIME ENVIRONMENT (EXECUTABLE) [FOR USE WITH QUARTUS II ONLY]:

The following notices apply only to the Java Runtime Environment executable:

                          Sun Microsystems, Inc.  
                       Binary Code License Agreement 

                                 for the 
   JAVATM 2 RUNTIME ENVIRONMENT (J2RE), STANDARD EDITION, VERSION 1.4.2_X

SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE SOFTWARE
IDENTIFIED BELOW TO YOU ONLY UPON THE CONDITION THAT YOU ACCEPT ALL OF THE
TERMS CONTAINED IN THIS BINARY CODE LICENSE AGREEMENT AND SUPPLEMENTAL
LICENSE TERMS (COLLECTIVELY "AGREEMENT"). PLEASE READ THE AGREEMENT
CAREFULLY. BY DOWNLOADING OR INSTALLING THIS SOFTWARE, YOU ACCEPT THE
TERMS OF THE AGREEMENT.  INDICATE ACCEPTANCE BY SELECTING THE "ACCEPT"
BUTTON AT THE BOTTOM OF THE AGREEMENT. IF YOU ARE NOT WILLING TO BE BOUND
BY ALL THE TERMS, SELECT THE "DECLINE" BUTTON AT THE BOTTOM OF THE
AGREEMENT AND THE DOWNLOAD OR INSTALL PROCESS WILL NOT CONTINUE.

1.DEFINITIONS. "Software" means the identified above in binary form, any
other machine readable materials (including, but not limited to,
libraries, source files, header files, and data files), any updates or
error corrections provided by Sun, and any user manuals, programming
guides and other documentation provided to you by Sun under this
Agreement. "Programs" mean Java applets and applications intended to run
on the Java 2 Platform, Standard Edition (J2SETM platform) platform on
Java-enabled general purpose desktop computers and servers.

2.LICENSE TO USE. Subject to the terms and conditions of this Agreement,
including, but not limited to the Java Technology Restrictions of the
Supplemental License Terms, Sun grants you a non-exclusive,
non-transferable, limited license without license fees to reproduce and
use internally Software complete and unmodified for the sole purpose of
running Programs. Additional licenses for developers and/or publishers are
granted in the Supplemental License Terms.

3.RESTRICTIONS. Software is confidential and copyrighted. Title to
Software and all associated intellectual property rights is retained by
Sun and/or its licensors. Unless enforcement is prohibited by applicable
law, you may not modify, decompile, or reverse engineer Software. You
acknowledge that Licensed Software is not designed or intended for use in
the design, construction, operation or maintenance of any nuclear
facility. Sun Microsystems, Inc.  disclaims any express or implied
warranty of fitness for such uses. No right, title or interest in or to
any trademark, service mark, logo or trade name of Sun or its licensors is
granted under this Agreement. Additional restrictions for developers
and/or publishers licenses are set forth in the Supplemental License
Terms.

4.LIMITED WARRANTY. Sun warrants to you that for a period of ninety (90)
days from the date of purchase, as evidenced by a copy of the receipt, the
media on which Software is furnished (if any) will be free of defects in
materials and workmanship under normal use. Except for the foregoing,
Software is provided "AS IS". Your exclusive remedy and Sun's entire
liability under this limited warranty will be at Sun's option to replace
Software media or refund the fee paid for Software. Any implied warranties
on the Software are limited to 90 days. Some states do not allow
limitations on duration of an implied warranty, so the above may not apply
to you. This limited warranty gives you specific legal rights. You may
have others, which vary from state to state.

5.DISCLAIMER OF WARRANTY. UNLESS SPECIFIED IN THIS AGREEMENT, ALL EXPRESS
OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT THESE
DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.

6.LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO
EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR
DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE
DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT
OF OR RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event will Sun's
liability to you, whether in contract, tort (including negligence), or
otherwise, exceed the amount paid by you for Software under this
Agreement. The foregoing limitations will apply even if the above stated
warranty fails of its essential purpose. Some states do not allow the
exclusion of incidental or consequential damages, so some of the terms
above may not be applicable to you.

7.SOFTWARE UPDATES FROM SUN. You acknowledge that at your request or
consent optional features of the Software may download, install, and
execute applets, applications, software extensions, and updated versions
of the Software from Sun ("Software Updates"), which may require you to
accept updated terms and conditions for installation. If additional terms
and conditions are not presented on installation, the Software Updates
will be considered part of the Software and subject to the terms and
conditions of the Agreement.

8.SOFTWARE FROM SOURCES OTHER THAN SUN. You acknowledge that, by your use
of optional features of the Software and/or by requesting services that
require use of the optional features of the Software, the Software may
automatically download, install, and execute software applications from
sources other than Sun ("Other Software"). Sun makes no representations of
a relationship of any kind to licensors of Other Software. TO THE EXTENT
NOT PROHIBITED BY LAW, IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR
ANY LOST REVENUE, PROFIT OR DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL,
INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY OF
LIABILITY, ARISING OUT OF OR RELATED TO THE USE OF OR INABILITY TO USE
OTHER SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES. Some states do not allow the exclusion of incidental or
consequential damages, so some of the terms above may not be applicable to
you.

9.TERMINATION. This Agreement is effective until terminated. You may
terminate this Agreement at any time by destroying all copies of Software.
This Agreement will terminate immediately without notice from Sun if you
fail to comply with any provision of this Agreement. Either party may
terminate this Agreement immediately should any Software become, or in
either party's opinion be likely to become, the subject of a claim of
infringement of any intellectual property right. Upon Termination, you
must destroy all copies of Software.

10.EXPORT REGULATIONS. All Software and technical data delivered under
this Agreement are subject to US export control laws and may be subject to
export or import regulations in other countries. You agree to comply
strictly with all such laws and regulations and acknowledge that you have
the responsibility to obtain such licenses to export, re-export, or import
as may be required after delivery to you.

11.TRADEMARKS AND LOGOS. You acknowledge and agree as between you and Sun
that Sun owns the SUN, SOLARIS, JAVA, JINI, FORTE, and iPLANET trademarks
and all SUN, SOLARIS, JAVA, JINI, FORTE, and iPLANET-related trademarks,
service marks, logos and other brand designations ("Sun Marks"), and you
agree to comply with the Sun Trademark and Logo Usage Requirements
currently located at http://www.sun.com/policies/trademarks. Any use you
make of the Sun Marks inures to Sun's benefit.

12.U.S. GOVERNMENT RESTRICTED RIGHTS. If Software is being acquired by or
on behalf of the U.S. Government or by a U.S. Government prime contractor
or subcontractor (at any tier), then the Government's rights in Software
and accompanying documentation will be only as set forth in this
Agreement; this is in accordance with 48 CFR 227.7201 through 227.7202-4
(for Department of Defense (DOD) acquisitions) and with 48 CFR 2.101 and
12.212 (for non-DOD acquisitions).

13.GOVERNING LAW. Any action related to this Agreement will be governed by
California law and controlling U.S. federal law. No choice of law rules of
any jurisdiction will apply.

14.SEVERABILITY. If any provision of this Agreement is held to be
unenforceable, this Agreement will remain in effect with the provision
omitted, unless omission would frustrate the intent of the parties, in
which case this Agreement will immediately terminate.

15.INTEGRATION. This Agreement is the entire agreement between you and Sun
relating to its subject matter. It supersedes all prior or contemporaneous
oral or written communications, proposals, representations and warranties
and prevails over any conflicting or additional terms of any quote, order,
acknowledgment, or other communication between the parties relating to its
subject matter during the term of this Agreement. No modification of this
Agreement will be binding, unless in writing and signed by an authorized
representative of each party.

SUPPLEMENTAL LICENSE TERMS

These Supplemental License Terms add to or modify the terms of the Binary
Code License Agreement. Capitalized terms not defined in these
Supplemental Terms shall have the same meanings ascribed to them in the
Binary Code License Agreement . These Supplemental Terms shall supersede
any inconsistent or conflicting terms in the Binary Code License
Agreement, or in any license contained within the Software.

A.Software Internal Use and Development License Grant. Subject to the
terms and conditions of this Agreement, including, but not limited to the
Java Technology Restrictions of these Supplemental Terms, Sun grants you a
non-exclusive, non-transferable, limited license without fees to reproduce
internally and use internally the Software complete and unmodified (unless
otherwise specified in the applicable README file) for the purpose of
designing, developing, and testing your Programs.

B.License to Distribute Software. Subject to the terms and conditions of
this Agreement, including, but not limited to the Java Technology
Restrictions of these Supplemental Terms, Sun grants you a non-exclusive,
non-transferable, limited license without fees to reproduce and distribute
the Software, provided that (i) you distribute the Software complete and
unmodified (unless otherwise specified in the applicable README file) and
only bundled as part of, and for the sole purpose of running, your
Programs, (ii) the Programs add significant and primary functionality to
the Software, (iii) you do not distribute additional software intended to
replace any component(s) of the Software (unless otherwise specified in
the applicable README file), (iv) you do not remove or alter any
proprietary legends or notices contained in the Software, (v) you only
distribute the Software subject to a license agreement that protects Sun's
interests consistent with the terms contained in this Agreement, and (vi)
you agree to defend and indemnify Sun and its licensors from and against
any damages, costs, liabilities, settlement amounts and/or expenses
(including attorneys' fees) incurred in connection with any claim, lawsuit
or action by any third party that arises or results from the use or
distribution of any and all Programs and/or Software.

C.License to Distribute Redistributables. Subject to the terms and
conditions of this Agreement, including but not limited to the Java
Technology Restrictions of these Supplemental Terms, Sun grants you a
non-exclusive, non-transferable, limited license without fees to reproduce
and distribute those files specifically identified as redistributable in
the Software "README" file ("Redistributables") provided that: (i) you
distribute the Redistributables complete and unmodified (unless otherwise
specified in the applicable README file), and only bundled as part of
Programs, (ii) you do not distribute additional software intended to
supersede any component(s) of the Redistributables (unless otherwise
specified in the applicable README file), (iii) you do not remove or alter
any proprietary legends or notices contained in or on the
Redistributables, (iv) you only distribute the Redistributables pursuant
to a license agreement that protects Sun's interests consistent with the
terms contained in the Agreement, (v) you agree to defend and indemnify
Sun and its licensors from and against any damages, costs, liabilities,
settlement amounts and/or expenses (including attorneys' fees) incurred in
connection with any claim, lawsuit or action by any third party that
arises or results from the use or distribution of any and all Programs
and/or Software.

D.Java Technology Restrictions. You may not modify the Java Platform
Interface ("JPI", identified as classes contained within the "java"
package or any subpackages of the "java" package), by creating additional
classes within the JPI or otherwise causing the addition to or
modification of the classes in the JPI. In the event that you create an
additional class and associated API(s) which (i) extends the functionality
of the Java platform, and (ii) is exposed to third party software
developers for the purpose of developing additional software which invokes
such additional API, you must promptly publish broadly an accurate
specification for such API for free use by all developers. You may not
create, or authorize your licensees to create, additional classes,
interfaces, or subpackages that are in any way identified as "java",
"javax", "sun" or similar convention as specified by Sun in any naming
convention designation.

E.Source Code. Software may contain source code that, unless expressly
licensed for other purposes, is provided solely for reference purposes
pursuant to the terms of this Agreement. Source code may not be
redistributed unless expressly provided for in this Agreement.

F.Third Party Code. Additional copyright notices and license terms
applicable to portions of the Software are set forth in the
THIRDPARTYLICENSEREADME.txt file.  In addition to any terms and conditions
of any third party opensource/freeware license identified in the
THIRDPARTYLICENSEREADME.txt file, the disclaimer of warranty and
limitation of liability provisions in paragraphs 5 and 6 of the Binary
Code License Agreement shall apply to all Software in this distribution.

For inquiries please contact: Sun Microsystems, Inc., 4150 Network Circle,
Santa Clara, California 95054, U.S.A.
(LFI#135955/Form ID#011801)


14.	IBM ICU INTERNATIONALIZATION LIBRARY  [FOR USE WITH QUARTUS II ONLY]:

The following notice applies only to the IBM ICU internationalization
library portion of the software.

ICU License - ICU 1.8.1 and later COPYRIGHT AND PERMISSION NOTICE.
Copyright (c) 1995-2003 International Business Machines Corporation
and others.  All rights reserved.  Permission is hereby granted, free
of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the
Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, and/or sell copies
of the Software, and to permit persons to whom the Software is
furnished to do so, provided that the above copyright notice(s) and
this permission notice appear in all copies of the Software and that
both the above copyright notice(s) and this permission notice appear
in supporting documentation. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT
WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE
COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY
CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY
DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE. Except as contained in this notice, the name of a copyright
holder shall not be used in advertising or otherwise to promote the
sale, use or other dealings in this Software without prior written
authorization of the copyright holder.



15. OPEN SOURCE SYSTEMC LIBRARY [FOR USE WITH QUARTUS II ONLY]:

The following terms only apply to the Open Source SystemC library
(systemc.dll), included with the Quartus II development tool (object
code only is being shipped with the Quartus II development tool -
source code may be obtained from http://www.systemc.org by registering
at the OSCI website):

Copyright (C) 1996-2006, by all Contributors to the Open SystemC
Initiative (OSCI), a California nonprofit mutual benefit corporation.
All rights reserved.


16.	THE INDEPENDENT JPEG GROUP'S JPEG SOFTWARE [FOR USE WITH QUARTUS II ONLY]:

The following terms only apply to the IJG's JPEG software portions
that are included in the Quartus II development tool:


The Independent JPEG Group's JPEG software
==========================================

README for release 6a of 7-Feb-96
=================================

This distribution contains the sixth public release of the Independent
JPEG Group's free JPEG software.  You are welcome to redistribute this
software and to use it for any purpose, subject to the conditions
under LEGAL ISSUES, below.

Serious users of this software (particularly those incorporating it
into larger programs) should contact IJG at jpeg-info@uunet.uu.net to
be added to our electronic mailing list.  Mailing list members are
notified of updates and have a chance to participate in technical
discussions, etc.

This software is the work of Tom Lane, Philip Gladstone, Luis Ortiz,
Jim Boucher, Lee Crocker, Julian Minguillon, George Phillips, Davide
Rossi, Ge' Weijers, and other members of the Independent JPEG Group.

IJG is not affiliated with the official ISO JPEG standards committee.


DOCUMENTATION ROADMAP
=====================

This file contains the following sections:

OVERVIEW            General description of JPEG and the IJG software.
LEGAL ISSUES        Copyright, lack of warranty, terms of distribution.
REFERENCES          Where to learn more about JPEG.
ARCHIVE LOCATIONS   Where to find newer versions of this software.
RELATED SOFTWARE    Other stuff you should get.
FILE FORMAT WARS    Software *not* to get.
TO DO               Plans for future IJG releases.

Other documentation files in the distribution are:

User documentation:
  install.doc       How to configure and install the IJG software.
  usage.doc         Usage instructions for cjpeg, djpeg, jpegtran,
                    rdjpgcom, and wrjpgcom.
  *.1               Unix-style man pages for programs (same info as usage.doc).
  wizard.doc        Advanced usage instructions for JPEG wizards only.
  change.log        Version-to-version change highlights.
Programmer and internal documentation:
  libjpeg.doc       How to use the JPEG library in your own programs.
  example.c         Sample code for calling the JPEG library.
  structure.doc     Overview of the JPEG library's internal structure.
  filelist.doc      Road map of IJG files.
  coderules.doc     Coding style rules --- please read if you contribute code.

Please read at least the files install.doc and usage.doc.  Useful
information can also be found in the JPEG FAQ (Frequently Asked
Questions) article.  See ARCHIVE LOCATIONS below to find out where to
obtain the FAQ article.

If you want to understand how the JPEG code works, we suggest reading
one or more of the REFERENCES, then looking at the documentation files
(in roughly the order listed) before diving into the code.


OVERVIEW
========

This package contains C software to implement JPEG image compression
and decompression.  JPEG (pronounced "jay-peg") is a standardized
compression method for full-color and gray-scale images.  JPEG is
intended for compressing "real-world" scenes; line drawings, cartoons
and other non-realistic images are not its strong suit.  JPEG is
lossy, meaning that the output image is not exactly identical to the
input image.  Hence you must not use JPEG if you have to have
identical output bits.  However, on typical photographic images, very
good compression levels can be obtained with no visible change, and
remarkably high compression levels are possible if you can tolerate a
low-quality image.  For more details, see the references, or just
experiment with various compression settings.

This software implements JPEG baseline, extended-sequential, and
progressive compression processes.  Provision is made for supporting
all variants of these processes, although some uncommon parameter
settings aren't implemented yet.  For legal reasons, we are not
distributing code for the arithmetic-coding variants of JPEG; see
LEGAL ISSUES.  We have made no provision for supporting the
hierarchical or lossless processes defined in the standard.

We provide a set of library routines for reading and writing JPEG
image files, plus two sample applications "cjpeg" and "djpeg", which
use the library to perform conversion between JPEG and some other
popular image file formats.  The library is intended to be reused in
other applications.

In order to support file conversion and viewing software, we have
included considerable functionality beyond the bare JPEG
coding/decoding capability; for example, the color quantization
modules are not strictly part of JPEG decoding, but they are essential
for output to colormapped file formats or colormapped displays.  These
extra functions can be compiled out of the library if not required for
a particular application.  We have also included "jpegtran", a utility
for lossless transcoding between different JPEG processes, and
"rdjpgcom" and "wrjpgcom", two simple applications for inserting and
extracting textual comments in JFIF files.

The emphasis in designing this software has been on achieving
portability and flexibility, while also making it fast enough to be
useful.  In particular, the software is not intended to be read as a
tutorial on JPEG.  (See the REFERENCES section for introductory
material.)  Rather, it is intended to be reliable, portable,
industrial-strength code.  We do not claim to have achieved that goal
in every aspect of the software, but we strive for it.

We welcome the use of this software as a component of commercial
products.  No royalty is required, but we do ask for an
acknowledgement in product documentation, as described under LEGAL
ISSUES.


LEGAL ISSUES
============

In plain English:

1. We don't promise that this software works.  (But if you find any
   bugs, please let us know!)
2. You can use this software for whatever you want.  You don't have to
   pay us.
3. You may not pretend that you wrote this software.  If you use it in
   a program, you must acknowledge somewhere in your documentation
   that you've used the IJG code.

In legalese:

The authors make NO WARRANTY or representation, either express or
implied, with respect to this software, its quality, accuracy,
merchantability, or fitness for a particular purpose.  This software
is provided "AS IS", and you, its user, assume the entire risk as to
its quality and accuracy.

This software is copyright (C) 1991-1996, Thomas G. Lane.  All Rights
Reserved except as specified below.

Permission is hereby granted to use, copy, modify, and distribute this
software (or portions thereof) for any purpose, without fee, subject
to these conditions:
(1) If any part of the source code for this software is distributed,
then this README file must be included, with this copyright and
no-warranty notice unaltered; and any additions, deletions, or changes
to the original files must be clearly indicated in accompanying
documentation.
(2) If only executable code is distributed, then the accompanying
documentation must state that "this software is based in part on the
work of the Independent JPEG Group".
(3) Permission for use of this software is granted only if the user
accepts full responsibility for any undesirable consequences; the
authors accept NO LIABILITY for damages of any kind.

These conditions apply to any software derived from or based on the
IJG code, not just to the unmodified library.  If you use our work,
you ought to acknowledge us.

Permission is NOT granted for the use of any IJG author's name or
company name in advertising or publicity relating to this software or
products derived from it.  This software may be referred to only as
"the Independent JPEG Group's software".

We specifically permit and encourage the use of this software as the
basis of commercial products, provided that all warranty or liability
claims are assumed by the product vendor.


ansi2knr.c is included in this distribution by permission of L. Peter
Deutsch, sole proprietor of its copyright holder, Aladdin Enterprises
of Menlo Park, CA.  ansi2knr.c is NOT covered by the above copyright
and conditions, but instead by the usual distribution terms of the
Free Software Foundation; principally, that you must include source
code if you redistribute it.  (See the file ansi2knr.c for full
details.)  However, since ansi2knr.c is not needed as part of any
program generated from the IJG code, this does not limit you more than
the foregoing paragraphs do.

The configuration script "configure" was produced with GNU Autoconf.
It is copyright by the Free Software Foundation but is freely
distributable.

It appears that the arithmetic coding option of the JPEG spec is
covered by patents owned by IBM, AT&T, and Mitsubishi.  Hence
arithmetic coding cannot legally be used without obtaining one or more
licenses.  For this reason, support for arithmetic coding has been
removed from the free JPEG software.  (Since arithmetic coding
provides only a marginal gain over the unpatented Huffman mode, it is
unlikely that very many implementations will support it.)  So far as
we are aware, there are no patent restrictions on the remaining code.

WARNING: Unisys has begun to enforce their patent on LZW compression
against GIF encoders and decoders.  You will need a license from
Unisys to use the included rdgif.c or wrgif.c files in a commercial or
shareware application.  At this time, Unisys is not enforcing their
patent against freeware, so distribution of this package remains
legal.  However, we intend to remove GIF support from the IJG package
as soon as a suitable replacement format becomes reasonably popular.

We are required to state that "The Graphics Interchange Format(c) is
    the Copyright property of CompuServe Incorporated.  GIF(sm) is a
    Service Mark property of CompuServe Incorporated."


REFERENCES
==========

We highly recommend reading one or more of these references before
trying to understand the innards of the JPEG software.

The best short technical introduction to the JPEG compression
	algorithm is Wallace, Gregory K.  "The JPEG Still Picture
	Compression Standard", Communications of the ACM, April 1991
	(vol. 34 no. 4), pp. 30-44.
(Adjacent articles in that issue discuss MPEG motion picture
compression, applications of JPEG, and related topics.)  If you don't
have the CACM issue handy, a PostScript file containing a revised
version of Wallace's article is available at ftp.uu.net,
graphics/jpeg/wallace.ps.gz.  The file (actually a preprint for an
article that appeared in IEEE Trans. Consumer Electronics) omits the
sample images that appeared in CACM, but it includes corrections and
some added material.  Note: the Wallace article is copyright ACM and
IEEE, and it may not be used for commercial purposes.

A somewhat less technical, more leisurely introduction to JPEG can be
found in "The Data Compression Book" by Mark Nelson, published by M&T
Books (Redwood City, CA), 1991, ISBN 1-55851-216-0.  This book
provides good explanations and example C code for a multitude of
compression methods including JPEG.  It is an excellent source if you
are comfortable reading C code but don't know much about data
compression in general.  The book's JPEG sample code is far from
industrial-strength, but when you are ready to look at a full
implementation, you've got one here...

The best full description of JPEG is the textbook "JPEG Still Image
Data Compression Standard" by William B. Pennebaker and Joan
L. Mitchell, published by Van Nostrand Reinhold, 1993, ISBN
0-442-01272-1.  Price US$59.95, 638 pp.  The book includes the
complete text of the ISO JPEG standards (DIS 10918-1 and draft DIS
10918-2).  This is by far the most complete exposition of JPEG in
existence, and we highly recommend it.

The JPEG standard itself is not available electronically; you must
order a paper copy through ISO or ITU.  (Unless you feel a need to own
a certified official copy, we recommend buying the Pennebaker and
Mitchell book instead; it's much cheaper and includes a great deal of
useful explanatory material.)  In the USA, copies of the standard may
be ordered from ANSI Sales at (212) 642-4900, or from Global
Engineering Documents at (800) 854-7179.  (ANSI doesn't take credit
card orders, but Global does.)  It's not cheap: as of 1992, ANSI was
charging $95 for Part 1 and $47 for Part 2, plus 7% shipping/handling.
The standard is divided into two parts, Part 1 being the actual
specification, while Part 2 covers compliance testing methods.  Part 1
is titled "Digital Compression and Coding of Continuous-tone Still
Images, Part 1: Requirements and guidelines" and has document numbers
ISO/IEC IS 10918-1, ITU-T T.81.  Part 2 is titled "Digital Compression
and Coding of Continuous-tone Still Images, Part 2: Compliance
testing" and has document numbers ISO/IEC IS 10918-2, ITU-T T.83.

Extensions to the original JPEG standard are defined in JPEG Part 3, a
new ISO document.  Part 3 is undergoing ISO balloting and is expected
to be approved by the end of 1995; it will have document numbers
ISO/IEC IS 10918-3, ITU-T T.84.  IJG currently does not support any
Part 3 extensions.

The JPEG standard does not specify all details of an interchangeable
file format.  For the omitted details we follow the "JFIF"
conventions, revision 1.02.  A copy of the JFIF spec is available
from:
	Literature Department
	C-Cube Microsystems, Inc.
	1778 McCarthy Blvd.
	Milpitas, CA 95035
	phone (408) 944-6300,  fax (408) 944-6314
A PostScript version of this document is available at ftp.uu.net, file
graphics/jpeg/jfif.ps.gz.  It can also be obtained by e-mail from the
C-Cube mail server, netlib@c3.pla.ca.us.  Send the message "send
jfif_ps from jpeg" to the server to obtain the JFIF document; send the
message "help" if you have trouble.

The TIFF 6.0 file format specification can be obtained by FTP from
sgi.com (192.48.153.1), file graphics/tiff/TIFF6.ps.Z; or you can
order a printed copy from Aldus Corp. at (206) 628-6593.  The JPEG
incorporation scheme found in the TIFF 6.0 spec of 3-June-92 has a
number of serious problems.  IJG does not recommend use of the TIFF
6.0 design (TIFF Compression tag 6).  Instead, we recommend the JPEG
design proposed by TIFF Technical Note #2 (Compression tag 7).  Copies
of this Note can be obtained from sgi.com or from
ftp.uu.net:/graphics/jpeg/.  It is expected that the next revision of
the TIFF spec will replace the 6.0 JPEG design with the Note's design.
Although IJG's own code does not support TIFF/JPEG, the free libtiff
library uses our library to implement TIFF/JPEG per the Note.  libtiff
is available from sgi.com:/graphics/tiff/.


ARCHIVE LOCATIONS
=================

The "official" archive site for this software is ftp.uu.net (Internet
address 192.48.96.9).  The most recent released version can always be
found there in directory graphics/jpeg.  This particular version will
be archived as graphics/jpeg/jpegsrc.v6a.tar.gz.  If you are on the
Internet, you can retrieve files from ftp.uu.net by standard anonymous
FTP.  If you don't have FTP access, UUNET's archives are also
available via UUCP; contact help@uunet.uu.net for information on
retrieving files that way.

Numerous Internet sites maintain copies of the UUNET files.  However,
only ftp.uu.net is guaranteed to have the latest official version.

You can also obtain this software in DOS-compatible "zip" archive
format from the SimTel archives
(ftp.coast.net:/SimTel/msdos/graphics/), or on CompuServe in the
Graphics Support forum (GO CIS:GRAPHSUP), library 12 "JPEG Tools".
Again, these versions may sometimes lag behind the ftp.uu.net release.

The JPEG FAQ (Frequently Asked Questions) article is a useful source
of general information about JPEG.  It is updated constantly and
therefore is not included in this distribution.  The FAQ is posted
every two weeks to Usenet newsgroups comp.graphics.misc, news.answers,
and other groups.  You can always obtain the latest version from the
news.answers archive at rtfm.mit.edu.  By FTP, fetch
/pub/usenet/news.answers/jpeg-faq/part1 and .../part2.  If you don't
have FTP, send e-mail to mail-server@rtfm.mit.edu with body
	send usenet/news.answers/jpeg-faq/part1
	send usenet/news.answers/jpeg-faq/part2


RELATED SOFTWARE
================

Numerous viewing and image manipulation programs now support JPEG.
(Quite a few of them use this library to do so.)  The JPEG FAQ
described above lists some of the more popular free and shareware
viewers, and tells where to obtain them on Internet.

If you are on a Unix machine, we highly recommend Jef Poskanzer's free
PBMPLUS image software, which provides many useful operations on
PPM-format image files.  In particular, it can convert PPM images to
and from a wide range of other formats.  You can obtain this package
by FTP from ftp.x.org (contrib/pbmplus*.tar.Z) or ftp.ee.lbl.gov
(pbmplus*.tar.Z).  There is also a newer update of this package called
NETPBM, available from wuarchive.wustl.edu under directory
/graphics/graphics/packages/NetPBM/.  Unfortunately PBMPLUS/NETPBM is
not nearly as portable as the IJG software is; you are likely to have
difficulty making it work on any non-Unix machine.

A different free JPEG implementation, written by the PVRG group at
Stanford, is available from havefun.stanford.edu in directory
pub/jpeg.  This program is designed for research and experimentation
rather than production use; it is slower, harder to use, and less
portable than the IJG code, but it is easier to read and modify.
Also, the PVRG code supports lossless JPEG, which we do not.


FILE FORMAT WARS
================

Some JPEG programs produce files that are not compatible with our
library.  The root of the problem is that the ISO JPEG committee
failed to specify a concrete file format.  Some vendors "filled in the
blanks" on their own, creating proprietary formats that no one else
could read.  (For example, none of the early commercial JPEG
implementations for the Macintosh were able to exchange compressed
files.)

The file format we have adopted is called JFIF (see REFERENCES).  This
format has been agreed to by a number of major commercial JPEG
vendors, and it has become the de facto standard.  JFIF is a minimal
or "low end" representation.  We recommend the use of TIFF/JPEG (TIFF
revision 6.0 as modified by TIFF Technical Note #2) for "high end"
applications that need to record a lot of additional data about an
image.  TIFF/JPEG is fairly new and not yet widely supported,
unfortunately.

The upcoming JPEG Part 3 standard defines a file format called SPIFF.
SPIFF is interoperable with JFIF, in the sense that most JFIF decoders
should be able to read the most common variant of SPIFF.  SPIFF has
some technical advantages over JFIF, but its major claim to fame is
simply that it is an official standard rather than an informal one.
At this point it is unclear whether SPIFF will supersede JFIF or
whether JFIF will remain the de-facto standard.  IJG intends to
support SPIFF once the standard is frozen, but we have not decided
whether it should become our default output format or not.  (In any
case, our decoder will remain capable of reading JFIF indefinitely.)

Various proprietary file formats incorporating JPEG compression also
exist.  We have little or no sympathy for the existence of these
formats.  Indeed, one of the original reasons for developing this free
software was to help force convergence on common, open format
standards for JPEG files.  Don't use a proprietary file format!


TO DO
=====

In future versions, we are considering supporting some of the upcoming
JPEG Part 3 extensions --- principally, variable quantization and the
SPIFF file format.

Tuning the software for better behavior at low quality/high
compression settings is also of interest.  The current method for
scaling the quantization tables is known not to be very good at low Q
values.

As always, speeding things up is high on our priority list.

Please send bug reports, offers of help, etc. to
jpeg-info@uunet.uu.net.
