OpenCores
URL https://opencores.org/ocsvn/verilog_fixed_point_math_library/verilog_fixed_point_math_library/trunk

Subversion Repositories verilog_fixed_point_math_library

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /verilog_fixed_point_math_library
    from Rev 3 to Rev 4
    Reverse comparison

Rev 3 → Rev 4

/trunk/License.txt
0,0 → 1,502
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
 
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
 
[This is the first released version of the Lesser GPL. It also counts
as the successor of the GNU Library Public License, version 2, hence
the version number 2.1.]
 
Preamble
 
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
 
This license, the Lesser General Public License, applies to some
specially designated software packages--typically libraries--of the
Free Software Foundation and other authors who decide to use it. You
can use it too, but we suggest you first think carefully about whether
this license or the ordinary General Public License is the better
strategy to use in any particular case, based on the explanations below.
 
When we speak of free software, we are referring to freedom of use,
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 and use pieces of
it in new free programs; and that you are informed that you can do
these things.
 
To protect your rights, we need to make restrictions that forbid
distributors to deny you these rights or to ask you to surrender these
rights. These restrictions translate to certain responsibilities for
you if you distribute copies of the library or if you modify it.
 
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link other code with the library, you must provide
complete object files to the recipients, so that they can relink them
with the library after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
 
We protect your rights with a two-step method: (1) we copyright the
library, and (2) we offer you this license, which gives you legal
permission to copy, distribute and/or modify the library.
 
To protect each distributor, we want to make it very clear that
there is no warranty for the free library. Also, if the library is
modified by someone else and passed on, the recipients should know
that what they have is not the original version, so that the original
author's reputation will not be affected by problems that might be
introduced by others.
Finally, software patents pose a constant threat to the existence of
any free program. We wish to make sure that a company cannot
effectively restrict the users of a free program by obtaining a
restrictive license from a patent holder. Therefore, we insist that
any patent license obtained for a version of the library must be
consistent with the full freedom of use specified in this license.
 
Most GNU software, including some libraries, is covered by the
ordinary GNU General Public License. This license, the GNU Lesser
General Public License, applies to certain designated libraries, and
is quite different from the ordinary General Public License. We use
this license for certain libraries in order to permit linking those
libraries into non-free programs.
 
When a program is linked with a library, whether statically or using
a shared library, the combination of the two is legally speaking a
combined work, a derivative of the original library. The ordinary
General Public License therefore permits such linking only if the
entire combination fits its criteria of freedom. The Lesser General
Public License permits more lax criteria for linking other code with
the library.
 
We call this license the "Lesser" General Public License because it
does Less to protect the user's freedom than the ordinary General
Public License. It also provides other free software developers Less
of an advantage over competing non-free programs. These disadvantages
are the reason we use the ordinary General Public License for many
libraries. However, the Lesser license provides advantages in certain
special circumstances.
 
For example, on rare occasions, there may be a special need to
encourage the widest possible use of a certain library, so that it becomes
a de-facto standard. To achieve this, non-free programs must be
allowed to use the library. A more frequent case is that a free
library does the same job as widely used non-free libraries. In this
case, there is little to gain by limiting the free library to free
software only, so we use the Lesser General Public License.
 
In other cases, permission to use a particular library in non-free
programs enables a greater number of people to use a large body of
free software. For example, permission to use the GNU C Library in
non-free programs enables many more people to use the whole GNU
operating system, as well as its variant, the GNU/Linux operating
system.
 
Although the Lesser General Public License is Less protective of the
users' freedom, it does ensure that the user of a program that is
linked with the Library has the freedom and the wherewithal to run
that program using a modified version of the Library.
 
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, whereas the latter must
be combined with the library in order to run.
GNU LESSER GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
 
0. This License Agreement applies to any software library or other
program which contains a notice placed by the copyright holder or
other authorized party saying it may be distributed under the terms of
this Lesser General Public License (also called "this License").
Each licensee is addressed as "you".
 
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
 
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
 
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, 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 library.
 
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
 
1. You may copy and distribute verbatim copies of the Library's
complete 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 distribute a copy of this License along with the
Library.
 
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 Library or any portion
of it, thus forming a work based on the Library, 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) The modified work must itself be a software library.
 
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
 
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
 
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
 
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
 
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
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 Library, 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 Library.
 
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
 
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
 
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
 
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you 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.
 
If distribution of 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 satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
 
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
 
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
 
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
 
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
 
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also combine or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
 
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
 
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
 
b) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (1) uses at run time a
copy of the library already present on the user's computer system,
rather than copying library functions into the executable, and (2)
will operate properly with a modified version of the library, if
the user installs one, as long as the modified version is
interface-compatible with the version that the work was made with.
 
c) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
 
d) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
 
e) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
 
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the materials to be 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.
 
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
 
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
 
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
 
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library 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.
 
9. 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 Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
 
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
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 with
this License.
11. 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 Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library 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 Library.
 
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.
 
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library 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.
 
13. The Free Software Foundation may publish revised and/or new
versions of the Lesser 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 Library
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 Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
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
 
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "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
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
 
16. 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 LIBRARY 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
LIBRARY (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 LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
 
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Libraries
 
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms of the
ordinary General Public License).
 
To apply these terms, attach the following notices to the library. 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 library's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
 
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
 
This library 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
Lesser General Public License for more details.
 
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
Also add information on how to contact you by electronic and paper mail.
 
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the library, if
necessary. Here is a sample; alter the names:
 
Yoyodyne, Inc., hereby disclaims all copyright interest in the
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
 
<signature of Ty Coon>, 1 April 1990
Ty Coon, President of Vice
 
That's all there is to it!
/trunk/ManFPLib.pdf
0,0 → 1,486
%PDF-1.3
 
5 0 obj
<</Length 6 0 R/Filter /FlateDecode>>
stream
 
+b÷Pä3ö8eH,züŠ”9}Ÿ! Áð +Ø +±#}¿A3Löô²(¨žNâx˜…¥ºÇ “[Cð_ì µEüLÜÕ¡A­UÓðZ>½Ò±Jœ”XòETn+Ç!µ‘°(,«üŽ·ôùÑâ +²³„£ØqùÍt¬íQË_X¶ïò™q´=dFÇD`6ñ3JjnE c<V·Ÿ±;‹ud¦ƒxâìnàg{Ø·ƒœM«X +>Ó0SEøةʺ¦¬Y0¶`CWÓØGËxƒÍ+ÒÅqSe¼×ÞC ¼¦Ì¤oÏeæòG±ˆ­,Зlõ‚‰#4‰ DÛy‹¾‡$V¬}j-8eÁG£™Ê.ØGŽ2§À¾órUÔ…—ibÝ(;zÛ3cÙ.¯+‚€}‰é­aïϨÊ*vde6âædvå”Ãcl-Ú fVf1E—Dkx¯Ír视d-+§¶ü]”#¾› aÁÔ²ŸÿÈ·¬¾‰Ì­bÄ àƒ ê +z‘Þ€ð^¤—³d©g±oÕ‚3ˆOI8ìö‚£æÂ/礃^Y¼Ñ®GÍ#Ž'g,8]B¸|Å3ºrrÅÛÏ!ìë +g7$š=5Å%›3V}-‘$‘®‡Œ,ïëEœ:ØÊŽ©Œß6gÍDÖu´h-Èúp +ÄUZE$EHD¤yw'™lÑNV ²y7²ƒ†NZÿiÁiœ˜GØá1¶òŠŒÞ¯‹X3å|Æ⸣ˆÉLx¥§üÚ‚otEú:úÐ]šß÷o(¬KðÀk'˜-Om(ðMniÅ;¦à£ð`F¶0Žr"2ÙÎA{‰U7›Ánœ³ç¼adGI€!öQöÃ2âûx÷IšØò&UÍ÷ÌÍZRŸ™œ°à¯Zðšß?1ø¶~b纟n`ó2°:—¦“7ÆÓm·³Kä# ~lÁ›üä¬Ö«Š88—D~þ„­7åýχmÔ•³[!j2âÛØaByðcÐOñ#¡%Kñçê¡Î5óâ»÷pòï5Ev–âù—;×CSr~ÒœÊëØ÷&ŽH5ü«7ОtŽ Ô.å<©öÅó#ìyYø Ç3­·™`øœgääçsÄv›Qø¼Õë5Çí+º¥å­¤gâóÞ +Ü¥U#Ä]…ÈƪqDÉtsbÀ¼0Ò·j£Ä“ÎL^ õåÝ-÷•aJ´Ì&2gs¯¡õ¶5jyÒúÛ4>'{‰&KB¸àñZð„¢èp%³i§-8ï§ëL,ã’½dX‚hª )SŠÁU$<#šoà<12áL–b Až±þ±€w—¦©Q&Õ 2å +(Hú`ÄZ.I ˆð,#(u-¯"ó0˜@°ðU¯²»®“_#å-Qù—S +þˆÇŠòÇ0¸Â3XÅÇ÷ ƒ¹ ß;ÕÒeRyGr";µ™z/ÐŽ¦«s毴d¢óŽ’ß žG +©R¸ßª<®$Ñ~%zßèy¥÷»¨×+êVj³}p½²ÐëôRÊëmendstream +endobj +6 0 obj +2875 +endobj +15 0 obj +<> +stream +xœí[ÝsÚFëƒÞúô’>Ôn,al„§M§I2îtÒÆáÍétø0„` ØŽ3™þíEBÎý¸ûI‹À¸Cò²¹¬öv÷öëö–kå¹~Yyáß 5pÏ«ª;q¢euþ:Æ]çÚ Ü£ðO´€pk ~­Ï> TÍ­–U½ãøѺ¯fÿªúe÷h¶8p.ö&û¥Š[; +žþƒ9˜o>óe¬ÿqÓq{¬wÁz¬sëü]h°neˆw) ²ñ +¾ßÓ0…„d÷~Ÿ’Þkðo‹7É)c¼À[þ ÓŠ K5‹ÚÊ»âB%l…šP@s›Ðâ +Jø奯"5,ìiy Á&%BºTÞ×2ªÜJxJ ƒ”-Ià´K†QÄ.ÔÜBšÅàÄÊ[E¢ÛðJ°#ñÀoŒÀºmOÉœYugŠCM +‘_Án`ÿp˜?ƒíì'ÖÿjâÿW0ÔÀz·ˆÄÞm³`èÖ·…è[Þõƒaœ[™€án±$‚² BˆØûû…®òŒ¾â…jÈ@Œ·Ï!”ŠAÓ +e·2± QTœ¿ç¶'6X'úî­ÝŒ[6dy¸D‹/üÊ®¬ÝÂë=Ÿ¿VL)ë œÙ×{q¼Hn†’¼Ö(ŠY-qA²"lrÅn-V¶†Ö’ùYßâÌho­¡¼6gQà„’z<_@šêP°8c{’ĘEáÃMð‡%v†E€ñwž-ƒLé)g ¸ùÃ%wAq„’GzkàľgR˜›Ì¢±uý&I'þÕB0É)VH;¼i!þØfÅ ŸA_b¼7®TÉóÙ¶þŠ¤R>‰"T9pƒ9§J§ VtJ¯ŒÇý²î¼u> +stream +¯Vv›ëNµîà¯ZPö*ƒÆ®óÏ’{¯zJ}¹– ¾Ø¸'pSà.åpGà‹%Á«ï | +wÓ(oK¡—3\¸s”5ße碗ì%0­à¤ òä)F²³$uIQ¦b­¼:‰Ï\’3£ÜÄqùÊgpìMY ÂÜ&¾–}”K)+çØFÔP!,Kа—´'Î0f;K)oP5ØcvÌñ+†‡©lÄ&ÂÜɈ\i/!KÔˆ"D(RC4âwÌxäf- +áîYÂu¤¥˜KÉp„<¹)ð‘À›b¡Üš‚ƒ?Â!–í<ÙìPfæhZ±õ¶@þð·k¢­D6Á·X%Ø‹`7Û¢­ü ¿i9’L[¡:›Úšùx_"×åH.ø}:Ö:¬K9€0à$üÚ'/D¯QÚ}Jp Ë žwÌ÷ò$$”ƒà/7H~[‘Óöé‰6fªy#t{E9ðËàåëâ@<™3o8koéÂÁoGˆGè]*C¶äÓt œÏ%øE¾ŸõLrµçé ¼LEÝ5J ›o } +“LVw,>›MÊ‹i µÊñëU +×dŸJÎëH1ãÉË‚}'ÞÖ¬31¿ ¡à[.3'¶~D‚ÊLž+š»œØ/qC‚,™Ç.mE´éü’ßÐùüŠúŠT!_ª’´; +~ð6CÊ´{SÞC™Ñתø³\žœÎá ;3}FüŠú/dÐüÜÁÙ$gÓ¿šÃ+¿)§½…“óÊŸH¯‘ƒ0×Åú´Œçd¼îeÕõka«K FYèà ¼‚½â_Ø1È9ß›9Ä{²?Ppoên£KcW)ÁD Š]VXÜ‹êÙ§ÁÓŸ–«žz•«\÷êCÃøÛ¶€NXß'XAC|ÔtVßÝwmîàW·ë„Ë#¸é<üø?Tëï„endstream +endobj +21 0 obj +2278 +endobj +25 0 obj +<> +stream +¨Ò~yØìÍÌÎÍÌÎÌîù•ø…¢„ÿƒµVîîã%o«“‹†½Ç?÷A{+÷*WóKáрⵖ÷c£û`Í«ûKE¯±™+Dã¯û¯j½àWk^£•ûsñßÛù²_/Õ*Kÿ[¸L›E9jÀm¶°T¦Èâ¯Æ/¹b½î×j]+j¬Ëykë>,— +£¨…Poù¾âò…À/{Ú{elhÝÀm_èã¨g`GÀÑ–î¸â‹5|lÏšêáÊà\±ŒvptÏøÝ®áæØ2pÏÀu Ü1p‰íøÜÀ¦ñ»}|LXtEkê¨íwmóçm·PD‘+lŸ#±M¤à¹lZÞðlaÓÀ]´2ž»žaê„Ñ·ÑNÅ™ž£ú¡R£—øÕ²×ø-×ø:;éêa×öÝØž¹îbÌJ½ký!!öúš øz‰jeýlºÞ²¼Ä&[Vº}ÙúÞÒ{ËoÌ„‚2ú­+Ä? +8Z@ +p_GˆÙöp6ö¥§£Z²ílN“ÎâV¸Õv1Žù’Ø,§Ê+ÅîîsgŽuÝ@ÉL¾0pÄ\*K†%’]0ðS?20%Áê/#‘`ÇuÊâ8×by”³¤` 8ù ªUx\E)PJ“^ É´8™ãÅ_G­.€70© È+5I¢É ¨éyí³«V˺à9dq•ãNÔúer¸æßMärxÖ0iÉv»,º§Ý®Ónw»Æwä‰v»Äÿ¥Á3­SŠ§H̯Äêe´Œ;H7v +:DÛ' ”=ˆÓ™°Ú6XÒÙ‰Sz(¼aeÏp¢œdnD1S²3öp˜îœCÒ¼MOE[a^"<® …,­.™;y wÂR9œL¢u%“ãÔg””)LxæR3—Óª·2¹¾’pbvm”°ê•~iõÞă©Œ~àr2vs¡pu4Éœ¡tB†qtz!Œ %oE§¸–wîF:WÄgqÂuTƒ{—M ˆ)4XÙ±PÛ‹ž•Óè鈞ršÇÑS +Y¾°vh¢§p³¯z¥GO ™k¥gØF¸a¢gZ·,yÛ ñw.oÍJ¡,…DÃÀû.»ô/ɦAÍ׶PÓrËy÷³¹%ÌᦼA¶\,¬£ðȸ)¯M6HÙbwq”Xdšµ¶Ðäôá&Ÿ]ø¤ Ådì¨êÌî ¯mdë!F¼†¯crÿ½‰sqÂQR†ð¼f¶g0b’ÇÉÍX6H¾:Ès;Èb Í‹™&¼Q{†øZ†xù&ÆS±nym9_à‹— G.ºO9dï£ Ù2bÛ²œ0²Isþ>Äé+û8ù(ºÆ\{–Â-¹fÛűyé d²IÉ⃲٠yAm@3wuÑàG~cà +¤Û­ñË!±Ï2ŠJÍÒ’{„,ĺ;HÌö0yÅS*)"·ÓáìUr ÎHí”)a’¯Œ$>b« +œL³/Ð+¦*‚wp‘|&[A1®vÙÙþIê&t«Òj)Ù·ŸÃ qÌDÄv‘˜³ÏáYD{é;¦Àu}ÐÞ˜ô°‰†VvW›XèaÎ]ÓyçeÊ„ao5fñž+l_§¸;i—«©CdÁÉ‚¶Nv„ÄÙØ?øÃû[S£‘¾dr¡EòZñ1®¿eu6»x'º[Ha¢þY>O–Çnx\Á„Xî¹Ü1PrýnyAäDòžíOLÄé²9¿uiÇ$–·;Û&·"OùË¢¨°[œ*h{8~»½ž¸„ôëÙùÑ’Vñ“%,þrg¨O´²è@Øsï²Ô”F%AëJ·çJø§ +^°ÌÃþ®A’É ‡2oÍÐgwy+´ó,—·TûC&ÐQ@‘ÌE8§†™ƒu¶†²lóû8š„÷P×úÜÈîÂë›Â¡ªµ¾‰ñ09ndòÅ9î±Ñd¿Ÿ"©.¥]rê*þ+ +Ò@’âW‡si'1»=œ˜ðÒuÖÍ䊓÷µeo”í÷{­ÆÊE|&ÅG²›Æïx/w6´‡¸7cû¯·‰Ïó‰'2/Ä=3Ðy,Ì +ß^p’²‡‰Sl"äN<³Ç¸jxã¤;U¬úáÇÝ•îî]í­ð|ý[¨äX®x˪ÄûÜJ.ðsÝ1¯ûW¯•+Wúp'÷¤ûÇÿJñÂïendstream +endobj +26 0 obj +2350 +endobj +4 0 obj +<> +/Contents 5 0 R +>> +endobj +14 0 obj +<> +/Contents 15 0 R +>> +endobj +19 0 obj +<> +/Contents 20 0 R +>> +endobj +24 0 obj +<> +/Contents 25 0 R +>> +endobj +3 0 obj +<< /Type /Pages /Kids [ +4 0 R +14 0 R +19 0 R +24 0 R +] /Count 4 +>> +endobj +1 0 obj +<> +endobj +7 0 obj +<>endobj +12 0 obj +<> +endobj +13 0 obj +<> +endobj +17 0 obj +<> +endobj +18 0 obj +<> +endobj +22 0 obj +<> +endobj +23 0 obj +<> +endobj +27 0 obj +<> +endobj +28 0 obj +<> +endobj +8 0 obj +<> +endobj +10 0 obj +<> +endobj +31 0 obj +<> +endobj +9 0 obj +<> +endobj +29 0 obj +<>stream +xœYXT׶>#Ì9ÅãPDÏAE{bE°X°aPT"QêÈÀ mS§: Ö((6±»$FcÃ’kI¢1Æë½Ñä&ëämîûÞ>3ÀÌÍ÷ò¾÷‰SöÙgŸ½Öú׿þµGB9v¢$‰lFBòæؘÍâ炧DèÝIèã°‡ +¥–S3¨aÔ +*NEP3©T5’ +¦FQ³¨ÑÔlj5–šK£æQ!Ôx*”š@¹QÊêDyP”#åIõ¡XŠ£> ¼¨ÎT_ʉêJu£ºSþTÊ…úˆ’S=©U”‚r¥æ’ ’”É¡NÞ¢;=uXäpÂq”ã ©—´œ^H?g&1&æY€ìàÃ?8ÓyMç[]<»”8I²œ¾è:­ëî®Ðmn·óÝ{wßÛcA;Î#œ¿sñw)—÷’/—Ÿè¹°çyE€"P‘­¸æ:Ñ5Ñ­¯ÛGnun?ºsW¹ÿê1Íãa¯>½¦öZÕKÙ«´×yO‰g?ÏÒÞý{«{?é3_xÛMx‹xðáá4/ÑÁ˜ëS\Æ>Òitj¶Z™©WWs0’6ë´U•9Ún— f)^M§æ¨3•:ñ²ƒ[“¥qtªŠÜa‡†ÐÕzrG¶6•›L_)”ñ +¼ +NKwÐÖ'¿àypáa_£›üLÆ)üÅe•™â²õøE$b݃™7Û"¡œ>ÄŒ;2ù©=ŸÖŽyž@fõž”ý[+7£xF±Œm+h“u+i\,héÇ3¯Ž Y¿mÞÖ² !™wi€<&Àò~nò×ðxƒ’ìU~ßdÐVîP•§qØAtJ¦RtÊ)Ã+ñHX)=)[Y%‹;Ñ)V¿˜¹4c%ÃHšFË_ÛÜéfsÎ&ÂÇà‡?–Î¥Ó¬3LxÐÕVcS¹´6g¥óÃK ‡­"Þ|P„Û9üýªåöó[«ÏŽ¯ã®Õí?†ÎËž|9˜ÅFqR¦Rœt‘æqŒb`sÿrä‚ÐUrØïS@:ø2ͨ^}(åØÖÝëÑzYȢ境ÒyAÂKîñBgòÈ Â vàƒ»cç÷ƒ€„îý?¡ôôùîÉ­qü×Ó‰ýŸèí=þÉûwÏŸüÂYï×ò’/ya³PªXyjþÞÙhšÿIdDÔG 3Q¨lƒ=¡;î½o4ï=sŽÝ¿·Â„ 2c¶N•“[£aÃç.û$ÉpgŸ÷Е»Ë@—Þ‚ÃË'KBKØ¢ôòœJ$«ÒˆÏ“Ú ÌT«ÒÄãÐFÎÃcb¿ð ðnò·àM6”N³:ÍÄ]l5…“o9J¥!‡,N¢«¬ÌÖ¥r¾PBŸ™})þ’AŸ~„.œü tö +nòóàCÞ‘tª.»ªB§¯fÁ©ÎÑoÏÌÉNe#±7Ä0ò&8íK§iU•b´XàZ0[“í°,ÏÂa,]­Ñ+34dùybÏ-¦3âÈÓgpÞ†8N,#¸ÝÏøÅË7k<¿¦MF±*KG7>¡åÇÞA§S{NyîF5Y{·hÕ%åHV¡7Tè5º´*î“]ɆMh +ö–VVÚ,U*;,…[¾LZ¹ªªªÜjfø_™ ™t‡×1K[’e3ôàlÁì¶Sp䌛Ü( + +ņºÈ ‘Lä;=bÎÆêMR¹iÔ-êËêýêý™û3L›Ñ™Ü¸dNôØg;ÍjyPEŽa;+Ÿ#¦7|OÑæT±òÂJ­ÎÌ™ÆuçÒn|KŸ_~tx[}Ünnã®ã|í½¦8¹’¬µµ2ËdêÕxùPËÃÏãW•±ò~éÅÚœ +$0œm”EK|ÚõÞM¾E˜ëúÐViä)±‚Á¦ÝSªhù©ù‹æÇÏò\¶–?ÇÁ¥¡¶"u‘\|aéßn^?pñ2k#’C„Eî fp¢ÅC¼xOd0Qã\k2ælŒ÷èjC;¦8KåØÀKj! +°Æ^ºÂDÁIÚ`½!6Šúš&åà…t}á…ô+[ŵŸÄÓ0¹ÕIj·¶¬?!ÄõYºÚnéN¶»ÎÓAøþhÐI—Ñã°nÜ—~þ¿O4ÓÏÉêMôK0¾ÂFi»³ypç]îñpÍJziÂx׿Ûù;c1ÔÐwƒ?¾nNfêb6+W£AY2•.ÛX\ZTTÊ>Þs@{ÉîŸÿxÈ„íˆ+ÿˆÏy\ØXN~nÚ—K_ß½¶ÿJ3{ÊqÖ¼%I3HÜ#ë›nÜýì÷“g5ª£ÿIíÑ Á'Š'÷ßÄœ¯òøÞVÑÑþ°x]ÓàØ +ÜwŠñ¨¬R‰Ò ³MñpK¡øc“Sé¿bŠ©¶åý;´“KÌÇÈFºÃxü!„ºÉ_ÂSؤ€ñ0Zª¥å:$–Øpx†Æ}°+î®ÒÓ–øV唧´ k´4Yo4ž‡gJ³iùË«3[DIû.‚iƒa,c‡>wÛŒlº=rïyp¬ÙUãÝy"ôš`‚ðŽ”áŽ^¤åÊV3áÉö7/iySà™ë±÷<¡ëÛwà =†¾ÅÝo \ÎAЊŸMìï;Éoð ÉOß½ûæ‰}éص„§£IÒ<ETe•Åá¶2û°5ÙNÛ +«è÷žF<Õe0‘±œ¼ w;º<¼väÎVž9úæåÊÅ4N€÷D +Mô&3}&Môõ™B¤íã'ÿ´Q4Ñ–·‰º-pÌõv¹ì+fœˆ7Âü­ki|U(’öµñöEÑCöþ5;<´–†«­EV»`:ƒy )¤ +tº &ãІg“š†ý÷ô»a×ß½Áó8­7d²5y¹jníÆéÉ!ShÒ×™¿ÉxGóë»WÞ¢·¨%lçHY‡$oâ…±I_ ÿb7ì‡ý€¼G4ˆ#¸ÁXðÇ(p_"íAö#¦±7î33XŠéaÀ€xýHÞd\;!I`Y±”"ì€ÑLŸ?uäæ.>¯`?{VƒP±(ºt•Dt)‹¹¸ò m ’š»d::ÖV•¿Ç/|í0ô7Údh¯Eam¸‡+#?åEBNWÀdè-¯·‡þ%Ÿþ§ò‚tG(æñÍEÁA3Žåþ¤´¿äႨ®¢Òï‰Ò¾¹riÝtOì8l–aæ§!àxïBÝÍ3V0Á‹ÃƒYümÜ Ý„ŽšŽ«=TY‡xYdÐEFþ¦ÃAÅ=%Qñ¦…(îiþÇÅÝÒò“e ŸÑ Ú¢“¯ÒÑ)Ù6u>402wù‘O= WOºÉû „*…ÜÈGEV‡yö›<6ª:º~ W›|tûíw•5š}ÒLÑYÀÌðáDDMù7 wô#iHs"eRt9UäqìAFnŒà¯%Ýö§ïn¿mÚr2f/gNÐM­ 1$iMI¦ŒZT+ûªùüÓÇÍ‘óK-ª¼\]éYY®«æ~aÄRfѸULtˆÐ—pT_’™­ƒ˜à³YÜÓ®”)èW7¾zÍ p½-A¥ +¡±ckïEB¢ô™]Óãmp5¢+2 ‰—üãœ!!ò‚\E¹° +{NŠ23ãg ü(\Wìdv§™’·¤¥%ç¡Ü"5[¿)J!/ò¨B庢YªØ´%9!aOòA®Š®Ý»ûÀ¤ÝñœÕ5DBIù8‘qãH t› +#É£ÉÌÔå˜9! ÷Wt8Ór¥ +Òäåk +òÝ ò óPR—it¹ àåîXÀ+ròrsQŽÊ/Ê/&ÿÜ‹5Úür²á²¢ÒËVv7;£HèU$i‰¸S4þù ïÃý¿ÆŽ{bHOBü«×K ‹ ʸ™àÿýŽ~¯ýõt+.+*F¥2c¶>‹µÀ_XÚ !Tÿ{8“öã)ÀùjÃIÔ"{5£¹ï²ê„ylNþv*_Ìtœ.òÌçûët§ìùõ•s._…™¹l=t«f×㮊ح)qñ»¶Õsèú=»Öm1Çr–Ýáad÷Yªì,b|I.w;ôå²W|ÿ Ü-?—¸$OfÉ^­öS{$' 3úý²ñ_Áà¸å¸J¯B¢'Bx˜ÌC1àþï> +endobj +30 0 obj +<>stream +xœí½yxTEÖ8\U÷ö¾wßÞ·Û{:}i’²° ’ ‘°É"pWâ8Š +ŠâÂŒÛ( +Ú€ +:¸/0Š»ï úÃåU3¢ƒ¾Î@º¿S·;!ÁÑo¾çûã{žï¡‹ÚNÕ­[·ÎRçœ*a„u#µ¶œ[X‚ÄßÅ—CrÞœ%³–eê‹!„ošsé +þ í<Ÿ"$[wá²ùKzŒðŒ|B’ç/¾âÂL{B#ÊÌ›5÷Ý/¥‹Zú$+@¹ÄÒ +P.X²âòìû`|ôìâ¥sfeêç.†1f/™uù2ÃXY!ôŸ @þâYKæeû·Aâ^¶tùŠL}é:Ú¾ì’yËžÝ²Þ ýÿˆ²‡ý +!övä„ÜÃÌF„ÒG²ñóÔµÐí©þtš|OOÉÆÌo +„;Åt +žÉÑ\t-A·¡»VŠßF#é~1á6GÑeè=45ý@}è!ô=ÊCÕhA:… hJákÐC˜ OU¡wÑ<´Ä™û-Â(1[ñP>Œ2Ý…¬è Œ˜›VB}qÚ€¿Á̔祋Ò?âýìkéÙèÏ8NÞg·¡7Qö³(u}zmzsú>¤E'wÿ_ÓÅé%ðÔTÔ‰V¢«aÝèôn'#ɾôÍ0§6˜Ã*ô zÇXÄv"#š ½ÿˆîA»Ñóè ú}1ÖáÜßŇ%¨ÿ@ê@zlzvz)jBQ+ê†V7áz2™Î<Å|ÐÿRGÓ{ +º]Ž®BëÑ´}€>BŸ`†(É2•y +y‡Äñ5ä$~Œ¸ñ ð67ÓÊ´’RƒÞ T¾q²ÍRŸÔG8¤—uÒ1È&’ÏLcÃŒ­~Cd:¹‘t¢Gñ³è$”v)óÙBf2›ÙÛÙZüZïDDƒFõ¨×îÞE]€¡|f;û6Q"gNI–Mz5û•„0 ó:žŽûp+±ÀjÕ[QêzÜùXàÀ€òwãi¨Š=ʬ#ãÈ'[Œ6âà÷¢Åd/þ3ॠ+øñÜŠïcŠÑµ¸ V£-"w ?YFü@ÏSÑ?ð°8÷$à&H.D,£!sÐaÒX?„¤_ tº­ÅkPîÇûÑ›ä6Tç1ÏŸ²÷ç|ª÷0cP>ɾƾFXéXÍ"PÈC #¦gú˜0PM’< ÿ€ç ù _M£…øæð#¤µ yÌrÒŒïJýÄÖ3¥°b{@š4H«åH—¸Ù2ÀøW¨¨q>BÒìÉh™y—9‘nOûR3%ÚÔ§èJX1 ÝÖ/Ac ¾ObÓd<›NŸ‡¶’íì§i+Vcú[8,µ Çq0Íã®´ +O +¿@úxÿ&v-{»’½ö¦“ 5oD·£{Ñ‹°›< ûVÖñXÍ {ÂQ„JP9|]-Ri,´µ¢ó@žv‚”¼]Œº@òÞžD=°C‡õ¸ž»-ørØ¡®B×ÿ¯Fë@Ü…E#O¹‰¼D.% ÑÇècæFÀç¡ÃìÍì*t. +¢IØo®,yá¹uéwámQäé_\ +(µàŸY–õS„ºÚ‘ñšÕU•åe¥%ÅE…ùy±ÜhN$ +ü>Þëq»œ»Íj1s&£A¯ÓjÔ*¥B.“JX†`”×hîäáÎŒ“OëY˜5ЙàÔ<¼O‚ï»ñÃ{ +ÐóÂ3z +m«‡¶:™5M¶…<­®Y³šOl™Ô6´ÕGÓövž%¡æÎ5Íðêu°ˆãÏåámä†ö¶¾^ÉÓ/¡_•ù¾y& +ÚʉX,‘›KIDÖ8…9ÖŠõòü¼K“da`™ž‡ –µÂÚÎjQËïóQ¯M +ÙüfmoWW¯€:FßCš†HàÛîëÝR²[,TÆÅÂæÈæñÖÛ™û`V÷Á¬îƒYݳúR £nøf€oøf¾aq(_4;T¶p_¯Î’…@¡^É´3ç¦à½<“OcÎë-ñî«ïd¦ÂÐÛÅt 3Òõb:SL[Ät•ØºJ,/ËKÅrX®Ë–iZ8$õŠ©Ž¦Ìdæ\мÌ$fœ˜·2M(y Ôi>‘+æ˜Ñb~Àm‡~FÈÇ1Íb},Ô!ušfš{½EõË >ÚÀžf(¼æÐsj„E¢õ·@<"BfBº +âAˆŒØ3 Ô3õð„cÐ" † ÔA¨ej¡e$ô ©ÀÄÅoŒC¯8¼)k‡‘ã€Ð_!ʘ8¤0ÏGÄ^R±ß÷Ó ¢Œ?¼D|Ú ±pÈ(š¨åÀ39Ð7 G Åâ´½âzˆû²m~‘˜ý"qúa,?̶Ò:±¤ƒÔËø{‰B—„õÅ#tõ•°î-¡‘Ü«y ¬Û-”BeâBh©ËöXq;D ³BBB?`ñö6@XáV·@Xa-`ƒÛÛ#3Ë—–¯*__þ`ùöò}å²½d„NÒ)(‘Å2Óh;êõ`ÞÌ@ü/1}JL/SAL­‚c†æØ Í«34›fhi›¡™8CÓ*ÄèÂIõ4“²4eŲžÐ”ˆ ØÏr‚Æ¡„‰OÆŸ; +F¾gÜ•¿nO\I›Ç{ЕMSÚz®æ5öŽÆ5f5¶ï=+÷©a¯»yàu=¹³þÍ`³è`¹ô]£Ÿú7ÍOÑæÑô]OÑw=Eß5Z-¾K¤z K9Õú­˜ï *%p§Ó×>Ê¢_V+RsÏv­s‹ð_ +QÈÖ´°þ,_ž-ü‡–/_¾â‚å,§¹øgùŠ•)šÐr´|‚/¨W‹û›¤1•Ík!®e4³|yû +ã/39HÈÏ`Ïû–ý +ÆêjLxq.3++JK,fN&%fÎH½O0—H˜„IGü‰ˆZk´Ë.¾à‚‹ev£Vú‹€\Ž žPÙ Jõë©ää’¯©•»ÊÇ¥`òS§Èªìl£ +Kžw%ž¸¾¿O/2A]_,¸µéûG« mXÿÓ‰Ã*ÅE¨£ +~ØàË|¡OüÂRŸA2€œJ²ó‡ÃÓ¿˜¦˜OýSèìJ¹ýåä «Éh³MV¶è<©Ý ÓÈ)o…•ø@"9Ä÷HIÔ¶gœª˜„åJâów)ÕÜH¿Öµ®ŸN®¸ôKú¿…šóht¯zg®BcTZÊÕU¹l4ë‰qON@Í©’éïÍ7Æ>Ë¿Œý6G>°’Ÿ>“]HÉsøp¨ +9¢Áš¨A£ÑÜJƒ1¥MÚp¸47Žæº¹y +:¯Çbq{¬ò˜G¡ 9 †uÀÌ:^GtŽ‚<qÔB•‹ü½¸Ë3bŽ2MV™ëè÷=Ø·Å„nÚ¿·…€ì+ãs•f­N£SëT:VEB9¡hˆ•šŒœ‘H}¡\e°óæ@ébØoô ”Š¹¹¹Y±ˆ»:B†À oZ!˜²ÓØð•TT”——E‘p8àÃîÑ",Ú^Ðu_rÃœ?¤â²/ÚÝaŽ +ð±ðQE"ˆÏÝ_zH3WµBïâ]sÿŒ~Æ?»•!qG<áªÑ®i®¿xv{£Ãø°ûüµ[ÓæÁj#E„éAºÔ^Xê¨I§3šÜjoˆÂõÈßê'þhØï…ÝÞÂr‹%¥%%åîB•D¬ËKY¹\ºUNsf0ÖÙ¼6b‹r6›™s; rD!€b­1‹Fb±œˆ» ™^+¸Üñ.·Ûƒ ‡iê©BÈãöpÙ-¨@n¬–ƒü€‰Ù†ÐiÇ0ªíè:ƒˆ«òëÇ@|\ÒÕ›w gÈŠÚ-Ń[߯»:SÏé7‹bãušŽ.§éÛ¸W¿MÅHY3MSo€èön6â™äÈ)Ëp‰ÒŸGÓ|(œ:v§À:?…Ñ'BîÈÒsœ-¥¥—Yn´¬vÜì\W½i”r,ß\OnóþÙûxý_F½gýÒú“UšêϽ&[Et°ö˜Yã°é$•ڒ¢SP¦Ó Æ ²‡ãñ2C¨Aµ–-X) ù–Dä>…6,ï¬ Íô,õ£™ Åá@X¨_]]}0º=*‰Ú›î߃½§åÌ„c}€°Œ}Т~ƒúÕ}T-¤Q´Ä2èˆ +Xø< 1q¢¥¦ +ÝhÅ’‡þ¸öá‚s:/ÜZ?­ýË¿~r=]ÓLËÞx¦¹©èž¿Í˜ñîS ¶ÖEõ¾ÇasN¹qý¬’É¥^ƒËYsÁ†7n.¢M_{¡iÆÝ,5ßcvÆŒ¹áÏ‹N½þƒì[©h0š²ó±Š-,D…¿ÒJØ;O>DGa;¼v{ÿÁ!ÇÀëyL7ÊAx¶0é ÙÃÞ' +w8ÈUk +6<¡ÝZðRñ{Å_ËsüI²Mp„ +ú–šÉç,˜6“j +LAjÞÌQ5OÇ-åŽp g^pëPtP$¹TäѸ]ÌLj?f;F1ñ÷ Ëñ u”E +\¤* +ŽÎ9/gnÎãþG‚Ïàݪg=OGHÞf?•“|#7XØb\"©jÀ-ª±žóðTI‡¬C5_(Y¬ZI®R^å¹Â{³g÷9ÿ®'ÓÇ{Uúœdú›%cQuà®vl!3‡¨œ!™qYFZP„áÜ{>Hbiêw}ºñ%Êx]]¢êÿÀÇ·ßþ1ìWýワúéÅ©ã/?"¹µ¢öêƒÿõ_B¤–.`g^ó¡a™¼†H±ç¸yÌ+•zÅEBÁè-Š™ŠíŠƒ +‰ÂQ^àëll $ì¾ÀÁÀÑÀñ°—åÎF¬¢´ˆOÐ÷2@\ôÕ£"µN4S†KŒŽ3¶Ê½È™>é½¹ò’dú—^%¡–'/¢YT]Jù–BØöª†ü2š .´;8™–d=o¥VJúåTŠò2ciÉPÑÁ\—Ùû‚¶e3&üwYIJú½§Nž|ê½ÕoÜrËë¯ßrËäÕ{E‰±{ʨ¼ r@/µásÆæÖŸÚñ®]¥Æßñæ[ïxë-à…©À K€ªð%Bþ&ÇIž°ØŒçJWJ7à;Èü0IàDùˆôQÙNÉ.Ù˲eG2‡Ü`嶎ór„›aã8«ÍoˆŠ +9%v/vÈ\–¤Þãñ ãàæ!MŸØÅ«½\FûiÏGÑe|ZGdÝŒ+û-›OnÝxþì›g\Ƈ7õ=Ý>.¸~åŒúÂÅ3ESU$™"gƒ^trÚè¦õ-ýÿ;È¿ÌùWæó—õ7x ªJÀ½Ï5X$Ä€»JÈõÛKì‚}²}Ž}…ýv™I£oã@•ªm‰_mqÙï4ƒ˼D’øŽ§]RZ‰ð^<ž'`†hYV›[8ÌÙÝ“VÙVú~KñºŸû† º¡rØÃ(7ýê¤#»dÃÕ«ð8úÝý6Ñ«4î'jK }”štêÇ!’ +t*ó÷Á—m:/'ÉÝ( +ˆ´hê¢IÈ9µ˜ -FUÝ|Ó£&r  çr¹¡‚hnYNyu°.42ZW¶ˆ[P]hÂS…‰Ä¸–èG¡Ê¾ }Wv2t²L>"4¢lQpQùVnk@,PF©¥˜‹’ýNäÅ^/}©Z_ç]± {zg¼^Àï +&JŽ‘Š¥¸7œZ¾oA!€h–•u—¾¬¨¬³Œ)£üè®4Áîòw™¢[Aô +^Q*‰¥ +j„0oÐë[ôûôŒÞn*ÄÃÏß–¿)n.~¤`@y"Ö`®fz +ZI3ÉâºJ]•¶Z7B×Ô º]“ÂVW¨w:{óØ®Àdªk¶l¶k…l…KR!+q5Éš\Se’"yåH‘?ŒÀ#škGŒYë¯4ë(ÈÃq«ññ¨ñ¸‘EF½Q02Æf­Ñ¨ÓúÍ!¯¸U"¿ÞOüÍ¿ßëñ‡*Š2ÀR}))m.,--*ôW4 8ïHnh®khêüù…RO¸ ?Çí’bYn¥Pƒš¥¹>ÆáS(YeEE(dVj´¼Õ"xË‹,Ýb9v{øH˜ÖÃÝa>U‹ +ÓÜѹ™Êiu¨|1Pù4 ò*¼Z¨|Oúžœ“‡ä½Ò^9Ó%ë–‘9²¹ò¹Nf³ó)¹Ê»ï$ŒË»ÈKf ñ¿f´:³×LÌÍv³Ùf÷ÏÔê2[’i±¶9»+e´:= +éCä ÕNSÞœQíJjª¤x>Šx°éMn+-Ïh4(JÞqÄŽítCÑ‹ +Þ†¢- àÙ©vwZiÈêvâì?›Åt +d™Ç.”/T.Ò,6Ì3]h•›}ŒÎ§`T +·:Hýq€»'wTˆÏÙbéŸ{uÕQJ|Uºêmè1ç¶3ÍtÌE;ù–£«—\nqÜX°)|_Þ݇ŸÌ{´ÀðpoŽnå·F™Œý êÉÈf•ùÕ¬XΈáÉT ÈÉ·Õ©"¯Í÷¹” +ê#‰øÐF¿,ˆí +*ËuCve¿å‚$äᇚÆ_g7)µ¦@™½ró>¼BTÝ—xvï›iÊÌ>|ÇÔy“]f +VòlV¿9˜>¤€ËñÂM\«žÏAíhaã“ü“•ªzÓôÚ¨ÿ6½oy¿ö“QßšŽ•}=ê”éDÙ/£Œ*“Ô"©UŒòšÌs­sÔZÿe{uªi¦éU «Õ\YumÍÍU7×<ÂõrÊ[kvyÉ$y, #ãe›N+3««QYIQ€-¨ÐiÕŒ1{ÍÈ‘>ƒ¯A™Äå;¾$ñ]‚+\áó¡ÙÔj_‹‡²3Gsñ”@MÔìè.iýPh_ÅQ{SƒŒ‘†•>ÕY–OÖqÆ3ŒcôzÞà™;ÅqÇé÷ê!GŸjzÞ +KUå(#ï +™BÖZ³Õ8«½¸’‡Ä8 +ª–:›Ymµ#G¸ã Ë8jâUÞ +W¦t=›þ +ÿ¿]·‰j6Sd0³)s÷ÿmììR^Cï$û&¬YI +)P¼µG×ñ|XÇvf6Š€$V+Ù]’cÁ¹N!J`u¡\­VÈýºÌQ¢Ê91{”ñÑz> +¼ü  ˨‹9çLs\¼!/Ê[Ê,™¿Cño‡âVPb +[~˜#Ùhb¥’‰5x‘QÊeV>Ʀ,>‡ÌÀ~P†ŒéϳgfâˆÈåqSyº:pâÆ'_½J87ã Z0ñ­­"¾͈«îkh[I<"2n™¼èÙL1ãI¥8¨¡ÿ¦à €g +Å[ñVã“&†Wò*^Íkx-¯ãÁr«ÁUƦ É|ÃBna`;tzÂd¼˜Þ¥Ý&˜5H£×jÍDñ*­_i0f6QøZ/⥷i·ÑÛ´3ÄÛ´~Á·g-ã÷œ8èö4Œy£;’ Ä›8ÎdâLFŒ”Y§S_£dj” +i †KâE‚ÊDj +u†íÆ°/B&¬4‚—·Yãsx;ÐLû2®Kª}y¢#{K¿rxÙ2^X8p‰íßÝý¿¹äúoêÅE¢'Ðø•S¯ôLIÜšzì<ÑíUCÓµ¸,„ Ö‰€8=˜Êh®C÷Îؾ°ªtš½0™Ãä äX"Ö™',X“d·e§UŽˆž¬²¬·l·ÃD˜‘šåC“©Ôd:ÆÜ´`wrÁ¶(eƯhrÑ;æ&×/¢Þé/©Ò›ƒ‰«ÿ¡®ÿ;rïP.½,Ê{€KKð³ öÍhóÇ4>k9.7´hëIÓ?ý*…i¼iœ^`¸Üt¹ÿ&ÓMþ݆çL{ü/û?ðkac‰ÑPbÊH_FS8(v~O·{6ù=`ÿ;ýX1=*(µX« *)((.ñÇJLŠÌ…‰dS溎#'2‡µÈŠ­…&«•3ù¦’Ü ….‰D +íŒ>xδɓZÛZÆxÎ37M;c\dúø¢s›Õ£*Tn"¯Dÿý±èb1eéú¤ÓbšÒRÑÿó¬FÔë¦GAtš†&£I¨µ¡4yÐyÈŒšÐT4Í@ãPMGãQ:5#5…* +I`Õ'")ÅQˆˆÿ@³ZPÃÒ•—,œw ?qÞeHlExô—ÿ‡³?£ßqt<= ý_Ø·Äÿ­g¾R†ÏHÎÏ´¿E:†¶žp®Bó²Á †~lCÂîßô·åØעnôºVí9ûÐ^XÃÅè6hë†Öƒèvt>ªAUîÌÐëïüè7J\ÑžÄö=3uñŸäŠÌ¢<š$þ¿y/=0)’–ýk{RNÿ‰ZÅÀšü_"ìSq +endstream +endobj +2 0 obj +<>endobj +xref +0 32 +0000000000 65535 f +0000010357 00000 n +0000033594 00000 n +0000010277 00000 n +0000009631 00000 n +0000000015 00000 n +0000002960 00000 n +0000010405 00000 n +0000010730 00000 n +0000011744 00000 n +0000011219 00000 n +0000018467 00000 n +0000010446 00000 n +0000010476 00000 n +0000009791 00000 n +0000002980 00000 n +0000004796 00000 n +0000010517 00000 n +0000010547 00000 n +0000009953 00000 n +0000004817 00000 n +0000007167 00000 n +0000010588 00000 n +0000010618 00000 n +0000010115 00000 n +0000007188 00000 n +0000009610 00000 n +0000010659 00000 n +0000010689 00000 n +0000012278 00000 n +0000018683 00000 n +0000011523 00000 n +trailer +<< /Size 32 /Root 1 0 R /Info 2 0 R +/ID [<17FD5896A0448A9DF5F43C971ADE1C70><17FD5896A0448A9DF5F43C971ADE1C70>] +>> +startxref +33808 +%%EOF
/trunk/qtwosComp.v
0,0 → 1,54
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 13:44:20 08/24/2011
// Design Name:
// Module Name: twosComp
// Project Name:
// Target Devices:
// Tool versions:
// Description: Performs the 2's complement of an N-bit fixed-pont number
// The result is 2N bits long...
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//////////////////////////////////////////////////////////////////////////////////
module qtwosComp #(
parameter Q = 15,
parameter N = 32
)
(
input [N-2:0] a,
output [2*N-1:0] b
);
 
reg [2*N-1:0] data;
reg [2*N-1:0] flip;
reg [2*N-1:0] out;
assign b = out;
always @(a)
begin
data <= a; //if you dont put the value into a 2Nb register, when you flip the bits it wont work right
end
always @(data) // This will generate a warning, as a is not referenced
// This is okay, however, as "data" is directly computed from "a"
 
begin
flip <= ~a;
end
always @(flip)
begin
out <= flip + 1;
end
 
endmodule
/trunk/Test_mult.v
0,0 → 1,62
`timescale 1ns / 1ps
 
////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 13:36:55 06/27/2013
// Design Name: qmult
// Module Name: I:/Projects/xilinx/FPInterface/Tester/Tran3005/Test_mult.v
// Project Name: Trancendental
// Target Device:
// Tool versions:
// Description:
//
// Verilog Test Fixture created by ISE for module: qmult
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
////////////////////////////////////////////////////////////////////////////////
module Test_mult;
 
// Inputs
reg [31:0] i_multiplicand;
reg [31:0] i_multiplier;
 
// Outputs
wire [31:0] o_result;
wire ovr;
// Instantiate the Unit Under Test (UUT)
qmult #(19,32) uut (
.i_multiplicand(i_multiplicand),
.i_multiplier(i_multiplier),
.o_result(o_result),
.ovr(ovr)
);
 
initial begin
$monitor ("%b,%b,%b,%b", i_multiplicand, i_multiplier, o_result, ovr); // Monitor the stuff we care about
// Initialize Inputs
i_multiplicand = 32'b00000000000110010010000111111011; //pi = 3.141592
i_multiplicand[31] = 0; // i_multiplicand sign
i_multiplier[31] = 0; // i_multiplier sign
i_multiplier[30:0] = 0;
 
// Wait 100 ns for global reset to finish
#100;
#100 i_multiplier[0] = 1; // 1.91E-6
end
 
// Add stimulus here
always begin
#10 i_multiplier[30:0] = (i_multiplier[30:0] << 1) + 1; // Why not??
end
endmodule
 
/trunk/TestDiv.v
0,0 → 1,93
`timescale 1ns / 1ps
 
////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 18:48:08 12/29/2013
// Design Name: qdiv
// Module Name: G:/Tran3005/TestDiv.v
// Project Name: Trancendental
// Target Device:
// Tool versions:
// Description:
//
// Verilog Test Fixture created by ISE for module: qdiv
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
////////////////////////////////////////////////////////////////////////////////
 
module TestDiv;
 
// Inputs
reg [31:0] i_dividend;
reg [31:0] i_divisor;
reg i_start;
reg i_clk;
 
// Outputs
wire [31:0] o_quotient_out;
wire o_complete;
wire o_overflow;
 
// Instantiate the Unit Under Test (UUT)
qdiv uut (
.i_dividend(i_dividend),
.i_divisor(i_divisor),
.i_start(i_start),
.i_clk(i_clk),
.o_quotient_out(o_quotient_out),
.o_complete(o_complete),
.o_overflow(o_overflow)
);
 
reg [10:0] count;
 
initial begin
// Initialize Inputs
i_dividend = 1;
i_divisor = 1;
i_start = 0;
i_clk = 0;
count <= 0;
 
// Wait 100 ns for global reset to finish
#100;
 
// Add stimulus here
forever #2 i_clk = ~i_clk;
end
always @(posedge i_clk) begin
if (count == 47) begin
count <= 0;
i_start <= 1'b1;
end
else begin
count <= count + 1;
i_start <= 1'b0;
end
end
 
always @(count) begin
if (count == 47) begin
if ( i_divisor > 32'h1FFFFFFF ) begin
i_divisor <= 1;
i_dividend = (i_dividend << 1) + 3;
end
else
i_divisor = (i_divisor << 1) + 1;
end
end
always @(posedge o_complete)
$display ("%b,%b,%b, %b", i_dividend, i_divisor, o_quotient_out, o_overflow); // Monitor the stuff we care about
 
endmodule
 
/trunk/qmult.v
0,0 → 1,62
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 11:21:14 08/24/2011
// Design Name:
// Module Name: q15_mult
// Project Name:
// Target Devices:
// Tool versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//////////////////////////////////////////////////////////////////////////////////
module qmult #(
//Parameterized values
parameter Q = 15,
parameter N = 32
)
(
input [N-1:0] i_multiplicand,
input [N-1:0] i_multiplier,
output [N-1:0] o_result,
output reg ovr
);
// The underlying assumption, here, is that both fixed-point values are of the same length (N,Q)
// Because of this, the results will be of length N+N = 2N bits....
// This also simplifies the hand-back of results, as the binimal point
// will always be in the same location...
reg [2*N-1:0] r_result; // Multiplication by 2 values of N bits requires a
// register that is N+N = 2N deep...
reg [N-1:0] r_RetVal;
//--------------------------------------------------------------------------------
assign o_result = r_RetVal; // Only handing back the same number of bits as we received...
// with fixed point in same location...
//---------------------------------------------------------------------------------
always @(i_multiplicand, i_multiplier) begin // Do the multiply any time the inputs change
r_result <= i_multiplicand[N-2:0] * i_multiplier[N-2:0]; // Removing the sign bits from the multiply - that
// would introduce *big* errors
ovr <= 1'b0; // reset overflow flag to zero
end
// This always block will throw a warning, as it uses a & b, but only acts on changes in result...
always @(r_result) begin // Any time the result changes, we need to recompute the sign bit,
r_RetVal[N-1] <= i_multiplicand[N-1] ^ i_multiplier[N-1]; // which is the XOR of the input sign bits... (you do the truth table...)
r_RetVal[N-2:0] <= r_result[N-2+Q:Q]; // And we also need to push the proper N bits of result up to
// the calling entity...
if (r_result[2*N-2:N-1+Q] > 0) // And finally, we need to check for an overflow
ovr <= 1'b1;
end
 
endmodule
/trunk/Tes_add.v
0,0 → 1,86
`timescale 1ns / 1ps
 
////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 15:35:03 06/30/2013
// Design Name: qadd
// Module Name: I:/Projects/xilinx/FPInterface/Tester/Tran3005/Tes_add.v
// Project Name: Trancendental
// Target Device:
// Tool versions:
// Description:
//
// Verilog Test Fixture created by ISE for module: qadd
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
////////////////////////////////////////////////////////////////////////////////
 
module Tes_add;
 
// Inputs
reg [31:0] a;
reg [31:0] b;
 
// Outputs
wire [31:0] c;
 
// Instantiate the Unit Under Test (UUT)
qadd #(19,32) uut (
.a(a),
.b(b),
.c(c)
);
 
// These are to monitor the values...
wire [30:0] c_out;
wire [30:0] a_in;
wire [30:0] b_in;
wire a_sign;
wire b_sign;
wire c_sign;
assign a_in = a[30:0];
assign b_in = b[30:0];
assign c_out = c[30:0];
assign a_sign = a[31];
assign b_sign = b[31];
assign c_sign = c[31];
initial begin
// Initialize Inputs
a[30:0] = 0;
a[31] = 0;
b[31] = 1;
b[30:0] = 0;
 
// Wait 100 ns for global reset to finish
#100;
// Add stimulus here
forever begin
#1 a = a+5179347; // why not?
a[31] = 0; // a is negative...
b[31] = 1;
if (a[30:0] > 2.1E9) // input will always be "positive"
begin
a = 0;
b[31] = 1; // b is negative...
b[30:0] = b[30:0] + 3779351;
end
end
 
end
endmodule
 
/trunk/qdiv.v
0,0 → 1,96
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 19:39:14 08/24/2011
// Design Name:
// Module Name: divider
// Project Name:
// Target Devices:
// Tool versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments: Based on my description on youtube:
// http://youtu.be/TEnaPMYiuR8
//
//////////////////////////////////////////////////////////////////////////////////
module qdiv #(
//Parameterized values
parameter Q = 15,
parameter N = 32
)
(
input [N-1:0] i_dividend,
input [N-1:0] i_divisor,
input i_start,
input i_clk,
output [N-1:0] o_quotient_out,
output o_complete,
output o_overflow
);
reg [2*N+Q-3:0] reg_working_quotient; // Our working copy of the quotient
reg [N-1:0] reg_quotient; // Final quotient
reg [N-2+Q:0] reg_working_dividend; // Working copy of the dividend
reg [2*N+Q-3:0] reg_working_divisor; // Working copy of the divisor
reg [N:0] reg_count; // This is obviously a lot bigger than it needs to be, as we only need
// count to N-1+Q but, computing that number of bits requires a
// logarithm (base 2), and I don't know how to do that in a
// way that will work for everyone
reg reg_done; // Computation completed flag
reg reg_sign; // The quotient's sign bit
reg reg_overflow; // Overflow flag
initial reg_done = 1'b1; // Initial state is to not be doing anything
initial reg_overflow = 1'b0; // And there should be no woverflow present
initial reg_sign = 1'b0; // And the sign should be positive
assign o_quotient_out[N-2:0] = reg_working_quotient; // The division results
assign o_quotient_out[N-1] = reg_sign; // The sign of the quotient
assign o_complete = reg_done;
assign o_overflow = reg_overflow;
always @( posedge i_clk ) begin
if( reg_done && i_start ) begin // This is our startup condition
// Need to check for a divide by zero right here, I think....
reg_done <= 1'b0; // We're not done
reg_count <= N+Q-2; // Set the count
reg_working_quotient <= 0; // Clear out the quotient register
reg_working_dividend <= 0; // Clear out the dividend register
reg_working_divisor <= 0; // Clear out the divisor register
reg_overflow <= 1'b0; // Clear the overflow register
 
reg_working_dividend[N+Q-2:Q] <= i_dividend[N-2:0]; // Left-align the dividend in its working register
reg_working_divisor[2*N+Q-3:N+Q-1] <= i_divisor[N-2:0]; // Left-align the divisor into its working register
 
reg_sign <= i_dividend[N-1] ^ i_divisor[N-1]; // Set the sign bit
end
else if(!reg_done) begin
reg_working_divisor <= reg_working_divisor >> 1; // Right shift the divisor (that is, divide it by two - aka reduce the divisor)
reg_count <= reg_count - 1; // Decrement the count
 
// If the dividend is greater than the divisor
if(reg_working_dividend >= reg_working_divisor) begin
reg_working_quotient[reg_count] <= 1'b1; // Set the quotient bit
reg_working_dividend <= reg_working_dividend - reg_working_divisor; // and subtract the divisor from the dividend
end
//stop condition
if(reg_count == 0) begin
reg_done <= 1'b1; // If we're done, it's time to tell the calling process
if (reg_working_quotient[2*N+Q-3:N]>0)
reg_overflow <= 1'b1;
end
else
reg_count <= reg_count - 1;
end
end
endmodule
/trunk/TestMultS.v
0,0 → 1,96
`timescale 1ns / 1ps
 
////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 14:01:19 01/02/2014
// Design Name: qmults
// Module Name: F:/FixedPoint/TestMultS.v
// Project Name: FixedPoint
// Target Device:
// Tool versions:
// Description:
//
// Verilog Test Fixture created by ISE for module: qmults
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
////////////////////////////////////////////////////////////////////////////////
 
module TestMultS;
 
// Inputs
reg [31:0] i_multiplicand;
reg [31:0] i_multiplier;
reg i_start;
reg i_clk;
 
// Outputs
wire [31:0] o_result_out;
wire o_complete;
wire o_overflow;
 
// Instantiate the Unit Under Test (UUT)
qmults uut (
.i_multiplicand(i_multiplicand),
.i_multiplier(i_multiplier),
.i_start(i_start),
.i_clk(i_clk),
.o_result_out(o_result_out),
.o_complete(o_complete),
.o_overflow(o_overflow)
);
 
reg [10:0] count;
 
initial begin
// Initialize Inputs
i_multiplicand = 0;
i_multiplier = 0;
i_start = 0;
i_clk = 0;
count = 0;
 
// Wait 100 ns for global reset to finish
#100;
// Add stimulus here
// Add stimulus here
forever #2 i_clk = ~i_clk;
end
always @(posedge i_clk) begin
if (count == 47) begin
count <= 0;
i_start <= 1'b1;
end
else begin
count <= count + 1;
i_start <= 1'b0;
end
end
 
always @(count) begin
if (count == 47) begin
if ( i_multiplier > 32'h1FFFFFFF ) begin
i_multiplier <= 1;
i_multiplicand = (i_multiplicand << 1) + 3;
end
else
i_multiplier = (i_multiplier << 1) + 1;
end
end
always @(posedge o_complete)
$display ("%b,%b,%b,%b", i_multiplicand, i_multiplier, o_result_out, o_overflow); // Monitor the stuff we care about
 
 
endmodule
 
/trunk/qmults.v
0,0 → 1,90
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 13:33:36 01/02/2014
// Design Name:
// Module Name: qmults
// Project Name:
// Target Devices:
// Tool versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//////////////////////////////////////////////////////////////////////////////////
module qmults#(
//Parameterized values
parameter Q = 15,
parameter N = 32
)
(
input [N-1:0] i_multiplicand,
input [N-1:0] i_multiplier,
input i_start,
input i_clk,
output [N-1:0] o_result_out,
output o_complete,
output o_overflow
);
 
reg [2*N-2:0] reg_working_result; // a place to accumulate our result
reg [2*N-2:0] reg_multiplier_temp; // a working copy of the multiplier
reg [N-1:0] reg_multiplicand_temp; // a working copy of the umultiplicand
reg [N:0] reg_count; // This is obviously a lot bigger than it needs to be, as we only need
// count to N, but computing that number of bits requires a
// logarithm (base 2), and I don't know how to do that in a
// way that will work for every possibility
reg reg_done; // Computation completed flag
reg reg_sign; // The result's sign bit
reg reg_overflow; // Overflow flag
initial reg_done = 1'b1; // Initial state is to not be doing anything
initial reg_overflow = 1'b0; // And there should be no woverflow present
initial reg_sign = 1'b0; // And the sign should be positive
assign o_result_out[N-2:0] = reg_working_result[N-2+Q:Q]; // The multiplication results
assign o_result_out[N-1] = reg_sign; // The sign of the result
assign o_complete = reg_done; // "Done" flag
assign o_overflow = reg_overflow; // Overflow flag
always @( posedge i_clk ) begin
if( reg_done && i_start ) begin // This is our startup condition
reg_done <= 1'b0; // We're not done
reg_count <= 0; // Reset the count
reg_working_result <= 0; // Clear out the result register
reg_multiplier_temp <= 0; // Clear out the multiplier register
reg_multiplicand_temp <= 0; // Clear out the multiplicand register
reg_overflow <= 1'b0; // Clear the overflow register
 
reg_multiplicand_temp <= i_multiplicand[N-2:0]; // Load the multiplicand in its working register and lose the sign bit
reg_multiplier_temp <= i_multiplier[N-2:0]; // Load the multiplier into its working register and lose the sign bit
 
reg_sign <= i_multiplicand[N-1] ^ i_multiplier[N-1]; // Set the sign bit
end
 
else if (!reg_done) begin
if (reg_multiplicand_temp[reg_count] == 1'b1) // if the appropriate multiplicand bit is 1
reg_working_result <= reg_working_result + reg_multiplier_temp; // then add the temp multiplier
reg_multiplier_temp <= reg_multiplier_temp << 1; // Do a left-shift on the multiplier
reg_count <= reg_count + 1; // Increment the count
 
//stop condition
if(reg_count == N) begin
reg_done <= 1'b1; // If we're done, it's time to tell the calling process
if (reg_working_result[2*N-2:N-1+Q] > 0) // Check for an overflow
reg_overflow <= 1'b1;
// else
// reg_count <= reg_count + 1; // Increment the count
end
end
end
endmodule
/trunk/ReadMe.txt
0,0 → 1,239
Verilog Fixed point math library
 
Original work by Sam Skalicky, originally found here:
http://opencores.org/project,fixed_point_arithmetic_parameterized
 
Extended, updated, and heavily commented by Tom Burke (tomburkeii@gmail.com)
 
This library includes the basic math functions for the Verilog Language,
for implementation on FPGAs.
 
All units have been simulated and synthesized for Xilinx Spartan 3E devices
using the Xilinx ISE WebPack tools v14.7
 
These math routines use a signed magnitude Q,N format, where N is the total
number of bits used, and Q is the number of fractional bits used. For
instance, 15,32 would represent a 32-bit number with 15 fractional bits,
16 integer bits, and 1 sign bit as shown below:
 
|1|<- N-Q-1 bits ->|<--- Q bits -->|
|S|IIIIIIIIIIIIIIII|FFFFFFFFFFFFFFF|
 
This library contains the following modules:
qadd.v - Addition module; adds 2 numbers of any sign.
qdiv.v - Division module; divides two numbers using a right-shift and
subtract algorithm - requires an input clock
qmult.v - Multiplication module; purely combinational for systems that
will support it
qmults.v - Multiplication module; uses a left-shift and add algorithm -
requires an input clock (for systems that cannot support
the synthesis of a combinational multiplier)
Test_add.v - Test fixture for the qadd.v module
Test_mult.v - Test fixture for the qmult.v module
TestDiv.v - Test fixture for the qdiv.v module
TestMultS.v - Test fixture for the qmults.v module
 
These math routines default to a (Q,N) of (15,32), but are easily customizable
to your application by changing their input parameters. For instance, an
unmodified use of (15,32) would look something like this:
 
qadd my_adder(
.a(addend_a),
.b(addend_b),
.c(result)
);
 
To change this to an (8,23) notation, for instance, the same module would be
instantiated thusly:
 
qadd #(8,23) my_adder(
.a(addend_a),
.b(addend_b),
.c(result)
);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The following is a description of each module
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
qadd.v - A simple combinational addition module.
 
sum = addend + addend
 
Input format:
|1|<- N-Q-1 bits ->|<--- Q bits -->|
|S|IIIIIIIIIIIIIIII|FFFFFFFFFFFFFFF|
 
Inputs:
a - addend 1
b - addend 2
 
Output format:
|1|<- N-Q-1 bits ->|<--- Q bits -->|
|S|IIIIIIIIIIIIIIII|FFFFFFFFFFFFFFF|
 
Output:
c - result
NOTE: There is no error detection for an overflow. It is up to the designer
to ensure that an overflow cannot occur!!
 
Example usage:
qadd #(Q,N) my_adder(
.a(addend_a),
.b(addend_b),
.c(result)
);
For subtraction, set the sign bit for the negative number. (subtraction is
the addition of a negative, right?)
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qmult.v - A simple combinational multiplication module.
 
Input format:
|1|<- N-Q-1 bits ->|<--- Q bits -->|
|S|IIIIIIIIIIIIIIII|FFFFFFFFFFFFFFF|
 
Inputs:
i_multiplicand - multiplicand
i_multiplier - multiplier
 
Output format:
|1|<- N-Q-1 bits ->|<--- Q bits -->|
|S|IIIIIIIIIIIIIIII|FFFFFFFFFFFFFFF|
 
Output:
o_result - result
ovr - overflow flag
NOTE: This module assumes a system that supports the synthesis of
combinational multipliers. If your device/synthesizer does not
support this for your particular application, then use the
"qmults.v" module.
 
NOTE: Notice that the output format is identical to the input format! To
properly use this module, you need to either ensure that you maximum
result never exceeds the format, or incorporate the overflow flag
into your design
 
Example usage:
qmult #(Q,N) my_multiplier(
.i_multiplicand(multiplicand),
.i_multiplier(multiplier),
.o_result(result),
.ovr(overflow_flag)
);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qmults.v - A multi-clock multiplication module that uses a left-shift
and add algorithm.
result = multiplicand x multiplier
 
Input format:
|1|<- N-Q-1 bits ->|<--- Q bits -->|
|S|IIIIIIIIIIIIIIII|FFFFFFFFFFFFFFF|
 
Inputs:
i_multiplicand - multiplicand
i_multiplier - multiplier
i_start - Start flag; set this bit high ("1") to start the
operation when the last operation is completed. This
bit is ignored until o_complete is asserted.
i_clk - input clock; internal workings occur on the rising edge
 
Output format:
|1|<- N-Q-1 bits ->|<--- Q bits -->|
|S|IIIIIIIIIIIIIIII|FFFFFFFFFFFFFFF|
 
Output:
o_result_out - result
o_complete - computation complete flag; asserted ("1") when the
operation is completed
o_overflow - overflow flag; asserted ("1") to indicate that an
overflow has occurred.
NOTE: This module is "time deterministic ." - that is, it should always
take the same number of clock cycles to complete an operation,
regardless of the inputs (N+1 clocks)
 
NOTE: Notice that the output format is identical to the input format! To
properly use this module, you need to either ensure that you maximum
result never exceeds the format, or incorporate the overflow flag
into your design
 
Example usage:
qmults #(Q,N) my_multiplier(
.i_multiplicand(multiplicand),
.i_multiplier(multiplier),
.i_start(start),
.i_clk(clock),
.o_result(result),
.o_complete(done),
.o_overflow(overflow_flag)
);
The qmults.v module begins computation when the start conditions are met:
o_complete == 1'b1;
i_start == 1'b1;
 
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qdiv.v - A multi-clock division module that uses a right-shift
and add algorithm.
 
quotient = dividend / divisor
 
Input format:
|1|<- N-Q-1 bits ->|<--- Q bits -->|
|S|IIIIIIIIIIIIIIII|FFFFFFFFFFFFFFF|
 
Inputs:
i_dividend - dividend
i_divisor - divisor
i_start - Start flag; set this bit high ("1") to start the
operation when the last operation is completed. This
bit is ignored until o_complete is asserted.
i_clk - input clock; internal workings occur on the rising edge
 
Output format:
|1|<- N-Q-1 bits ->|<--- Q bits -->|
|S|IIIIIIIIIIIIIIII|FFFFFFFFFFFFFFF|
 
Output:
o_quotient_out - result
o_complete - computation complete flag; asserted ("1") when the
operation is completed
o_overflow - overflow flag; asserted ("1") to indicate that an
overflow has occurred.
NOTE: This module is "time deterministic ." - that is, it should always
take the same number of clock cycles to complete an operation,
regardless of the inputs (N+Q+1 clocks)
 
NOTE: Notice that the output format is identical to the input format! To
properly use this module, you need to either ensure that you maximum
result never exceeds the format, or incorporate the overflow flag
into your design
 
Example usage:
qdiv #(Q,N) my_divider(
.i_dividend(dividend),
.i_divisor(divisor),
.i_start(start),
.i_clk(clock),
.o_quotient_out(result),
.o_complete(done),
.o_overflow(overflow_flag)
);
The qdiv.v module begins computation when the start conditions are met:
o_complete == 1'b1;
i_start == 1'b1;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Suggestions, Kudos, or Complaints? Feel free to contact me - but remember,
this stuff is free!
 
 
 
/trunk/Test_add.v
0,0 → 1,86
`timescale 1ns / 1ps
 
////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 15:35:03 06/30/2013
// Design Name: qadd
// Module Name: I:/Projects/xilinx/FPInterface/Tester/Tran3005/Tes_add.v
// Project Name: Trancendental
// Target Device:
// Tool versions:
// Description:
//
// Verilog Test Fixture created by ISE for module: qadd
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
////////////////////////////////////////////////////////////////////////////////
 
module Test_add;
 
// Inputs
reg [31:0] a;
reg [31:0] b;
 
// Outputs
wire [31:0] c;
 
// Instantiate the Unit Under Test (UUT)
qadd #(19,32) uut (
.a(a),
.b(b),
.c(c)
);
 
// These are to monitor the values...
wire [30:0] c_out;
wire [30:0] a_in;
wire [30:0] b_in;
wire a_sign;
wire b_sign;
wire c_sign;
assign a_in = a[30:0];
assign b_in = b[30:0];
assign c_out = c[30:0];
assign a_sign = a[31];
assign b_sign = b[31];
assign c_sign = c[31];
initial begin
// Initialize Inputs
a[30:0] = 0;
a[31] = 0;
b[31] = 1;
b[30:0] = 0;
 
// Wait 100 ns for global reset to finish
#100;
// Add stimulus here
forever begin
#1 a = a+5179347; // why not?
a[31] = 0; // a is negative...
b[31] = 1;
if (a[30:0] > 2.1E9) // input will always be "positive"
begin
a = 0;
b[31] = 1; // b is negative...
b[30:0] = b[30:0] + 3779351;
end
end
 
end
endmodule
 
/trunk/qadd.v
0,0 → 1,72
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 09:28:18 08/24/2011
// Design Name:
// Module Name: q15_add
// Project Name:
// Target Devices:
// Tool versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//////////////////////////////////////////////////////////////////////////////////
module qadd #(
//Parameterized values
parameter Q = 15,
parameter N = 32
)
(
input [N-1:0] a,
input [N-1:0] b,
output [N-1:0] c
);
 
reg [N-1:0] res;
 
assign c = res;
 
always @(a,b) begin
// both negative or both positive
if(a[N-1] == b[N-1]) begin // Since they have the same sign, absolute magnitude increases
res[N-2:0] = a[N-2:0] + b[N-2:0]; // So we just add the two numbers
res[N-1] = a[N-1]; // and set the sign appropriately... Doesn't matter which one we use,
// they both have the same sign
// Do the sign last, on the off-chance there was an overflow...
end // Not doing any error checking on this...
// one of them is negative...
else if(a[N-1] == 0 && b[N-1] == 1) begin // subtract a-b
if( a[N-2:0] > b[N-2:0] ) begin // if a is greater than b,
res[N-2:0] = a[N-2:0] - b[N-2:0]; // then just subtract b from a
res[N-1] = 0; // and manually set the sign to positive
end
else begin // if a is less than b,
res[N-2:0] = b[N-2:0] - a[N-2:0]; // we'll actually subtract a from b to avoid a 2's complement answer
if (res[N-2:0] == 0)
res[N-1] = 0; // I don't like negative zero....
else
res[N-1] = 1; // and manually set the sign to negative
end
end
else begin // subtract b-a (a negative, b positive)
if( a[N-2:0] > b[N-2:0] ) begin // if a is greater than b,
res[N-2:0] = a[N-2:0] - b[N-2:0]; // we'll actually subtract b from a to avoid a 2's complement answer
if (res[N-2:0] == 0)
res[N-1] = 0; // I don't like negative zero....
else
res[N-1] = 1; // and manually set the sign to negative
end
else begin // if a is less than b,
res[N-2:0] = b[N-2:0] - a[N-2:0]; // then just subtract a from b
res[N-1] = 0; // and manually set the sign to positive
end
end
end
endmodule

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.