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

Subversion Repositories zap

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

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