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

Subversion Repositories zap

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

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

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