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