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

Subversion Repositories zap

[/] [zap/] [trunk/] [README.md] - Blame information for rev 57

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 57 Revanth
## NOTE: This project was designed by me as a part of a student design contest. It is no longer actively supported.
2
 
3 45 Revanth
## The ZAP ARM Processor (ARMv5T Compatible, FPGA Synthesizable Soft Processor)
4 26 Revanth
 
5 47 Revanth
### Author        : Revanth Kamaraj (revanth91kamaraj@gmail.com)
6 26 Revanth
 
7 43 Revanth
### Introduction
8 26 Revanth
 
9 43 Revanth
The ZAP processor is a 10 stage pipelined processor for FPGA with support for cache and MMU (ARMv5T compliant).
10 26 Revanth
 
11 52 Revanth
Please note that the processor is *not* an ARM clone but a completely different RTL design, written from scratch (in FPGA compliant Verilog-2001), that can run ARM v5T binaries (both user and kernel code), hence, no particular ARMX number is specified.
12 48 Revanth
 
13 52 Revanth
This project was originally created for the ORCONF-2016 Student Design Contest.
14 48 Revanth
 
15 52 Revanth
ZAP is specifically designed to work with FPGAs. To keep the code generic across FPGA vendors, inference based coding style is followed.
16 51 Revanth
 
17 45 Revanth
![Wishbone logo](https://wishbone-interconnect.readthedocs.io/en/latest/_images/wishbone_stamp.svg)
18
 
19 49 Revanth
#### Repos
20
 
21 52 Revanth
This project is hosted on Github and Opencores.
22
 
23 49 Revanth
GIT: https://github.com/krevanth/ZAP
24
 
25
SVN: https://opencores.org/projects/zap
26
 
27 43 Revanth
#### Features
28 26 Revanth
 
29 43 Revanth
##### ZAP Processor (zap_top.v)
30 26 Revanth
 
31 43 Revanth
The ZAP core is a pipelined ATMv5T processor for FPGA.
32 26 Revanth
 
33 43 Revanth
| Property              | Description             |
34
|-----------------------|-------------------------|
35
|HDL                    | Verilog-2001            |
36
|Author                 | Revanth Kamaraj         |
37
|ARM v5T ISA Support    | Fully compatible        |
38
|Branch Predictor       | Direct mapped bimodal   |
39
|Write Buffer           | Yes                     |
40
|Abort Model            | Base Restored           |
41
|Integrated v5T CP15    | Yes                     |
42
|External Coproc. Bus   | No                      |
43
|Cache Interface        | 128-Bit custom interface|
44
|26-Bit Support         | No                      |
45
|L1 Code Cache          | Direct mapped virtual   |
46
|L1 Data Cache          | Direct mapped virtual   |
47
|Cache Write Policy     | Writeback               |
48
|L1 Code TLB            | Direct mapped           |
49
|L1 Data TLB            | Direct mapped           |
50
|Bus Interface          | 32-bit Wishbone B3 Linear incrementing burst |
51
|Cache/TLB Lock Support | No                      |
52
|CP15 Compliance        | v5T (No fine pages)     |
53
|FCSE Support           | Yes                     |
54 52 Revanth
|Cache Read Speed (Hit) | 320MB/s @ 80MHz CLK     |
55
|Cache Write Speed(Hit) | 160MB/s @ 80MHz CLK     |
56
|Cache Line Size        | 16B                     |
57 26 Revanth
 
58 51 Revanth
 * 10-stage pipeline design. Pipeline has extensive bypass network to resolve dependencies. Most operations execute at a rate of 1 operation per clock.
59 43 Revanth
 * 2 write ports for the register file to allow LDR/STR with writeback to execute as a single instruction.
60 51 Revanth
 * Instructions of ALU + Shift can allow execution of subsequent commands with dependencies if the subsequent command doesn't use the shifter. This is done by having a dual feedback network.
61
 * The core is specifically designed for use in FGPA and relies on FGPA inference to allow portability across FPGA vendors.
62 26 Revanth
 
63 43 Revanth
#### CPU Configuration (zap_top.v)
64
 
65
| Parameter                | Default| Description |
66
|--------------------------|--------|-------------|
67
| BP_ENTRIES               |  1024 | Branch Predictor Settings. Predictor RAM depth. Must be 2^n and > 2 |
68
| FIFO_DEPTH               |  4    | Branch Predictor Settings. Command FIFO depth. Must be 2^n and > 2  |
69
| STORE_BUFFER_DEPTH       | 16    | Branch Predictor Settings. Depth of the store buffer. Must be 2^n and > 2 |
70
| DATA_SECTION_TLB_ENTRIES |  4    | Data Cache/MMU Configuration. Section TLB entries. Must be 2^n (n > 0) |
71
| DATA_LPAGE_TLB_ENTRIES   |  8    | Data Cache/MMU Configuration. Large page TLB entries. Must be 2^n (n > 0) |
72
| DATA_SPAGE_TLB_ENTRIES   |  16   | Data Cache/MMU Configuration. Small page TLB entries. Must be 2^n (n > 0) |
73
| DATA_CACHE_SIZE          |  1024 | Data Cache/MMU Configuration. Cache size in bytes. Must be at least 256B and 2^n |
74
| CODE_SECTION_TLB_ENTRIES |  4    | Instruction Cache/MMU Configuration. Section TLB entries. Must be 2^n (n > 0) |
75
| CODE_LPAGE_TLB_ENTRIES   |  8    | Instruction Cache/MMU Configuration. Large page TLB entries. Must be 2^n (n > 0) |
76
| CODE_SPAGE_TLB_ENTRIES   |  16   | Instruction Cache/MMU Configuration. Small page TLB entries. Must be 2^n (n > 0) |
77
| CODE_CACHE_SIZE          |  1024 | Instruction Cache/MMU Configuration. Cache size in bytes. Must be at least 256B and 2^n |
78
 
79
#### CPU IO Interface (zap_top.v)
80 26 Revanth
 
81
Wishbone B3 compatible 32-bit bus.
82
 
83 43 Revanth
|        Dir    | Size     | Port               | Description                      |
84
|---------------|----------|--------------------|----------------------------------|
85
|        input  |          | i_clk              |  Clock                           |
86
|        input  |          | i_reset            |  Reset                           |
87
|        input  |          | i_irq              |  Interrupt. Level Sensitive.     |
88
|        input  |          | i_fiq              |  Fast Interrupt. Level Sensitive.|
89
|        output |          |  o_wb_cyc          |  Wishbone B3 Signal              |
90
|        output |          |  o_wb_stb          |  WIshbone B3 signal              |
91
|        output | [31:0]   |  o_wb_adr          |  Wishbone B3 signal.             |
92
|        output |          |  o_wb_we           |  Wishbone B3 signal.             |
93
|        output | [31:0]   |  o_wb_dat          |  Wishbone B3 signal.             |
94
|        output | [3:0]    |  o_wb_sel          |  Wishbone B3 signal.             |
95 52 Revanth
|        output | [2:0]    |  o_wb_cti          |  Wishbone B3 signal. Cycle Type Indicator (Supported modes: Incrementing Burst, End of Burst) |
96
|        output | [1:0]    |  o_wb_bte          |  Wishbone B3 signal. Burst Type Indicator (Supported modes: Linear)                           |
97 43 Revanth
|        input  |          |  i_wb_ack          |  Wishbone B3 signal.             |
98
|        input  | [31:0]   |  i_wb_dat          |  Wishbone B3 signal.             |
99
|        output |          |   o_wb_stb_nxt     | IGNORE THIS PORT. LEAVE OPEN.    |
100
|        output |          |   o_wb_cyc_nxt     | IGNORE THIS PORT. LEAVE OPEN.    |
101
|        output |   [31:0] |   o_wb_adr_nxt     | IGNORE THIS PORT. LEAVE OPEN.    |
102 26 Revanth
 
103 52 Revanth
### Directory Structure
104 26 Revanth
 
105 52 Revanth
 
106
 
107 53 Revanth
        ├── LICENSE
108
        ├── makefile
109
        ├── README.md
110
        └── src
111
 
112
                ├── rtl
113
                │   └── cpu
114
                │       ├── zap_alu_main.v
115
                │       ├── zap_cache_fsm.v
116
                │       ├── zap_cache_tag_ram.v
117
                │       ├── zap_cache.v
118
                │       ├── zap_core.v
119
                │       ├── zap_cp15_cb.v
120
                │       ├── zap_decode_main.v
121
                │       ├── zap_decode.v
122
                │       ├── zap_decompile.v
123
                │       ├── zap_defines.vh
124
                │       ├── zap_fetch_main.v
125
                │       ├── zap_fifo.v
126
                │       ├── zap_functions.vh
127
                │       ├── zap_issue_main.v
128
                │       ├── zap_localparams.vh
129
                │       ├── zap_mem_inv_block.v
130
                │       ├── zap_memory_main.v
131
                │       ├── zap_predecode_compress.v
132
                │       ├── zap_predecode_coproc.v
133
                │       ├── zap_predecode_main.v
134
                │       ├── zap_predecode_mem_fsm.v
135
                │       ├── zap_ram_simple.v
136
                │       ├── zap_register_file.v
137
                │       ├── zap_shifter_main.v
138
                │       ├── zap_shifter_multiply.v
139
                │       ├── zap_shift_shifter.v
140
                │       ├── zap_sync_fifo.v
141
                │       ├── zap_thumb_decoder.v
142
                │       ├── zap_tlb_check.v
143
                │       ├── zap_tlb_fsm.v
144
                │       ├── zap_tlb.v
145
                │       ├── zap_top.v
146
                │       ├── zap_wb_adapter.v
147
                │       ├── zap_wb_merger.v
148
                │       └── zap_writeback.v
149
                ├── scripts
150
                │   ├── bin2vlog.pl
151
                │   ├── Config.cfg_template
152
                │   ├── makefile
153
                │   ├── run_sim.pl
154 57 Revanth
                │   └── uart_input.pl
155 53 Revanth
                ├── testbench
156
                │   ├── chip_top.v
157
                │   ├── External_IP
158
                │   │   └── uart16550
159
                │   │       ├── doc
160
                │   │       │   ├── CHANGES.txt
161
                │   │       │   ├── src
162
                │   │       │   │   └── UART_spec.doc
163
                │   │       │   └── UART_spec.pdf
164
                │   │       └── rtl
165
                │   │           ├── raminfr.v
166
                │   │           ├── uart_debug_if.v
167
                │   │           ├── uart_defines.v
168
                │   │           ├── uart_receiver.v
169
                │   │           ├── uart_regs.v
170
                │   │           ├── uart_rfifo.v
171
                │   │           ├── uart_sync_flops.v
172
                │   │           ├── uart_tfifo.v
173
                │   │           ├── uart_top.v
174
                │   │           ├── uart_transmitter.v
175
                │   │           └── uart_wb.v
176
                │   ├── ram.v
177
                │   ├── timer.v
178
                │   ├── uart_rx_logger.v
179
                │   ├── uart_tx_dumper.v
180
                │   ├── vic.v
181
                │   └── zap_tb.v
182
                └── ts
183
                    ├── arm_test
184
                    │   ├── arm_test.c
185
                    │   ├── arm_test.ld
186
                    │   ├── arm_test.s
187
                    │   ├── Config.cfg
188
                    │   ├── Description.txt
189
                    │   └── makefile
190
                    ├── factorial
191
                    │   ├── Config.cfg
192
                    │   ├── Description.txt
193
                    │   ├── factorial.c
194
                    │   ├── factorial.ld
195
                    │   ├── factorial.s
196
                    │   └── makefile
197
                    ├── makefile
198
                    ├── thumb_test
199
                    │   ├── Config.cfg
200
                    │   ├── Description.txt
201
                    │   ├── linker.ld
202
                    │   ├── main.c
203
                    │   ├── makefile
204
                    │   └── thumb.s
205
                    └── uart
206
                        ├── Config.cfg
207
                        ├── Description.txt
208
                        ├── irq_handler.c
209
                        ├── main.c
210
                        ├── makefile
211
                        ├── uart.c
212
                        ├── uart.h
213
                        ├── uart.ld
214
                        └── uart.s
215 52 Revanth
 
216 51 Revanth
### Run Sample Tests
217
 
218 43 Revanth
*Tested on Ubuntu 16.04 LTS/18.04 LTS*
219 26 Revanth
 
220 43 Revanth
Let the variable $test_name hold the name of the test. See the src/ts directory for some basic tests pre-installed. Available test names are: factorial, arm_test, thumb_test, uart. New tests can be added using these as starting templates. Please note that these will be run on the SOC platform (chip_top) that consist of the ZAP processor, 2 x UARTs, a VIC and a timer.
221 42 Revanth
 
222 43 Revanth
```bash
223 52 Revanth
sudo apt-get install gcc-arm-none-eabi binutils-arm-none-eabi gdb openocd
224
sudo apt-get install iverilog gtkwave make perl xterm
225 43 Revanth
cd $PROJ_ROOT/src/ts/$test_name # $PROJ_ROOT is the project directory.
226 52 Revanth
make                            # Runs the test using IVerilog.
227 43 Revanth
cd $PROJ_ROOT/obj/ts/$test_name # Switch to object folder.
228 52 Revanth
gvim zap.log.gz                 # View the log file
229
gtkwave zap.vcd.gz              # Exists if selected by Config.cfg of that test case.
230 43 Revanth
```
231 44 Revanth
To use this processor in your SOC, instantiate this top level CPU module in your project: /src/rtl/cpu/zap_top.v
232 42 Revanth
 
233 51 Revanth
### FPGA Timing Performance (Vivado, Retime Enabled)
234 43 Revanth
 
235
| FPGA Part          | Speed |  Critical Path |
236
|--------------------|-------|----------------|
237
| xc7a35tiftg256-1L  | 80MHz | Cache access   |
238
 
239 47 Revanth
### License
240
 
241
 
242
                    GNU GENERAL PUBLIC LICENSE
243
                       Version 2, June 1991
244
 
245
 Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
246
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
247
 Everyone is permitted to copy and distribute verbatim copies
248
 of this license document, but changing it is not allowed.
249
 
250
                            Preamble
251
 
252
  The licenses for most software are designed to take away your
253
freedom to share and change it.  By contrast, the GNU General Public
254
License is intended to guarantee your freedom to share and change free
255
software--to make sure the software is free for all its users.  This
256
General Public License applies to most of the Free Software
257
Foundation's software and to any other program whose authors commit to
258
using it.  (Some other Free Software Foundation software is covered by
259
the GNU Lesser General Public License instead.)  You can apply it to
260
your programs, too.
261
 
262
  When we speak of free software, we are referring to freedom, not
263
price.  Our General Public Licenses are designed to make sure that you
264
have the freedom to distribute copies of free software (and charge for
265
this service if you wish), that you receive source code or can get it
266
if you want it, that you can change the software or use pieces of it
267
in new free programs; and that you know you can do these things.
268
 
269
  To protect your rights, we need to make restrictions that forbid
270
anyone to deny you these rights or to ask you to surrender the rights.
271
These restrictions translate to certain responsibilities for you if you
272
distribute copies of the software, or if you modify it.
273
 
274
  For example, if you distribute copies of such a program, whether
275
gratis or for a fee, you must give the recipients all the rights that
276
you have.  You must make sure that they, too, receive or can get the
277
source code.  And you must show them these terms so they know their
278
rights.
279
 
280
  We protect your rights with two steps: (1) copyright the software, and
281
(2) offer you this license which gives you legal permission to copy,
282
distribute and/or modify the software.
283
 
284
  Also, for each author's protection and ours, we want to make certain
285
that everyone understands that there is no warranty for this free
286
software.  If the software is modified by someone else and passed on, we
287
want its recipients to know that what they have is not the original, so
288
that any problems introduced by others will not reflect on the original
289
authors' reputations.
290
 
291
  Finally, any free program is threatened constantly by software
292
patents.  We wish to avoid the danger that redistributors of a free
293
program will individually obtain patent licenses, in effect making the
294
program proprietary.  To prevent this, we have made it clear that any
295
patent must be licensed for everyone's free use or not licensed at all.
296
 
297
  The precise terms and conditions for copying, distribution and
298
modification follow.
299
 
300
                    GNU GENERAL PUBLIC LICENSE
301
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
302
 
303
  0. This License applies to any program or other work which contains
304
a notice placed by the copyright holder saying it may be distributed
305
under the terms of this General Public License.  The "Program", below,
306
refers to any such program or work, and a "work based on the Program"
307
means either the Program or any derivative work under copyright law:
308
that is to say, a work containing the Program or a portion of it,
309
either verbatim or with modifications and/or translated into another
310
language.  (Hereinafter, translation is included without limitation in
311
the term "modification".)  Each licensee is addressed as "you".
312
 
313
Activities other than copying, distribution and modification are not
314
covered by this License; they are outside its scope.  The act of
315
running the Program is not restricted, and the output from the Program
316
is covered only if its contents constitute a work based on the
317
Program (independent of having been made by running the Program).
318
Whether that is true depends on what the Program does.
319
 
320
  1. You may copy and distribute verbatim copies of the Program's
321
source code as you receive it, in any medium, provided that you
322
conspicuously and appropriately publish on each copy an appropriate
323
copyright notice and disclaimer of warranty; keep intact all the
324
notices that refer to this License and to the absence of any warranty;
325
and give any other recipients of the Program a copy of this License
326
along with the Program.
327
 
328
You may charge a fee for the physical act of transferring a copy, and
329
you may at your option offer warranty protection in exchange for a fee.
330
 
331
  2. You may modify your copy or copies of the Program or any portion
332
of it, thus forming a work based on the Program, and copy and
333
distribute such modifications or work under the terms of Section 1
334
above, provided that you also meet all of these conditions:
335
 
336
    a) You must cause the modified files to carry prominent notices
337
    stating that you changed the files and the date of any change.
338
 
339
    b) You must cause any work that you distribute or publish, that in
340
    whole or in part contains or is derived from the Program or any
341
    part thereof, to be licensed as a whole at no charge to all third
342
    parties under the terms of this License.
343
 
344
    c) If the modified program normally reads commands interactively
345
    when run, you must cause it, when started running for such
346
    interactive use in the most ordinary way, to print or display an
347
    announcement including an appropriate copyright notice and a
348
    notice that there is no warranty (or else, saying that you provide
349
    a warranty) and that users may redistribute the program under
350
    these conditions, and telling the user how to view a copy of this
351
    License.  (Exception: if the Program itself is interactive but
352
    does not normally print such an announcement, your work based on
353
    the Program is not required to print an announcement.)
354
 
355
These requirements apply to the modified work as a whole.  If
356
identifiable sections of that work are not derived from the Program,
357
and can be reasonably considered independent and separate works in
358
themselves, then this License, and its terms, do not apply to those
359
sections when you distribute them as separate works.  But when you
360
distribute the same sections as part of a whole which is a work based
361
on the Program, the distribution of the whole must be on the terms of
362
this License, whose permissions for other licensees extend to the
363
entire whole, and thus to each and every part regardless of who wrote it.
364
 
365
Thus, it is not the intent of this section to claim rights or contest
366
your rights to work written entirely by you; rather, the intent is to
367
exercise the right to control the distribution of derivative or
368
collective works based on the Program.
369
 
370
In addition, mere aggregation of another work not based on the Program
371
with the Program (or with a work based on the Program) on a volume of
372
a storage or distribution medium does not bring the other work under
373
the scope of this License.
374
 
375
  3. You may copy and distribute the Program (or a work based on it,
376
under Section 2) in object code or executable form under the terms of
377
Sections 1 and 2 above provided that you also do one of the following:
378
 
379
    a) Accompany it with the complete corresponding machine-readable
380
    source code, which must be distributed under the terms of Sections
381
    1 and 2 above on a medium customarily used for software interchange; or,
382
 
383
    b) Accompany it with a written offer, valid for at least three
384
    years, to give any third party, for a charge no more than your
385
    cost of physically performing source distribution, a complete
386
    machine-readable copy of the corresponding source code, to be
387
    distributed under the terms of Sections 1 and 2 above on a medium
388
    customarily used for software interchange; or,
389
 
390
    c) Accompany it with the information you received as to the offer
391
    to distribute corresponding source code.  (This alternative is
392
    allowed only for noncommercial distribution and only if you
393
    received the program in object code or executable form with such
394
    an offer, in accord with Subsection b above.)
395
 
396
The source code for a work means the preferred form of the work for
397
making modifications to it.  For an executable work, complete source
398
code means all the source code for all modules it contains, plus any
399
associated interface definition files, plus the scripts used to
400
control compilation and installation of the executable.  However, as a
401
special exception, the source code distributed need not include
402
anything that is normally distributed (in either source or binary
403
form) with the major components (compiler, kernel, and so on) of the
404
operating system on which the executable runs, unless that component
405
itself accompanies the executable.
406
 
407
If distribution of executable or object code is made by offering
408
access to copy from a designated place, then offering equivalent
409
access to copy the source code from the same place counts as
410
distribution of the source code, even though third parties are not
411
compelled to copy the source along with the object code.
412
 
413
  4. You may not copy, modify, sublicense, or distribute the Program
414
except as expressly provided under this License.  Any attempt
415
otherwise to copy, modify, sublicense or distribute the Program is
416
void, and will automatically terminate your rights under this License.
417
However, parties who have received copies, or rights, from you under
418
this License will not have their licenses terminated so long as such
419
parties remain in full compliance.
420
 
421
  5. You are not required to accept this License, since you have not
422
signed it.  However, nothing else grants you permission to modify or
423
distribute the Program or its derivative works.  These actions are
424
prohibited by law if you do not accept this License.  Therefore, by
425
modifying or distributing the Program (or any work based on the
426
Program), you indicate your acceptance of this License to do so, and
427
all its terms and conditions for copying, distributing or modifying
428
the Program or works based on it.
429
 
430
  6. Each time you redistribute the Program (or any work based on the
431
Program), the recipient automatically receives a license from the
432
original licensor to copy, distribute or modify the Program subject to
433
these terms and conditions.  You may not impose any further
434
restrictions on the recipients' exercise of the rights granted herein.
435
You are not responsible for enforcing compliance by third parties to
436
this License.
437
 
438
  7. If, as a consequence of a court judgment or allegation of patent
439
infringement or for any other reason (not limited to patent issues),
440
conditions are imposed on you (whether by court order, agreement or
441
otherwise) that contradict the conditions of this License, they do not
442
excuse you from the conditions of this License.  If you cannot
443
distribute so as to satisfy simultaneously your obligations under this
444
License and any other pertinent obligations, then as a consequence you
445
may not distribute the Program at all.  For example, if a patent
446
license would not permit royalty-free redistribution of the Program by
447
all those who receive copies directly or indirectly through you, then
448
the only way you could satisfy both it and this License would be to
449
refrain entirely from distribution of the Program.
450
 
451
If any portion of this section is held invalid or unenforceable under
452
any particular circumstance, the balance of the section is intended to
453
apply and the section as a whole is intended to apply in other
454
circumstances.
455
 
456
It is not the purpose of this section to induce you to infringe any
457
patents or other property right claims or to contest validity of any
458
such claims; this section has the sole purpose of protecting the
459
integrity of the free software distribution system, which is
460
implemented by public license practices.  Many people have made
461
generous contributions to the wide range of software distributed
462
through that system in reliance on consistent application of that
463
system; it is up to the author/donor to decide if he or she is willing
464
to distribute software through any other system and a licensee cannot
465
impose that choice.
466
 
467
This section is intended to make thoroughly clear what is believed to
468
be a consequence of the rest of this License.
469
 
470
  8. If the distribution and/or use of the Program is restricted in
471
certain countries either by patents or by copyrighted interfaces, the
472
original copyright holder who places the Program under this License
473
may add an explicit geographical distribution limitation excluding
474
those countries, so that distribution is permitted only in or among
475
countries not thus excluded.  In such case, this License incorporates
476
the limitation as if written in the body of this License.
477
 
478
  9. The Free Software Foundation may publish revised and/or new versions
479
of the General Public License from time to time.  Such new versions will
480
be similar in spirit to the present version, but may differ in detail to
481
address new problems or concerns.
482
 
483
Each version is given a distinguishing version number.  If the Program
484
specifies a version number of this License which applies to it and "any
485
later version", you have the option of following the terms and conditions
486
either of that version or of any later version published by the Free
487
Software Foundation.  If the Program does not specify a version number of
488
this License, you may choose any version ever published by the Free Software
489
Foundation.
490
 
491
  10. If you wish to incorporate parts of the Program into other free
492
programs whose distribution conditions are different, write to the author
493
to ask for permission.  For software which is copyrighted by the Free
494
Software Foundation, write to the Free Software Foundation; we sometimes
495
make exceptions for this.  Our decision will be guided by the two goals
496
of preserving the free status of all derivatives of our free software and
497
of promoting the sharing and reuse of software generally.
498
 
499
                            NO WARRANTY
500
 
501
  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
502
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
503
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
504
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
505
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
506
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
507
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
508
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
509
REPAIR OR CORRECTION.
510
 
511
  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
512
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
513
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
514
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
515
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
516
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
517
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
518
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
519
POSSIBILITY OF SUCH DAMAGES.
520
 
521
                     END OF TERMS AND CONDITIONS
522
 
523
            How to Apply These Terms to Your New Programs
524
 
525
  If you develop a new program, and you want it to be of the greatest
526
possible use to the public, the best way to achieve this is to make it
527
free software which everyone can redistribute and change under these terms.
528
 
529
  To do so, attach the following notices to the program.  It is safest
530
to attach them to the start of each source file to most effectively
531
convey the exclusion of warranty; and each file should have at least
532
the "copyright" line and a pointer to where the full notice is found.
533
 
534
    
535
    Copyright (C)   
536
 
537
    This program is free software; you can redistribute it and/or modify
538
    it under the terms of the GNU General Public License as published by
539
    the Free Software Foundation; either version 2 of the License, or
540
    (at your option) any later version.
541
 
542
    This program is distributed in the hope that it will be useful,
543
    but WITHOUT ANY WARRANTY; without even the implied warranty of
544
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
545
    GNU General Public License for more details.
546
 
547
    You should have received a copy of the GNU General Public License along
548
    with this program; if not, write to the Free Software Foundation, Inc.,
549
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
550
 
551
Also add information on how to contact you by electronic and paper mail.
552
 
553
If the program is interactive, make it output a short notice like this
554
when it starts in an interactive mode:
555
 
556
    Gnomovision version 69, Copyright (C) year name of author
557
    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
558
    This is free software, and you are welcome to redistribute it
559
    under certain conditions; type `show c' for details.
560
 
561
The hypothetical commands `show w' and `show c' should show the appropriate
562
parts of the General Public License.  Of course, the commands you use may
563
be called something other than `show w' and `show c'; they could even be
564
mouse-clicks or menu items--whatever suits your program.
565
 
566
You should also get your employer (if you work as a programmer) or your
567
school, if any, to sign a "copyright disclaimer" for the program, if
568
necessary.  Here is a sample; alter the names:
569
 
570
  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
571
  `Gnomovision' (which makes passes at compilers) written by James Hacker.
572
 
573
  , 1 April 1989
574
  Ty Coon, President of Vice
575
 
576
This General Public License does not permit incorporating your program into
577
proprietary programs.  If your program is a subroutine library, you may
578
consider it more useful to permit linking proprietary applications with the
579
library.  If this is what you want to do, use the GNU Lesser General
580
Public License instead of this License.

powered by: WebSVN 2.1.0

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