fdfsfsdfsdf
APA Simulator for the MiMagic 6 Applications Processor Application Note 41 December 11, 2003 Revision 0.90 Copyright Notice This document provides information on NeoMagic products. No license, expressed or implied, by estoppel or otherwise, to any intellectual property is granted by this document. Except as provided in NeoMagic’s Terms and Conditions of Sale for such products, NeoMagic assumes no liability whatsoever. This product is not intended for use in medical, life saving, or life sustaining application. Copyright (circle logo ©) NeoMagic Corporation 2003 Printed in the United States of America. All Rights Reserved Trademarks The following terms are trademarks of the NeoMagic Corporation: NeoMagic and MiMagic. All other trademarks and registered trademarks are the property of their respective companies. Disclaimer NeoMagic disclaims any express or implied warranty, relating to sale and/or use of NeoMagic products including liability or warranties relating to fitness for a particular purpose, merchantability, or infringement of any patent, copyright, or other intellectual property right. NeoMagic may make changes to specifications and product descriptions contained in this document at any time without notice. Contact your local NeoMagic sales office to obtain the latest specifications before placing your purchase order. Version History Version Date Comments 0.9 11 December 2003 Initial Release of Document Contact Information NeoMagic Corporation 3250 Jay Street Santa Clara, CA 95054 USA Tel. (408) 988-7020 Fax (408) 988-7032 http://www.neomagic.com Table of Contents 1 APA Code Generation 4 2 Running the Simulator 6 3 Simulator Outputs 7 3.1 Compile-time Information 7 3.1.1 PrintAllocation() Function 7 3.1.2 STRT_C Function 8 3.2 Run-time Information 9 3.2.1 sout Method 9 3.2.2 SimOut::setvh(n) method 9 3.2.3 namev(var_name) method 9 3.2.4 printtag() Method 9 3.2.5 image_name << debug 9 3.2.6 Printtag() function 11 3.2.7 Info() Function 12 3.3 Performance Profiling 12 3.4 Simulator Output Files 13 1 APA Code Generation APA machine code generation is a two-step process: Step 1: Compilation: C++ code is written and compiled using Microsoft Visual C++ compiler Version 6.0. An executable file