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

Subversion Repositories zap

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

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

powered by: WebSVN 2.1.0

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