Perception Tool Kit (PTK) API Guide
global.h
Go to the documentation of this file.
1 #include <stdio.h>
2 #include <stdlib.h>
3 
4 #ifndef _GLOBAL_H
5 #define _GLOBAL_H
6 
8 
13  periph_load_type, // memory read from outside cpu (eg. DMA)
14  periph_store_type // memory write " " " " "
15 };
16 
17 typedef unsigned uword;
18 typedef int word;
19 
20 typedef struct {
23 } dword;
24 
25 typedef struct {
30 } qword;
31 
32 #if !defined(AVOID_LONG_LONG)
33 typedef struct {
34  long long low;
35  long long high;
36 } two_longlong;
37 #else
38 typedef struct {
39  int64_ll low;
40  int64_ll high;
41 } two_longlong;
42 #endif
43 
44 typedef struct {
47 } csr_type;
48 
49 typedef struct {
50  unsigned int NAN1ADD1 : 1;
51  unsigned int NAN2ADD1 : 1;
52  unsigned int DEN1ADD1 : 1;
53  unsigned int DEN2ADD1 : 1;
54  unsigned int INVALADD1 : 1;
55  unsigned int INFOADD1 : 1;
56  unsigned int OVERADD1 : 1;
57  unsigned int INEXADD1 : 1;
58  unsigned int UNDERADD1 : 1;
59  unsigned int ROUNDINGMODEADD1 : 2;
60  unsigned int RSV1 : 5;
61  unsigned int NAN1ADD2 : 1;
62  unsigned int NAN2ADD2 : 1;
63  unsigned int DEN1ADD2 : 1;
64  unsigned int DEN2ADD2 : 1;
65  unsigned int INVALADD2 : 1;
66  unsigned int INFOADD2 : 1;
67  unsigned int OVERADD2 : 1;
68  unsigned int INEXADD2 : 1;
69  unsigned int UNDERADD2 : 1;
70  unsigned int ROUNDINGMODEADD2 : 2;
71  unsigned int RSV2 : 5;
72 } fadcr_type;
73 
74 typedef struct {
75  unsigned int NAN1AU1 : 1;
76  unsigned int NAN2AU1 : 1;
77  unsigned int DEN1AU1 : 1;
78  unsigned int DEN2AU1 : 1;
79  unsigned int INVALAU1 : 1;
80  unsigned int INFOAU1 : 1;
81  unsigned int OVERAU1 : 1;
82  unsigned int INEXAU1 : 1;
83  unsigned int UNDERAU1 : 1;
84  unsigned int UNORDAU1 : 1;
85  unsigned int DIV0AU1 : 1;
86  unsigned int RSV1 : 5;
87  unsigned int NAN1AU2 : 1;
88  unsigned int NAN2AU2 : 1;
89  unsigned int DEN1AU2 : 1;
90  unsigned int DEN2AU2 : 1;
91  unsigned int INVALAU2 : 1;
92  unsigned int INFOAU2 : 1;
93  unsigned int OVERAU2 : 1;
94  unsigned int INEXAU2 : 1;
95  unsigned int UNDERAU2 : 1;
96  unsigned int UNORDAU2 : 1;
97  unsigned int DIV0AU2 : 1;
98  unsigned int RSV2 : 5;
99 } faucr_type;
100 
101 typedef struct {
102  unsigned int NAN1MPY1 : 1;
103  unsigned int NAN2MPY1 : 1;
104  unsigned int DEN1MPY1 : 1;
105  unsigned int DEN2MPY1 : 1;
106  unsigned int INVALMPY1 : 1;
107  unsigned int INFOMPY1 : 1;
108  unsigned int OVERMPY1 : 1;
109  unsigned int INEXMPY1 : 1;
110  unsigned int UNDERMPY1 : 1;
111  unsigned int ROUNDINGMODEMPY1 : 2;
112  unsigned int RSV1 : 5;
113  unsigned int NAN1MPY2 : 1;
114  unsigned int NAN2MPY2 : 1;
115  unsigned int DEN1MPY2 : 1;
116  unsigned int DEN2MPY2 : 1;
117  unsigned int INVALMPY2 : 1;
118  unsigned int INFOMPY2 : 1;
119  unsigned int OVERMPY2 : 1;
120  unsigned int INEXMPY2 : 1;
121  unsigned int UNDERMPY2 : 1;
122  unsigned int ROUNDINGMODEMPY2 : 2;
123  unsigned int RSV2 : 5;
124 } fmcr_type;
125 
126 #if !defined(NO_GLOBAL_DATA_DECLS)
127 extern csr_type CSR;
128 extern fadcr_type FADCR;
129 extern faucr_type FAUCR;
130 extern fmcr_type FMCR;
131 extern word GPLYA;
132 extern word GPLYB;
133 extern word GFPGFR;
134 
135 extern datapath_types datapath;
136 #endif
137 
138 #endif
139 /*
140 
141 C6000 Host Intrinsics Software License Agreement
142 
143 
144 IMPORTANT - PLEASE READ THE FOLLOWING LICENSE AGREEMENT CAREFULLY.
145 THIS IS A LEGALLY BINDING AGREEMENT. AFTER YOU READ THIS LICENSE
146 AGREEMENT, YOU WILL BE ASKED WHETHER YOU ACCEPT AND AGREE TO THE
147 TERMS OF THIS LICENSE AGREEMENT. DO NOT CLICK "I HAVE READ AND AGREE"
148 UNLESS: (1) YOU ARE AUTHORIZED TO ACCEPT AND AGREE TO THE TERMS OF THIS
149 LICENSE AGREEMENT ON BEHALF OF YOURSELF AND YOUR COMPANY; AND (2) YOU
150 INTEND TO ENTER INTO AND TO BE BOUND BY THE TERMS OF THIS LEGALLY
151 BINDING AGREEMENT ON BEHALF OF YOURSELF AND YOUR COMPANY.
152 
153 
154 Important - Read carefully: This C6000 Host Intrinsics Software License
155 Agreement ("Agreement") is a legal agreement between you (either an
156 individual or entity) and Texas Instruments Incorporated ("TI"). The
157 "Licensed Materials" subject to this Agreement include the software
158 programs that TI has granted you access to download with this Agreement
159 and any "on-line" or electronic documentation associated with these
160 programs, or any portion thereof, as well as any updates or upgrades to such
161 software programs and documentation, if any, or any portion thereof,
162 provided to you in TI's sole discretion. By installing, copying or otherwise
163 using the Licensed Materials you agree to abide by the following provisions.
164 This Agreement is displayed for you to read prior to using the Licensed
165 Materials. If you choose not to accept or agree with these provisions, do not
166 download or install the Licensed Materials.
167 
168 1. License Grant and Use Restrictions.
169 
170 a. License Grant. Subject to the terms of this Agreement, TI hereby
171 grants to you under all TI intellectual property rights embodied in the
172 Licensed Materials a limited, non-exclusive, non-transferable, non-
173 assignable, fully paid-up, royalty-free, non-sublicensable license only to
174 (i) use the Licensed Materials solely for the purposes of evaluating,
175 testing, debugging and optimizing applications ("Target Applications")
176 that execute solely and exclusively on processing devices manufactured
177 by or for TI ("TI Devices"), and (ii) make a reasonable number of copies
178 necessary to exercise the right granted to you in Section 1(a)(i) above.
179 Use of any software applications optimized or developed using the
180 Licensed Materials on processing devices manufactured by or for an
181 entity other than TI is a material breach of this Agreement. It is also a
182 material breach of this license to use the Licensed Materials to assist in
183 the design, development or verification of a device that is instruction set
184 compatible with, or functionally equivalent to, a TI processing device.
185 
186 b. Contractors and Suppliers. The licenses granted to you hereunder
187 shall include your on-site and off-site suppliers and independent
188 contractors, while such suppliers and independent contractors are
189 performing work for or providing services to you, provided that such
190 suppliers and independent contractors have executed work-for-hire
191 agreements with you containing terms and conditions not inconsistent
192 with the terms and conditions set forth in this Agreement, and provided
193 further that you agree you are responsible for the breach of this
194 Agreement by any of your suppliers or contractors to the same extent
195 that you would be if you breached the Agreement yourself.
196 
197 c. No Distribution License. NOTWITHSTANDING ANYTHING TO THE
198 CONTRARY, THIS AGREEMENT DOES NOT CONVEY ANY
199 LICENSE TO DISTRIBUTE THE LICENSED MATERIALS TO ANY
200 THIRD PARTY. YOU ARE REQUIRED TO EXECUTE A SEPARATE
201 LICENSE AGREEMENT WITH TI BEFORE DISTRIBUTING THE
202 LICENSED MATERIALS OR ANY PRODUCTS THAT CONTAIN THE
203 LICENSED MATERIALS, OR ANY DERIVATIVE THEREOF.
204 
205  d. Limited License to TI and Covenant not to Sue. Continuing for the
206 term of this Agreement, you hereby grant to TI under any of your
207 patents embodied in the Licensed Materials a non-transferable, non-
208 exclusive, non-assignable, worldwide, fully paid-up, royalty-free license
209 to make, use, sell, offer to sell, import, export and otherwise distribute
210 such Licensed Materials. You covenant not to sue or otherwise assert
211 Derived Patents against TI and TI's affiliates and their licensees of the
212 Licensed Materials. In the event you assign a Derived Patent, you shall
213 require as a condition of any such assignment that the assignee agree
214 to be bound by the provisions in this Section 1(d) with respect to such
215 Derived Patent. Any attempted assignment or transfer in violation of
216 this Section 1(d) shall be null and void. For purposes of this Agreement,
217 "Derived Patents" means any of your patents issuing from a patent
218 application that discloses and claims an invention conceived of by you
219 after delivery of the Licensed Materials, and derived by you from your
220 access to the Licensed Materials.
221 
222  e. No Other License. Notwithstanding anything to the contrary, nothing
223 in this Agreement shall be construed as a license to any intellectual
224 property rights of TI other than those rights embodied in the Licensed
225 Materials provided to you by TI. EXCEPT AS PROVIDED HEREIN, NO
226 OTHER LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR
227 OTHERWISE, TO ANY OTHER TI INTELLECTUAL PROPERTY
228 RIGHTS IS GRANTED HEREIN.
229 
230  f. Restrictions.
231 
232 i. You shall not disclose or distribute the source code versions of
233 the Licensed Materials, or any derivative thereof, to any person
234 other than your employees and contractors whose job
235 performance requires access.
236 
237 ii. Use of any software application optimized or developed using
238 the Licensed Materials on processing devices manufactured by
239 or for an entity other than TI is a material breach of this
240 Agreement. Use of the Licensed Materials to assist in the
241 design, development or verification of a device not manufactured
242 by or for TI is a material breach of this Agreement. Use of the
243 Licensed Materials to evaluate, test, debug and optimize
244 applications for use with processing devices other than those
245 manufactured by or for TI is a material breach of this Agreement.
246 
247 iii. Other than as expressly set forth in this Section 1(f)(iii) and in
248 Section 1(a) above, you may not otherwise copy or reproduce
249 the Licensed Materials.
250 
251 iv. You will not sublicense, transfer or assign the Licensed Materials
252 or your rights under this Agreement to any third party.
253 
254 v. You may use the Licensed Materials with Open Source Software
255 (as defined below) or with software developed using Open
256 Source Software (e.g. tools) provided you do not incorporate,
257 combine or distribute the Licensed Materials in a manner that
258 subjects the Licensed Materials, or any derivatives thereof, to
259 any license obligations or any other intellectual property related
260 terms of such Open Source Software. "Open Source Software"
261 means any software licensed under terms requiring that (A) other
262 software ("Proprietary Software") incorporated, combined or
263 distributed with such software or developed using such software:
264 (i) be disclosed or distributed in source code form; or (ii)
265 otherwise be licensed on terms inconsistent with the terms of this
266 Agreement, including but not limited to permitting use of the
267 Proprietary Software on or with devices other than TI Devices, or
268 (B) the owner of Proprietary Software license any of its patents
269 to users of the Open Source Software and/or Proprietary
270 Software incorporated, combined or distributed with such Open
271 Source Software or developed using such Open Source
272 Software.
273 
274  g. Termination. This Agreement is effective until terminated. You may
275 terminate this Agreement at any time by written notice to TI. Without
276 prejudice to any other rights, if you fail to comply with the terms of this
277 Agreement, TI may terminate your right to use the Licensed Materials,
278 or any derivative thereof, and any applications generated using the
279 Licensed Materials, or any derivative thereof, upon written notice to you.
280 Upon expiration or termination of this Agreement, you will destroy any
281 and all copies of the Licensed Materials, including any derivatives
282 thereof, in your possession, custody or control and provide to TI a
283 written statement signed by your authorized representative certifying
284 such destruction. Except for Sections 1(a) and 1(b) and the limited
285 license to TI set forth in Section 1(d), all provisions of this Agreement
286 shall survive expiration or termination of the Agreement.
287 
288 2. Licensed Materials Ownership. The Licensed Materials are licensed,
289 not sold to you, and can only be used in accordance with the terms of
290 this Agreement. Subject to the licenses granted to you pursuant to this
291 Agreement, TI and TI's licensors own and shall continue to own all right,
292 title and interest in and to the Licensed Materials, including all copies
293 thereof. The parties agree that all fixes, modifications and
294 improvements to the Licensed Materials conceived of or made by TI
295 that are based, either in whole or in part, on your feedback, suggestions
296 or recommendations are the exclusive property of TI and all right, title
297 and interest in and to such fixes, modifications or improvements to the
298 Licensed Materials will vest solely in TI. You acknowledge and agree
299 that regardless of the changes made to the Licensed Materials, your
300 right to use any and all derivatives of the Licensed Materials shall
301 remain subject to the terms and conditions of this Agreement.
302 Moreover, you acknowledge and agree that when your independently
303 developed software or hardware components are combined, in whole or
304 in part, with the Licensed Materials, or any derivative thereof, your right
305 to use the Licensed Materials, or any derivative thereof, embodied in
306 such resulting combined work shall remain subject to the terms and
307 conditions of this Agreement.
308 
309 3. Intellectual Property Rights.
310 
311  a. The Licensed Materials contain copyrighted material, trade secrets
312 and other proprietary information of TI and its licensors and are
313 protected by copyright laws, international copyright treaties and trade
314 secret laws, as well as other intellectual property laws. To protect TI's
315 and its licensors' rights in the Licensed Materials, you agree, except as
316 specifically permitted by statute by a provision that cannot be waived by
317 contract, not to "unlock", decompile, reverse engineer, disassemble or
318 otherwise translate any portions of the Licensed Materials provided to
319 you in object code format only to a human-perceivable form nor to
320 permit any person or entity to do so. You shall not remove, erase, alter,
321 tamper, cover or obscure any confidentiality, trade secret, proprietary or
322 copyright notices, trade-marks, proprietary, patent or other identifying
323 marks or designs printed or stamped on, affixed to, or encoded or
324 recorded in any component of the Licensed Materials and you shall
325 reproduce and include in all copies of the Licensed Materials the
326 copyright notice(s) and proprietary legend(s) of TI and its licensors as
327 they appear in the Licensed Materials. TI reserves all rights not
328 specifically granted under this Agreement.
329 
330  b. Certain Licensed Materials may be based on industry recognized
331 standards or software programs published by industry recognized
332 standards bodies and certain third parties may claim to own patents,
333 copyrights and other intellectual property rights that cover
334 implementation of those standards. You acknowledge and agree that
335 this Agreement does not convey a license to any such third party
336 patents, copyrights and other intellectual property rights and that you
337 are solely responsible for any patent, copyright or other intellectual
338 property right claim that relates to your use or distribution of the
339 Licensed Materials, or your use or distribution of your products that
340 include or incorporate the Licensed Materials. Moreover, you
341 acknowledge that any fees or royalties paid to TI pursuant to this
342 Agreement, as applicable, do not include any fees or royalties that may
343 be payable to any third party based on such third party's interests in the
344 Licensed Materials or any intellectual property rights that cover
345 implementation of any industry recognized standard, any software
346 program published by any industry recognized standards bodies or any
347 other proprietary technology.
348 
349 4. Audit Right. At TI's request, and within thirty (30) days after receiving
350 written notice, you shall permit an independent auditor selected by TI to
351 have access, no more than once each calendar year (unless the
352 immediately preceding audit revealed a breach of this Agreement) and
353 during your regular business hours, to all of your equipment, records
354 and documents as may contain information bearing upon the use of the
355 Licensed Materials. You shall keep full, complete, clear and accurate
356 records with respect to product sales and distributions for a period
357 beginning with the then-current calendar year and going back three (3)
358 years.
359 
360 5. Confidential Information. You acknowledge and agree that the
361 Licensed Materials, and any derivative thereof, contain trade secrets
362 and other confidential information of TI and its licensors. You agree to
363 use the Licensed Materials, or any derivative thereof, solely within the
364 scope of the licenses set forth herein, to maintain the Licensed
365 Materials, or any derivative thereof, in strict confidence, to use at least
366 the same procedures and degree of care that you use to prevent
367 disclosure of your own confidential information of like importance but in
368 no instance less than reasonable care, and to prevent disclosure of the
369 Licensed Materials, or any derivative thereof, to any third party, except
370 as may be necessary and required in connection with your rights and
371 obligations hereunder. You agree to obtain executed confidentiality
372 agreements with your employees and contractors having access to the
373 Licensed Materials, or any derivative thereof, and to diligently take
374 steps to enforce such agreements in this respect. TI agrees that
375 industry standard employment agreements used in the normal course of
376 your business shall satisfy the requirements of this section. TI may
377 disclose your contact information to TI's applicable licensors.
378 
379 6. Warranties and Limitations. THE LICENSED MATERIALS ARE
380 PROVIDED "AS IS". TI MAKES NO WARRANTY OR
381 REPRESENTATION, EITHER EXPRESS, IMPLIED OR STATUTORY,
382 REGARDING THE LICENSED MATERIALS, INCLUDING BUT NOT
383 LIMITED TO, ANY IMPLIED WARRANTIES OF MERCHANTABILITY
384 OR FITNESS FOR A PARTICULAR PURPOSE OR NON-
385 INFRINGEMENT OF ANY THIRD PARTY PATENTS, COPYRIGHTS,
386 TRADE SECRETS OR OTHER INTELLECTUAL PROPERTY RIGHTS.
387 YOU AGREE TO USE YOUR INDEPENDENT JUDGMENT IN
388 DEVELOPING YOUR PRODUCTS AND DERIVATIVES OF THE
389 LICENSED MATERIALS. NOTHING CONTAINED IN THIS
390 AGREEMENT WILL BE CONSTRUED AS A WARRANTY OR
391 REPRESENTATION BY TI TO MAINTAIN PRODUCTION OF ANY TI
392 SEMICONDUCTOR DEVICE OR OTHER HARDWARE OR
393 SOFTWARE WITH WHICH THE LICENSED MATERIALS MAY BE
394 USED.
395 
396 YOU ACKNOWLEDGE AND AGREE THAT THE LICENSED
397 MATERIALS MAY NOT BE INTENDED FOR PRODUCTION
398 APPLICATIONS AND MAY CONTAIN IRREGULARITIES AND
399 DEFECTS NOT FOUND IN PRODUCTION SOFTWARE.
400 FURTHERMORE, YOU ACKNOWLEDGE AND AGREE THAT THE
401 LICENSED MATERIALS HAVE NOT BEEN TESTED OR CERTIFIED
402 BY ANY GOVERNMENT AGENCY OR INDUSTRY REGULATORY
403 ORGANIZATION OR ANY OTHER THIRD PARTY ORGANIZATION.
404 YOU AGREE THAT PRIOR TO USING OR DISTRIBUTING ANY
405 COMMERCIAL PRODUCT OPTIMIZED OR DEVELOPED USING THE
406 LICENSED MATERIALS YOU WILL THOROUGHLY TEST THE
407 PRODUCT AND THE FUNCTIONALITY OF THAT PRODUCT AND BE
408 SOLELY RESPONSIBLE FOR ANY PROBLEMS OR FAILURES.
409 
410 IN NO EVENT SHALL TI, OR ANY APPLICABLE LICENSOR, BE
411 LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL, PUNITIVE OR
412 CONSEQUENTIAL DAMAGES, HOWEVER CAUSED, ON ANY
413 THEORY OF LIABILITY, IN CONNECTION WITH OR ARISING OUT
414 OF THIS AGREEMENT OR THE USE OF THE LICENSED
415 MATERIALS, OR ANY DERIVATIVE THEREOF, REGARDLESS OF
416 WHETHER TI HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
417 DAMAGES. EXCLUDED DAMAGES INCLUDE, BUT ARE NOT
418 LIMITED TO, COST OF REMOVAL OR REINSTALLATION, OUTSIDE
419 COMPUTER TIME, LABOR COSTS, LOSS OF DATA, LOSS OF
420 GOODWILL, LOSS OF PROFITS, LOSS OF SAVINGS, OR LOSS OF
421 USE OR INTERRUPTION OF BUSINESS. IN NO EVENT WILL TI'S
422 AGGREGATE LIABILITY UNDER THIS AGREEMENT OR ARISING
423 OUT OF YOUR USE OF THE LICENSED MATERIALS, OR ANY
424 DERIVATIVE THEREOF, EXCEED THE GREATER OF FIVE
425 HUNDRED U.S. DOLLARS (US$500) OR THE FEES PAID TO TI BY
426 YOU FOR THE LICENSED MATERIALS UNDER THIS AGREEMENT.
427 
428  Because some jurisdictions do not allow the exclusion or limitation of
429 incidental or consequential damages or limitation on how long an
430 implied warranty lasts, the above limitations or exclusions may not apply
431 to you.
432 
433 7. Indemnification Disclaimer. YOU ACKNOWLEDGE AND AGREE
434 THAT TI SHALL NOT BE LIABLE FOR AND SHALL NOT DEFEND OR
435 INDEMNIFY YOU AGAINST ANY THIRD PARTY INFRINGEMENT
436 CLAIM THAT RELATES TO OR IS BASED ON YOUR
437 MANUFACTURE, USE OR DISTRIBUTION OF THE LICENSED
438 MATERIALS, OR ANY DERIVATIVE THEREOF, OR YOUR
439 MANUFACTURE, USE, OFFER FOR SALE, SALE, IMPORTATION OR
440 DISTRIBUTION OF YOUR PRODUCTS THAT INCLUDE OR
441 INCORPORATE THE LICENSED MATERIALS, OR ANY DERIVATIVE
442 THEREOF.
443 
444 8. No Technical Support. TI and TI's licensors are under no obligation to
445 install, maintain or support the Licensed Materials, or any derivatives
446 thereof.
447 
448 9. Notices. All notices to TI hereunder shall be delivered to Texas
449 Instruments Incorporated, 12500 TI Boulevard, Mail Station 8638,
450 Dallas, Texas 75243, Attention: Contracts Manager, with a copy to
451 Texas Instruments Incorporated, 13588 N. Central Expressway, Mail
452 Station 3999, Dallas, Texas 75243, Attention: Law Department - ASP.
453 All notices shall be deemed served when received by TI.
454 
455 10. Export Control. You hereby acknowledge that the Licensed Materials
456 are subject to export control under the U.S. Commerce Department's
457 Export Administration Regulations ("EAR"). You further hereby
458 acknowledge and agree that unless prior authorization is obtained from the
459 U.S. Commerce Department, neither you nor your customers will export,
460 re-export or release, directly or indirectly, any technology, software or
461 software source code (as defined in Part 772 of the EAR), received from
462 TI, or export, directly or indirectly, any direct product of such technology,
463 software or software source code (as defined in Part 734 of the EAR), to
464 any destination or country to which the export, re-export or release of the
465 technology, software or software source code, or direct product is
466 prohibited by the EAR. You agree that none of the Licensed Materials
467 may be downloaded or otherwise exported or reexported (i) into (or to a
468 national or resident of) Cuba, Iran, North Korea, Sudan and Syria or any
469 other country the U.S. has embargoed goods; or (ii) to anyone on the U.S.
470 Treasury Department's List of Specially Designated Nationals or the U.S.
471 Commerce Department's Denied Persons List or Entity List. You
472 represent and warrant that you are not located in, under the control of, or a
473 national or resident of any such country or on any such list and you will not
474 use or transfer the Licensed Materials for use in any sensitive nuclear,
475 chemical or biological weapons, or missile technology end-uses unless
476 authorized by the U.S. Government by regulation or specific license or for
477 a military end-use in, or by any military entity of Albania, Armenia,
478 Azerbaijan, Belarus, Cambodia, China, Georgia, Iraq, Kazakhstan,
479 Kyrgyzstan, Laos, Libya, Macau, Moldova, Mongolia, Russia, Tajikistan,
480 Turkmenistan, Ukraine, Uzbekistan and Vietnam. Any software export
481 classification made by TI shall be for TI's internal use only and shall not
482 be construed as a representation or warranty regarding the proper
483 export classification for such software or whether an export license or
484 other documentation is required for the exportation of such software.
485 
486 11. Governing Law and Severability. This Agreement will be governed by
487 and interpreted in accordance with the laws of the State of Texas,
488 without reference to conflict of laws principles. If for any reason a court
489 of competent jurisdiction finds any provision of the Agreement to be
490 unenforceable, that provision will be enforced to the maximum extent
491 possible to effectuate the intent of the parties, and the remainder of the
492 Agreement shall continue in full force and effect. This Agreement shall
493 not be governed by the United Nations Convention on Contracts for the
494 International Sale of Goods, or by the Uniform Computer Information
495 Transactions Act (UCITA). The parties agree that non-exclusive
496 jurisdiction for any dispute arising out of or relating to this Agreement
497 lies within the courts located in the State of Texas. Notwithstanding the
498 foregoing, any judgment may be enforced in any United States or
499 foreign court, and either party may seek injunctive relief in any United
500 States or foreign court.
501 
502 12. PRC Provisions. If you are located in the People's Republic of China
503 ("PRC") or if the Licensed Materials will be sent to the PRC, the
504 following provisions shall apply and shall supersede any other
505 provisions in this Agreement concerning the same subject matter:
506 
507  a. Registration Requirements. You shall be solely responsible for
508 performing all acts and obtaining all approvals that may be required in
509 connection with this Agreement by the government of the PRC,
510 including but not limited to registering pursuant to, and otherwise
511 complying with, the PRC Measures on the Administration of Software
512 Products, Management Regulations on Technology Import-Export, and
513 Technology Import and Export Contract Registration Management
514 Rules. Upon receipt of such approvals from the government authorities,
515 you shall forward evidence of all such approvals to TI for its records. In
516 the event that you fail to obtain any such approval or registration, you
517 shall be solely responsible for any and all losses, damages or costs
518 resulting therefrom, and shall indemnify TI for all such losses, damages
519 or costs.
520 
521 b. Governing Language. This Agreement is written and executed in
522 the English language. If a translation of this Agreement is required for
523 any purpose, including but not limited to registration of the Agreement
524 pursuant to any governmental laws, regulations or rules, you shall be
525 solely responsible for creating such translation. Any translation of this
526 Agreement into a language other than English is intended solely in order
527 to comply with such laws or for reference purposes, and the English
528 language version shall be authoritative and controlling.
529 
530 c. Export Control.
531 
532 i. Diversions of Technology. You hereby agree that unless
533 prior authorization is obtained from the U.S. Department of
534 Commerce, neither you nor your subsidiaries or affiliates shall
535 knowingly export, re-export or release, directly or indirectly, any
536 technology, software or software source code (as defined in Part
537 772 of the Export Administration Regulations of the U.S.
538 Department of Commerce ("EAR")), received from TI or any of its
539 affiliated companies, or export, directly or indirectly, any direct
540 product of such technology, software or software source code (as
541 defined in Part 734 of the EAR), to any destination or country to
542 which the export, re-export or release of the technology, software,
543 software source code or direct product is prohibited by the EAR.
544 
545 ii. Assurance of Compliance. You understand and
546 acknowledge that products, technology (regardless of the form in
547 which it is provided), software or software source code, received
548 from TI or any of its affiliates under this Agreement may be under
549 export control of the United States or other countries. You shall
550 comply with the United States and other applicable non-U.S. laws
551 and regulations governing the export, re-export and release of any
552 products, technology, software or software source code received
553 under this Agreement from TI or its affiliates. You shall not
554 undertake any action that is prohibited by the EAR. Without
555 limiting the generality of the foregoing, you specifically agree that
556 you shall not transfer or release products, technology, software or
557 software source code of TI or its affiliates to, or for use by, military
558 end users or for use in military, missile, nuclear, biological or
559 chemical weapons end uses.
560 
561 iii. Licenses. Each party shall secure at its own expense, such
562 licenses and export and import documents as are necessary for
563 each respective party to fulfill its obligations under this Agreement.
564 If such licenses or government approvals cannot be obtained, TI
565 may terminate this Agreement, or shall otherwise be excused from
566 the performance of any obligations it may have under this
567 Agreement for which the licenses or government approvals are
568 required.
569 
570 13. Contingencies. TI shall not be in breach of this Agreement and shall
571 not be liable for any non-performance or delay in performance if such
572 non-performance or delay is due to a force majeure event or other
573 circumstances beyond TI's reasonable control, including but not limited
574 to, shortages of labor, energy, fuel, machinery or materials, technical or
575 yield failures, war, civil unrest, any government act, law or regulation,
576 including any judicial order or decree, any communication or power
577 failure, labor dispute, natural disaster, fire, flood, earthquake, explosion,
578 terrorist act or Act of God.
579 
580 14. Entire Agreement. This is the entire Agreement between you and TI
581 and this Agreement supersedes any prior agreement between the
582 parties related to the subject matter of this Agreement. No amendment
583 or modification of this Agreement will be effective unless in writing and
584 signed by a duly authorized representative of TI. You hereby warrant
585 and represent that you have obtained all authorizations and other
586 applicable consents required empowering you to enter into this
587 Agreement.
588 
589 
590 
591 
592 
593 Page 1
594 
595 */
596 
unsigned int INVALAU1
Definition: global.h:79
Definition: global.h:7
unsigned int NAN2AU1
Definition: global.h:76
unsigned int UNDERAU2
Definition: global.h:95
unsigned int OVERADD1
Definition: global.h:56
unsigned int NAN1ADD2
Definition: global.h:61
unsigned int NAN2AU2
Definition: global.h:88
unsigned int NAN1ADD1
Definition: global.h:50
unsigned int UNDERAU1
Definition: global.h:83
uword word1
Definition: global.h:27
unsigned int RSV1
Definition: global.h:86
unsigned int DEN1MPY1
Definition: global.h:104
unsigned int UNDERADD1
Definition: global.h:58
unsigned int OVERADD2
Definition: global.h:67
csr_type CSR
Definition: global.h:44
unsigned uword
Definition: global.h:17
long long low
Definition: global.h:34
unsigned int INVALADD1
Definition: global.h:54
load_store_types
Definition: global.h:9
faucr_type FAUCR
unsigned int UNORDAU2
Definition: global.h:96
unsigned int INEXADD2
Definition: global.h:68
Definition: global.h:13
unsigned int INEXAU1
Definition: global.h:82
Definition: global.h:49
Definition: global.h:74
Definition: global.h:7
uword word3
Definition: global.h:29
unsigned int INEXMPY2
Definition: global.h:120
unsigned int RSV1
Definition: global.h:60
unsigned int NAN2MPY2
Definition: global.h:114
unsigned int ROUNDINGMODEMPY2
Definition: global.h:122
Definition: global.h:20
unsigned int RSV2
Definition: global.h:98
unsigned int ROUNDINGMODEMPY1
Definition: global.h:111
unsigned int INVALMPY1
Definition: global.h:106
unsigned int DEN2AU1
Definition: global.h:78
unsigned int NAN1AU2
Definition: global.h:87
unsigned int DEN2ADD1
Definition: global.h:53
word GPLYB
unsigned int RSV1
Definition: global.h:112
unsigned int RSV2
Definition: global.h:71
unsigned int NAN1MPY2
Definition: global.h:113
int word
Definition: global.h:18
Definition: global.h:101
unsigned int NAN1AU1
Definition: global.h:75
unsigned int INEXMPY1
Definition: global.h:109
unsigned int INFOAU1
Definition: global.h:80
unsigned int ROUNDINGMODEADD2
Definition: global.h:70
unsigned int DEN2ADD2
Definition: global.h:64
Definition: global.h:25
datapath_types
Definition: global.h:7
unsigned int NAN1MPY1
Definition: global.h:102
Definition: global.h:12
unsigned int UNDERMPY1
Definition: global.h:110
datapath_types datapath
unsigned int DEN2AU2
Definition: global.h:90
long long int64_ll
Definition: C6xSimulator_base_types.h:44
unsigned int INEXADD1
Definition: global.h:57
Definition: global.h:33
unsigned int DEN2MPY2
Definition: global.h:116
unsigned int OVERMPY2
Definition: global.h:119
Definition: global.h:7
unsigned int DEN1ADD1
Definition: global.h:52
unsigned int DEN2MPY1
Definition: global.h:105
long long high
Definition: global.h:35
uword word0
Definition: global.h:26
unsigned int DEN1AU2
Definition: global.h:89
unsigned int OVERAU2
Definition: global.h:93
word GPLYA
unsigned int INVALADD2
Definition: global.h:65
unsigned int INFOMPY1
Definition: global.h:107
unsigned int NAN2MPY1
Definition: global.h:103
unsigned int NAN2ADD2
Definition: global.h:62
unsigned int INFOADD1
Definition: global.h:55
unsigned int INFOADD2
Definition: global.h:66
Definition: global.h:11
unsigned int RSV2
Definition: global.h:123
unsigned int DIV0AU2
Definition: global.h:97
unsigned int OVERAU1
Definition: global.h:81
unsigned int INEXAU2
Definition: global.h:94
uword high
Definition: global.h:21
uword word2
Definition: global.h:28
unsigned int UNDERMPY2
Definition: global.h:121
unsigned int DIV0AU1
Definition: global.h:85
unsigned int INFOMPY2
Definition: global.h:118
Definition: global.h:14
unsigned int INVALAU2
Definition: global.h:91
unsigned int UNDERADD2
Definition: global.h:69
unsigned int OVERMPY1
Definition: global.h:108
unsigned int DEN1MPY2
Definition: global.h:115
unsigned int INVALMPY2
Definition: global.h:117
Definition: global.h:10
fmcr_type FMCR
unsigned int DEN1ADD2
Definition: global.h:63
word GFPGFR
unsigned int UNORDAU1
Definition: global.h:84
word EN
Definition: global.h:46
unsigned int ROUNDINGMODEADD1
Definition: global.h:59
word SAT
Definition: global.h:45
unsigned int INFOAU2
Definition: global.h:92
fadcr_type FADCR
unsigned int NAN2ADD1
Definition: global.h:51
uword low
Definition: global.h:22
unsigned int DEN1AU1
Definition: global.h:77