Engineer-to-Engineer Note
|
|
- Elwin Morton
- 6 years ago
- Views:
Transcription
1 Engineer-to-Engineer Note EE-069 Technicl notes on using Anlog Devices DSPs, processors nd development tools Visit our Web resources nd or e-mil or for technicl support. Understnding nd Using Linker Description Files on SHARC Processors Contributed by Mtt Wlsh Rev 2 Jnury 17, 2007 Introduction Often, progrmmer wnts to control where prticulr piece of code or dt resides in SHARC processor s memory spce. For exmple, on ADSP-2106x, ADSP-2116x, nd ADSP-2137x processors, it is possible to execute from externl memory; however, execution is performed t reduced rte. In this cse, the progrm will need to store nd execute frequently used code internlly nd store rrely used code externlly. Regrdless whether you wnt to relocte C function or n ssembly routine, the mechnism is the sme. To mp portions of code or dt to specific memory sections, it is necessry to use the Linker Description File (referred to s the.ldf file). This EE-Note explins the functionlity of the.ldf file nd demonstrtes its fetures through n exmple. The implementtion detils of specific pplictions tht require reltively complex.ldf files (such s the externl code-execution exmple previously mentioned) re beyond the scope of this document. This EE-Note pplies to ll SHARC processors. The first step towrd gining n understnding of the.ldf file is to understnd the mkeup of the files involved in building processor executble (.DXE). Source Files Source files contin code written in C or ssembly. The first step towrd producing n executble is to compile nd/or ssemble these source files. The ssembler outputs files clled object files. (The compiler outputs ssembly files tht re then fed to the ssembler.) The VisulDSP++ ssembler produces object files tht hve.doj extension. Typiclly, Object Files these object files re output to the ~/YourProject/debug directory. Object files produced by the compiler nd ssembler re divided into vrious sections (referred to s object sections). Ech of these objects section holds prticulr type of compiled source code. For exmple, n object section my hold progrm opcodes (48-bits wide) or dt such s vribles (16, 32, or 40 bits wide). Some object sections lso hold informtion not pertinent to this discussion (since the informtion is not importnt to the user, such s debug-informtion, nd so on). Ech object section hs different nme tht is specified in the source code. Depending on whether the source is C or ssembly, different convention is used to specify the object section nme. Copyright , Anlog Devices, Inc. All rights reserved. Anlog Devices ssumes no responsibility for customer product design or the use or ppliction of customers products or for ny infringements of ptents or rights of others which my result from Anlog Devices ssistnce. All trdemrks nd logos re property of their respective holders. Informtion furnished by Anlog Devices pplictions nd development tools engineers is believed to be ccurte nd relible, however no responsibility is ssumed by Anlog Devices regrding technicl ccurcy nd topiclity of the content provided in Anlog Devices Engineer-to-Engineer Notes.
2 In n ssembly source, the code nd/or dt is plced below the.section segment_nme. Refer to the following exmple..section /dm seg_dmd.var foo[3];.section /pm seg_pmco r0 = 0x1234; r1 = 0x4567; r2 = r1 + r2; In the exmple bove, the seg_dmd object section would contin the foo rry, nd the three lines of code would be locted in the seg_pmco object section. In C source file, the progrmmer would use the section("segment_nme") directive, for exmple: section("ext_dt") int temp; section("ext_code") void func1(void) int x = 1; void func2(void) int i = 0; When the C file bove is compiled, the code generted from func1 will be stored in its own seprte object section of the of the.doj file nmed ext_code. The temp vrible will reside seprtely in ext_dt. So wht hppens to func2? If n object section nme is not specified, the compiler will use defult nme. In this cse, the object file would hold the code from func2 in n object section for progrm code with defult object section nme of seg_pmco. For the list of defult object section nmes, refer to the VisulDSP++ C/C++ Compiler nd Librry Mnul for SHARC Processors. There re no defult object section nmes for ssembly source files, nd.section/ sttements must be used. The wy tht these object sections nd object section nmes relte to code plcement in memory will be illustrted lter. Executble Files Once the source files hve been ssembled nd/or compiled into their respective object files, the linker combines these object files into one integrted executble, which hs.dxe extension. Similr to object files, n executble is split into different sections. All.DXE files produced by the VisulDSP++ linker dhere to the splitting rules s dictted by the ELF (Executble nd Linking Formt) file stndrd. These sections re referred to s DXE sections, nd hve DXE section nmes. DXE section nmes re completely independent of object section nmes. They exist in different nmespces, which mens tht DXE section nme cn be identicl to n object section nme. (Unfortuntely, in most distributed exmples, this is the cse. Using the sme nme for different items, lthough vlid, is poor progrmming style nd mkes the.ldf file look confusing.) The.DXE file is not loded into the processor, nd it is not burned into n EPROM. A.DXE file contins extr informtion (in ddition to the rw code nd dt from the object files), which is used by down-strem tools such s the loder (to populte n EPROM) nd the debugger (to simulte or emulte processor) in locting code to the processor..ldf Files vs. the Other Files The linker s job is resonbly strightforwrd. Bsed on commnds in the.ldf file, the linker collects the object sections from the object files nd combines them into single executble Understnding nd Using Linker Description Files (LDFs) on SHARC (EE-069) Pge 2 of 7
3 (.DXE) file using the memory model declred in the.ldf file. Let s look t n exmple.ldf file to understnd how this process works. We will exmine n.ldf file used to link ssembly-only source code. This is the simplest type of.ldf file, becuse C source code must be supported in the.ldf file with dditionl informtion bout the C run-time heder nd other librry informtion. The following section of this document discusses test.ldf (Listing 1). Ech section below includes number tht mtches it to corresponding portion of the.ldf file, identified with [#:] djcent to the.ldf feture being described. [1:] Memory The first thing of interest in the.ldf file is the Memory commnd, which defines the memory model. It informs the linker s to the vilble memory spces nd gives them nmes clled memory spce nmes. It s importnt to understnd tht the memory spce nmes declred here hve bsolutely no reltion to DXE object section nmes. The next notble feture of the.ldf file is used to bind (link) ll of these vrious sections nd nme spces together. [2:] Sections As mentioned, the second nd perhps most importnt piece of the.ldf file is the Sections portion, where the linker does the rel work. Bsed on three rguments to the Sections commnd, the linker tkes object sections s inputs, plces them in DXE section, nd then mps ech DXE section to the specified memory spce. In test.ldf, for exmple, the first line in the Sections commnd tkes the object section nmed seg_rth creted in min.doj, plces it in the DXE section nmed seg_rth, nd mps tht DXE section to the seg_rth memory spce. When the.dxe file creted by the linker is loded into the debugger or mde redy for EPROM vi the loder, ech of these downstrem utilities will know where the different DXE sections reside on-chip. [3:] $OBJECTS nd $COMMAND_LINE_OBJECTS A minor thing to note is tht we hve used $OBJECTS interchngebly with $COMMAND_LINE_OBJECTS. This is becuse the $ symbol in the.ldf file is mcro definition. It works much like #define sttement in C. These mcro definitions, though unnecessry in this exmple, re quite useful when you hve multiple object files. For instnce, there re two options if you wnt to plce ll of the code portions (object sections) of multiple files into the sme memory section. The first wy is to explicitly list ech object file, s follows: seg_pmco INPUT_SECTIONS( min.doj(seg_pmco) config.doj(seg_pmco) dsp.doj(seg_pmco) ) > seg_pmco The second wy is to define mcro (s follows) $OBJECTS = min.doj, config.doj, dsp.doj; nd plce the mcro in the INPUT_SECTIONS portion of the.ldf file s follows: seg_pmco INPUT_SECTIONS( $OBJECTS (seg_pmco) ) > seg_pmco Both of these syntxes re equivlent. They cuse the linker to go through ll of the object files listed, nd if ny object sections nmed seg_pmco re found, it puts them into the sme DXE section (here seg_pmco ), nd then links Understnding nd Using Linker Description Files (LDFs) on SHARC (EE-069) Pge 3 of 7
4 tht DXE section to the memory spce clled seg_pmco. Ech processor in multiprocessor system would hve its own Processor section (processor p0, p1, nd so on). Ech processor would lso hve its own Sections declrtion. [4:] LINK_AGAINST() The LINK_AGAINST()commnd is used by the linker in multiprocessor sitution. It is used when there is shred memory resource tht holds code nd/or dt. The use of this commnd is beyond the scope of this document, but is discussed in VisulDSP++ Linker nd Utilities Mnul. [5:] OUTPUT() The finl thing of interest in the.ldf file is the OUTPUT() commnd. This specifies the nme of the produced.dxe file. If the $COMMAND_LINE_OUTPUT_FILE mcro is used s n rgument to the OUTPUT() commnd; the linker will nme the.dxe file bsed on the VisulDSP++ project nme. Alterntively, you cn enter the explicit filenme: OUTPUT(myfile.dxe). ARCHITECTURE(ADSP-21368) SEARCH_DIR( $ADI_DSP/213xx/lib ) [3:] $OBJECTS = $COMMAND_LINE_OBJECTS; [1:] MEMORY seg_rth TYPE(PM RAM) START(0x ) END(0x000900ff) WIDTH(48) seg_init TYPE(PM RAM) START(0x ) END(0x000901ff) WIDTH(48) seg_int_code TYPE(PM RAM) START(0x ) END(0x000902CF) WIDTH(48) seg_pmco TYPE(PM RAM) START(0x000902D0) END(0x00093FFF) WIDTH(48) seg_pmd TYPE(PM RAM) START(0x000C0000) END(0x000c1FFF) WIDTH(32) seg_dmd TYPE(DM RAM) START(0x000b8000) END(0x000bbfff) WIDTH(32) seg_stk TYPE(DM RAM) START(0x000bc000) END(0x000bdfff) WIDTH(32) seg_hep TYPE(DM RAM) START(0x000e0000) END(0x000e1fff) WIDTH(32) seg_srm TYPE(DM RAM) START(0x ) END(0x0027ffff) WIDTH(8) PROCESSOR p0 [4:] LINK_AGAINST( $COMMAND_LINE_OUTPUT_DIRECTORY\P1.dxe) [5:] OUTPUT($COMMAND_LINE_OUTPUT_DIRECTORY\P0.dxe ) [2:] SECTIONS //.text output section seg_rth INPUT_SECTIONS( $OBJECTS(seg_rth) $LIBRARIES(seg_rth)) > seg_rth seg_init ldf_seginit_spce =. ; INPUT_SECTIONS( $OBJECTS(seg_init) $LIBRARIES(seg_init)) > seg_init seg_int_code INPUT_SECTIONS( $OBJECTS(seg_int_code) $LIBRARIES(seg_int_code)) Understnding nd Using Linker Description Files (LDFs) on SHARC (EE-069) Pge 4 of 7
5 > seg_int_code seg_pmco INPUT_SECTIONS( $OBJECTS(seg_pmco) $LIBRARIES(seg_pmco)) > seg_pmco seg_pmd INPUT_SECTIONS( $OBJECTS(seg_pmd) $LIBRARIES(seg_pmd)) > seg_pmd.bss ZERO_INIT INPUT_SECTIONS( $OBJECTS(.bss) $LIBRARIES(.bss)) > seg_dmd seg_dmd INPUT_SECTIONS( $OBJECTS(seg_dmd) $LIBRARIES(seg_dmd)) > seg_dmd Stckseg // llocte stck for the ppliction ldf_stck_spce =.; ldf_stck_length = MEMORY_SIZEOF(seg_stk); > seg_stk hep // llocte hep for the ppliction ldf_hep_spce =.; ldf_hep_length = MEMORY_SIZEOF(seg_hep); ldf_hep_end = ldf_hep_spce + ldf_hep_length - 1; > seg_hep seg_srm INPUT_SECTIONS($OBJECTS(seg_srm) $LIBRARIES(seg_srm)) PACKING(5 B0 B0 B0 B4 B0 B0 B0 B0 B3 B0 B0 B0 B0 B2 B0 B0 B0 B0 B1 B0) > seg_srm Listing 1. test.ldf Understnding nd Using Linker Description Files (LDFs) on SHARC (EE-069) Pge 5 of 7
6 Expert Linker Utility The Expert Linker utility vilble with the ltest VisulDSP++ tools simplifies the process of the.ldf file genertion. The Expert Linker is grphicl tool tht simplifies complex tsks such s memory-mp mnipultion, code nd dt plcement, overly nd shred memory cretion, nd C stck/hep djustment. It enbles new users to tke immedite dvntge of the powerful.ldf formt flexibility by providing visuliztion cpbility. Expert Linker llows users to: Define trget processor s memory mp Plce project s object sections into tht memory mp View how much of the stck or hep hs been used fter running the DSP progrm The.LDF file for the user ppliction cn be creted by selecting the following menu item from VisulDSP++: Tools -> Expert Linker -> Crete LDF Figure 1 shows the.ldf file generted using the Expert Linker. Figure 1. Expert Linker GUI. Use the Expert Linker to drg nd drop the object sections from the input section to the output memory section. After running the ppliction, it shows the mount of the hep memory nd stck memory utilized by the user ppliction. This informtion cn be used to djust the hep nd stck memory size. The unused memory sections cn be used for plcing code or dt, providing efficient use of the processor s memory. For detils on Expert Linker fetures, refer to the VisulDSP++ Linker nd Utilities mnul nd to online Help. The Expert Linker supports.ldf file genertion for both single-processor nd multiprocessor systems. See Using the Expert Linker for Multiprocessor LDFs (EE-202) for detils. Understnding nd Using Linker Description Files (LDFs) on SHARC (EE-069) Pge 6 of 7
7 Summry This EE-Note discusses the vrious sections nd commnds used in the.ldf file. It provides n overview of the Expert Linker utility in VisulDSP++. It lso explins how code nd dt cn be plced in different memory sections of the user ppliction. The exmple code ssocited with this EE-Note demonstrtes how code cn be locted in specific memory sections either on per-object file bsis or vi the SECTION () directive shown bove. References [1] VisulDSP Linker nd Utilities Mnul, Revision 2.0, April Anlog Devices, Inc. [2] VisulDSP C/C++ Compiler nd Librry Mnul for SHARC Processors, Revision 6.0, April Anlog Devices, Inc. [3] Using the Expert Linker for Multiprocessor LDFs (EE-202), Revision 2.0, September 2004, Anlog Devices Inc. Document History Revision Rev 2 Jnury 17, 2007 by C. Prbkrn nd Jeynthi Jegdeesn Rev 1 Jnury 5, 2002 by Mtt Wlsh Description Generlized the EE-Note for ll SHARC Processors. Initil Relese. Understnding nd Using Linker Description Files (LDFs) on SHARC (EE-069) Pge 7 of 7
Engineer To Engineer Note
Engineer To Engineer Note EE-188 Technicl Notes on using Anlog Devices' DSP components nd development tools Contct our technicl support by phone: (800) ANALOG-D or e-mil: dsp.support@nlog.com Or visit
More informationa Technical Notes on using Analog Devices' DSP components and development tools
Engineer To Engineer Note EE-146 Technicl Notes on using Anlog Devices' DSP components nd development tools Contct our technicl support by phone: (800) ANALOG-D or e-mil: dsp.support@nlog.com Or visit
More informationEngineer-to-Engineer Note
Engineer-to-Engineer Note EE-295 Technicl notes on using Anlog Devices DSPs, processors nd development tools Visit our Web resources http://www.nlog.com/ee-notes nd http://www.nlog.com/processors or e-mil
More informationEngineer To Engineer Note
Engineer To Engineer Note EE-186 Technicl Notes on using Anlog Devices' DSP components nd development tools Contct our technicl support by phone: (800) ANALOG-D or e-mil: dsp.support@nlog.com Or visit
More informationEngineer-to-Engineer Note
Engineer-to-Engineer Note EE-272 Technicl notes on using Anlog Devices DSPs, processors nd development tools Contct our technicl support t processor.support@nlog.com nd dsptools.support@nlog.com Or visit
More informationEngineer To Engineer Note
Engineer To Engineer Note EE-167 Technicl Notes on using Anlog Devices' DSP components nd development tools Contct our technicl support by phone: (800) ANALOG-D or e-mil: dsp.support@nlog.com Or visit
More informationEngineer To Engineer Note
Engineer To Engineer Note EE-148 Technicl Notes on using Anlog Devices' DSP components nd development tools Contct our technicl support by phone: (800) ANALOG-D or e-mil: dsp.support@nlog.com Or visit
More informationEngineer-to-Engineer Note
Engineer-to-Engineer Note EE-232 Technicl notes on using Anlog Devices DSPs, processors nd development tools Contct our technicl support t dsp.support@nlog.com nd t dsptools.support@nlog.com Or visit our
More informationEngineer To Engineer Note
Engineer To Engineer Note EE-62 Technical Phone: (800) ANALOG-D, FAX: (781) 461-3010, EMAIL: dspsupport@analogcom, FTP: ftpanalogcom, WEB: wwwanalogcom/dsp Copyright 1999, Analog Devices, Inc All rights
More informationEngineer-to-Engineer Note
Engineer-to-Engineer Note EE-204 Technicl notes on using Anlog Devices DSPs, processors nd development tools Visit our Web resources http://www.nlog.com/ee-notes nd http://www.nlog.com/processors or e-mil
More informationEngineer To Engineer Note
Engineer To Engineer Note EE-208 Technicl Notes on using Anlog Devices' DSP components nd development tools Contct our technicl support by phone: (800) ANALOG-D or e-mil: dsp.support@nlog.com Or visit
More information16 Bit Software Tools ADDU-21xx-PC-1 Code Generation and Simulation
16 Bit Softwre Tools ADDU-21xx-PC-1 Code Genertion nd Simultion ADDS-21xx-PC-1 Version 6.1 Contents The entire softwre cretion tool chin in one pckge System Builder Assembler C Compiler Linker Softwre
More informationEngineer-to-Engineer Note
Engineer-to-Engineer Note EE-245 Technicl notes on using Anlog Devices DSPs, processors nd development tools Contct our technicl support t dsp.support@nlog.com nd t dsptools.support@nlog.com Or visit our
More informationEnginner To Engineer Note
Technicl Notes on using Anlog Devices DSP components nd development tools from the DSP Division Phone: (800) ANALOG-D, FAX: (781) 461-3010, EMAIL: dsp_pplictions@nlog.com, FTP: ftp.nlog.com Using n ADSP-2181
More informationFunctor (1A) Young Won Lim 10/5/17
Copyright (c) 2016-2017 Young W. Lim. Permission is grnted to copy, distribute nd/or modify this document under the terms of the GNU Free Documenttion License, Version 1.2 or ny lter version published
More informationFunctor (1A) Young Won Lim 8/2/17
Copyright (c) 2016-2017 Young W. Lim. Permission is grnted to copy, distribute nd/or modify this document under the terms of the GNU Free Documenttion License, Version 1.2 or ny lter version published
More informationEngineer-to-Engineer Note
Engineer-to-Engineer Note EE-270 Technicl notes on using Anlog Devices DSPs, processors nd development tools Contct our technicl support t processor.support@nlog.com nd dsptools.support@nlog.com Or visit
More informationEngineer To Engineer Note
Engineer To Engineer Note EE-169 Technicl Notes on using Anlog Devices' DSP components nd development tools Contct our technicl support by phone: (800) ANALOG-D or e-mil: dsp.support@nlog.com Or visit
More informationEpson Projector Content Manager Operation Guide
Epson Projector Content Mnger Opertion Guide Contents 2 Introduction to the Epson Projector Content Mnger Softwre 3 Epson Projector Content Mnger Fetures... 4 Setting Up the Softwre for the First Time
More informationIZT DAB ContentServer, IZT S1000 Testing DAB Receivers Using ETI
IZT DAB ContentServer, IZT S1000 Testing DAB Receivers Using ETI Appliction Note Rel-time nd offline modultion from ETI files Generting nd nlyzing ETI files Rel-time interfce using EDI/ETI IZT DAB CONTENTSERVER
More informationpdfapilot Server 2 Manual
pdfpilot Server 2 Mnul 2011 by clls softwre gmbh Schönhuser Allee 6/7 D 10119 Berlin Germny info@cllssoftwre.com www.cllssoftwre.com Mnul clls pdfpilot Server 2 Pge 2 clls pdfpilot Server 2 Mnul Lst modified:
More informationEngineer To Engineer Note
Engineer To Engineer Note EE-164 Technicl Notes on using Anlog Devices' DSP components nd development tools Contct our technicl support by phone: (800) ANALOG-D or e-mil: dsp.support@nlog.com Or visit
More informationOUTPUT DELIVERY SYSTEM
Differences in ODS formtting for HTML with Proc Print nd Proc Report Lur L. M. Thornton, USDA-ARS, Animl Improvement Progrms Lortory, Beltsville, MD ABSTRACT While Proc Print is terrific tool for dt checking
More informationvcloud Director Service Provider Admin Portal Guide vcloud Director 9.1
vcloud Director Service Provider Admin Portl Guide vcloud Director 9. vcloud Director Service Provider Admin Portl Guide You cn find the most up-to-dte technicl documenttion on the VMwre website t: https://docs.vmwre.com/
More informationData sharing in OpenMP
Dt shring in OpenMP Polo Burgio polo.burgio@unimore.it Outline Expressing prllelism Understnding prllel threds Memory Dt mngement Dt cluses Synchroniztion Brriers, locks, criticl sections Work prtitioning
More informationTECHNICAL NOTE MANAGING JUNIPER SRX PCAP DATA. Displaying the PCAP Data Column
TECHNICAL NOTE MANAGING JUNIPER SRX PCAP DATA APRIL 2011 If your STRM Console is configured to integrte with the Juniper JunOS Pltform DSM, STRM cn receive, process, nd store Pcket Cpture (PCAP) dt from
More informationAllocator Basics. Dynamic Memory Allocation in the Heap (malloc and free) Allocator Goals: malloc/free. Internal Fragmentation
Alloctor Bsics Dynmic Memory Alloction in the Hep (mlloc nd free) Pges too corse-grined for llocting individul objects. Insted: flexible-sized, word-ligned blocks. Allocted block (4 words) Free block (3
More informationUnit #9 : Definite Integral Properties, Fundamental Theorem of Calculus
Unit #9 : Definite Integrl Properties, Fundmentl Theorem of Clculus Gols: Identify properties of definite integrls Define odd nd even functions, nd reltionship to integrl vlues Introduce the Fundmentl
More informationHow to Design REST API? Written Date : March 23, 2015
Visul Prdigm How Design REST API? Turil How Design REST API? Written Dte : Mrch 23, 2015 REpresenttionl Stte Trnsfer, n rchitecturl style tht cn be used in building networked pplictions, is becoming incresingly
More informationFile Manager Quick Reference Guide. June Prepared for the Mayo Clinic Enterprise Kahua Deployment
File Mnger Quick Reference Guide June 2018 Prepred for the Myo Clinic Enterprise Khu Deployment NVIGTION IN FILE MNGER To nvigte in File Mnger, users will mke use of the left pne to nvigte nd further pnes
More informationa Engineer To Engineer Note
a Engineer To Engineer Note EE-116 Phone: (800) ANALOG-D, FAX: (781) 461-3010, EMAIL: dspsupport@analogcom, FTP: ftpanalogcom, WEB: wwwanalogcom/dsp SHARC SHORT WORD DMA ADSP-21065L SHARC User s Manual
More informationCPSC 213. Polymorphism. Introduction to Computer Systems. Readings for Next Two Lectures. Back to Procedure Calls
Redings for Next Two Lectures Text CPSC 213 Switch Sttements, Understnding Pointers - 2nd ed: 3.6.7, 3.10-1st ed: 3.6.6, 3.11 Introduction to Computer Systems Unit 1f Dynmic Control Flow Polymorphism nd
More informationpdftoolbox Server 4 Manual
pdftoolbox Server 4 Mnul Mnul Pge 2 Mnul Lst modified: 27 Februry 2009 2009 by clls softwre gmbh, Berlin, Germny All rights reserved All trdemrks re the property of their respective owners. Mnul Pge Content
More informationIn the last lecture, we discussed how valid tokens may be specified by regular expressions.
LECTURE 5 Scnning SYNTAX ANALYSIS We know from our previous lectures tht the process of verifying the syntx of the progrm is performed in two stges: Scnning: Identifying nd verifying tokens in progrm.
More informationSage CRM 2017 R3 Software Requirements and Mobile Features. Updated: August 2017
Sge CRM 2017 R3 Softwre Requirements nd Mobile Fetures Updted: August 2017 2017, The Sge Group plc or its licensors. Sge, Sge logos, nd Sge product nd service nmes mentioned herein re the trdemrks of The
More informationTilt-Sensing with Kionix MEMS Accelerometers
Tilt-Sensing with Kionix MEMS Accelerometers Introduction Tilt/Inclintion sensing is common ppliction for low-g ccelerometers. This ppliction note describes how to use Kionix MEMS low-g ccelerometers to
More informationOutline. Tiling, formally. Expression tile as rule. Statement tiles as rules. Function calls. CS 412 Introduction to Compilers
CS 412 Introduction to Compilers Andrew Myers Cornell University Lectur8 Finishing genertion 9 Mr 01 Outline Tiling s syntx-directed trnsltion Implementing function clls Implementing functions Optimizing
More informationVirtual Machine I: Stack Arithmetic
Virtul Mchine I: Stck Arithmetic Building Modern Computer From First Principles www.nnd2tetris.org Elements of Computing Systems, Nisn & Schocken, MIT Press, www.nnd2tetris.org, Chpter 7: Virtul Mchine
More informationMA1008. Calculus and Linear Algebra for Engineers. Course Notes for Section B. Stephen Wills. Department of Mathematics. University College Cork
MA1008 Clculus nd Liner Algebr for Engineers Course Notes for Section B Stephen Wills Deprtment of Mthemtics University College Cork s.wills@ucc.ie http://euclid.ucc.ie/pges/stff/wills/teching/m1008/ma1008.html
More informationDeposit a Technical Report in PubRep
Technicl in Lst Updte:19.12.016 Te c h n i c l Technicl s re mjor source of scientific informtion, prepred for institutionl nd wider distribution. They re considered grey literture since they re scientific
More informationvcloud Director Service Provider Admin Portal Guide 04 OCT 2018 vcloud Director 9.5
vcloud Director Service Provider Admin Portl Guide 04 OCT 208 vcloud Director 9.5 You cn find the most up-to-dte technicl documenttion on the VMwre website t: https://docs.vmwre.com/ If you hve comments
More informationSage CRM 2018 R1 Software Requirements and Mobile Features. Updated: May 2018
Sge CRM 2018 R1 Softwre Requirements nd Mobile Fetures Updted: My 2018 2018, The Sge Group plc or its licensors. Sge, Sge logos, nd Sge product nd service nmes mentioned herein re the trdemrks of The Sge
More informationFig.25: the Role of LEX
The Lnguge for Specifying Lexicl Anlyzer We shll now study how to uild lexicl nlyzer from specifiction of tokens in the form of list of regulr expressions The discussion centers round the design of n existing
More informationEasyMP Network Projection Operation Guide
EsyMP Network Projection Opertion Guide Contents 2 Introduction to EsyMP Network Projection EsyMP Network Projection Fetures... 5 Disply Options... 6 Multi-Screen Disply Function... 6 Movie Sending Mode...
More informationMisrepresentation of Preferences
Misrepresenttion of Preferences Gicomo Bonnno Deprtment of Economics, University of Cliforni, Dvis, USA gfbonnno@ucdvis.edu Socil choice functions Arrow s theorem sys tht it is not possible to extrct from
More informationSage CRM 2017 R2 Software Requirements and Mobile Features. Revision: IMP-MAT-ENG-2017R2-2.0 Updated: August 2017
Sge CRM 2017 R2 Softwre Requirements nd Mobile Fetures Revision: IMP-MAT-ENG-2017R2-2.0 Updted: August 2017 2017, The Sge Group plc or its licensors. Sge, Sge logos, nd Sge product nd service nmes mentioned
More informationAgilent Mass Hunter Software
Agilent Mss Hunter Softwre Quick Strt Guide Use this guide to get strted with the Mss Hunter softwre. Wht is Mss Hunter Softwre? Mss Hunter is n integrl prt of Agilent TOF softwre (version A.02.00). Mss
More informationEngineer-to-Engineer Note
Engineer-to-Engineer Note EE-312 Technicl notes on using Anlog Devices DSPs, processors nd development tools Visit our Web resources http://www.nlog.com/ee-notes nd http://www.nlog.com/processors or e-mil
More informationECE 468/573 Midterm 1 September 28, 2012
ECE 468/573 Midterm 1 September 28, 2012 Nme:! Purdue emil:! Plese sign the following: I ffirm tht the nswers given on this test re mine nd mine lone. I did not receive help from ny person or mteril (other
More informationChapter 2 Sensitivity Analysis: Differential Calculus of Models
Chpter 2 Sensitivity Anlysis: Differentil Clculus of Models Abstrct Models in remote sensing nd in science nd engineering, in generl re, essentilly, functions of discrete model input prmeters, nd/or functionls
More information2014 Haskell January Test Regular Expressions and Finite Automata
0 Hskell Jnury Test Regulr Expressions nd Finite Automt This test comprises four prts nd the mximum mrk is 5. Prts I, II nd III re worth 3 of the 5 mrks vilble. The 0 Hskell Progrmming Prize will be wrded
More informationLecture 10 Evolutionary Computation: Evolution strategies and genetic programming
Lecture 10 Evolutionry Computtion: Evolution strtegies nd genetic progrmming Evolution strtegies Genetic progrmming Summry Negnevitsky, Person Eduction, 2011 1 Evolution Strtegies Another pproch to simulting
More informationCS321 Languages and Compiler Design I. Winter 2012 Lecture 5
CS321 Lnguges nd Compiler Design I Winter 2012 Lecture 5 1 FINITE AUTOMATA A non-deterministic finite utomton (NFA) consists of: An input lphet Σ, e.g. Σ =,. A set of sttes S, e.g. S = {1, 3, 5, 7, 11,
More informationMIPS I/O and Interrupt
MIPS I/O nd Interrupt Review Floting point instructions re crried out on seprte chip clled coprocessor 1 You hve to move dt to/from coprocessor 1 to do most common opertions such s printing, clling functions,
More informationEngineer-to-Engineer Note
Engineer-to-Engineer Note EE-302 Technicl notes on using Anlog Devices DSPs, processors nd development tools Visit our Web resources http://www.nlog.com/ee-notes nd http://www.nlog.com/processors or e-mil
More informationWelch Allyn CardioPerfect Workstation Installation Guide
Welch Allyn CrdioPerfect Worksttion Instlltion Guide INSTALLING CARDIOPERFECT WORKSTATION SOFTWARE & ACCESSORIES ON A SINGLE PC For softwre version 1.6.6 or lter For network instlltion, plese refer to
More informationVirtual Machine (Part I)
Hrvrd University CS Fll 2, Shimon Schocken Virtul Mchine (Prt I) Elements of Computing Systems Virtul Mchine I (Ch. 7) Motivtion clss clss Min Min sttic sttic x; x; function function void void min() min()
More informationCS201 Discussion 10 DRAWTREE + TRIES
CS201 Discussion 10 DRAWTREE + TRIES DrwTree First instinct: recursion As very generic structure, we could tckle this problem s follows: drw(): Find the root drw(root) drw(root): Write the line for the
More informationMidterm 2 Sample solution
Nme: Instructions Midterm 2 Smple solution CMSC 430 Introduction to Compilers Fll 2012 November 28, 2012 This exm contins 9 pges, including this one. Mke sure you hve ll the pges. Write your nme on the
More informationGeometric transformations
Geometric trnsformtions Computer Grphics Some slides re bsed on Shy Shlom slides from TAU mn n n m m T A,,,,,, 2 1 2 22 12 1 21 11 Rows become columns nd columns become rows nm n n m m A,,,,,, 1 1 2 22
More informationEasyMP Multi PC Projection Operation Guide
EsyMP Multi PC Projection Opertion Guide Contents 2 Introduction to EsyMP Multi PC Projection 5 EsyMP Multi PC Projection Fetures... 6 Connection to Vrious Devices... 6 Four-Pnel Disply... 6 Chnge Presenters
More informationScanner Termination. Multi Character Lookahead. to its physical end. Most parsers require an end of file token. Lex and Jlex automatically create an
Scnner Termintion A scnner reds input chrcters nd prtitions them into tokens. Wht hppens when the end of the input file is reched? It my be useful to crete n Eof pseudo-chrcter when this occurs. In Jv,
More informationAn Overview of PDF/X. Dov Isaacs Principal Scientist, Workflow & Interoperability Chair, ISO TC130 WG2/TF2, PDF/X April 27, 2011
An Overview of PDF/X Dov Iscs Principl Scientist, Workflow & Interoperbility Chir, ISO TC130 WG2/TF2, PDF/X April 27, 2011 PDF s n Adobe File Formt 1993 to 2008 PDF formt introduced by Adobe with Acrobt
More informationOutline CS 412/413. Function calls. Stack layout. Tiling a call. Two translations
CS 412/413 Introduction to Compilers nd Trnsltors Cornell University Andrew Myers Outline Implementing function clls Implementing functions Optimizing wy the pointer Dynmiclly-llocted structures strings
More informationIntroduction To Files In Pascal
Why other With Files? Introduction To Files In Pscl Too much informtion to input ll t once The informtion must be persistent (RAM is voltile) Etc. In this section of notes you will lern how to red from
More informationEngineer-to-Engineer Note
Engineer-to-Engineer Note EE-179 Technicl notes on using Anlog Devices DSPs, processors nd development tools Visit our eb resources http://www.nlog.com/ee-notes nd http://www.nlog.com/processors or e-mil
More information- 2 U NIX FILES 1. Explin different file types vilble in UNIX or P OSIX s ystem. ( 08 mrks) ( My-08/Dec-08/My-10/My- 12) 2. Wht is n API? How is it di
-1 I NTRODUCTION 1. Wht is posix stndrd? Explin different subset of posix stndrd. Write structure of progrm to filter out non- p osix complint codes from user progrm. ( 06 mrks) ( Dec- 2010). 2. W rite
More informationReducing Costs with Duck Typing. Structural
Reducing Costs with Duck Typing Structurl 1 Duck Typing In computer progrmming with object-oriented progrmming lnguges, duck typing is lyer of progrmming lnguge nd design rules on top of typing. Typing
More informationc360 Add-On Solutions
c360 Add-On Solutions Functionlity Dynmics CRM 2011 c360 Record Editor Reltionship Explorer Multi-Field Serch Alerts Console c360 Core Productivity Pck "Does your tem resist using CRM becuse updting dt
More informationL. Yaroslavsky. Fundamentals of Digital Image Processing. Course
L. Yroslvsky. Fundmentls of Digitl Imge Processing. Course 0555.330 Lecture. Imge enhncement.. Imge enhncement s n imge processing tsk. Clssifiction of imge enhncement methods Imge enhncement is processing
More informationFrom Dependencies to Evaluation Strategies
From Dependencies to Evlution Strtegies Possile strtegies: 1 let the user define the evlution order 2 utomtic strtegy sed on the dependencies: use locl dependencies to determine which ttriutes to compute
More informationLab 1 - Counter. Create a project. Add files to the project. Compile design files. Run simulation. Debug results
1 L 1 - Counter A project is collection mechnism for n HDL design under specifiction or test. Projects in ModelSim ese interction nd re useful for orgnizing files nd specifying simultion settings. The
More informationEpson iprojection Operation Guide (Windows/Mac)
Epson iprojection Opertion Guide (Windows/Mc) Contents 2 Introduction to Epson iprojection 5 Epson iprojection Fetures... 6 Connection to Vrious Devices... 6 Four-Pnel Disply... 6 Chnge Presenters nd Projection
More informationIntroduction to Computer Science, Shimon Schocken, IDC Herzliya. Lecture Writing Classes
Introduction to Computer Science, Shimon Schocken, IDC Herzliy Lecture 5.1-5.2 Writing Clsses Writing Clsses, Shimon Schocken IDC Herzliy, www.ro2cs.com slide 1 Clsses Two viewpos on es: Client view: how
More informationTree Structured Symmetrical Systems of Linear Equations and their Graphical Solution
Proceedings of the World Congress on Engineering nd Computer Science 4 Vol I WCECS 4, -4 October, 4, Sn Frncisco, USA Tree Structured Symmetricl Systems of Liner Equtions nd their Grphicl Solution Jime
More informationSection 3.1: Sequences and Series
Section.: Sequences d Series Sequences Let s strt out with the definition of sequence: sequence: ordered list of numbers, often with definite pttern Recll tht in set, order doesn t mtter so this is one
More informationPIA INQUIRY QUESTIONS LEASED DARK FIBER AND SPECIAL CONSTRUCTION
PIA INQUIRY QUESTIONS LEASED DARK FIBER AND SPECIAL CONSTRUCTION IMPORTANT: The rules for evluting the cost effectiveness of drk fier nd self provisioning options re strict, ever evolving, nd re explined
More information5 Regular 4-Sided Composition
Xilinx-Lv User Guide 5 Regulr 4-Sided Composition This tutoril shows how regulr circuits with 4-sided elements cn be described in Lv. The type of regulr circuits tht re discussed in this tutoril re those
More informationAgenda & Reading. Class Exercise. COMPSCI 105 SS 2012 Principles of Computer Science. Arrays
COMPSCI 5 SS Principles of Computer Science Arrys & Multidimensionl Arrys Agend & Reding Agend Arrys Creting & Using Primitive & Reference Types Assignments & Equlity Pss y Vlue & Pss y Reference Copying
More informationAddress/Data Control. Port latch. Multiplexer
4.1 I/O PORT OPERATION As discussed in chpter 1, ll four ports of the 8051 re bi-directionl. Ech port consists of ltch (Specil Function Registers P0, P1, P2, nd P3), n output driver, nd n input buffer.
More informationTixeo compared to other videoconferencing solutions
compred to other videoconferencing solutions for V171026EN , unique solution on the video conferencing field Adobe Connect Web RTC Vydio for High security level, privcy Zero impct on network security policies
More informationMid-term exam. Scores. Fall term 2012 KAIST EE209 Programming Structures for EE. Thursday Oct 25, Student's name: Student ID:
Fll term 2012 KAIST EE209 Progrmming Structures for EE Mid-term exm Thursdy Oct 25, 2012 Student's nme: Student ID: The exm is closed book nd notes. Red the questions crefully nd focus your nswers on wht
More information1 Quad-Edge Construction Operators
CS48: Computer Grphics Hndout # Geometric Modeling Originl Hndout #5 Stnford University Tuesdy, 8 December 99 Originl Lecture #5: 9 November 99 Topics: Mnipultions with Qud-Edge Dt Structures Scribe: Mike
More informationTool Vendor Perspectives SysML Thus Far
Frontiers 2008 Pnel Georgi Tec, 05-13-08 Tool Vendor Perspectives SysML Thus Fr Hns-Peter Hoffmnn, Ph.D Chief Systems Methodologist Telelogic, Systems & Softwre Modeling Business Unit Peter.Hoffmnn@telelogic.com
More informationEngineer-to-Engineer Note
Engineer-to-Engineer Note EE-211 Technicl notes on using Anlog Devices DSPs, processors nd development tools Contct our technicl support t dspsupport@nlogcom nd t dsptoolssupport@nlogcom Or visit our on-line
More informationData Flow on a Queue Machine. Bruno R. Preiss. Copyright (c) 1987 by Bruno R. Preiss, P.Eng. All rights reserved.
Dt Flow on Queue Mchine Bruno R. Preiss 2 Outline Genesis of dt-flow rchitectures Sttic vs. dynmic dt-flow rchitectures Pseudo-sttic dt-flow execution model Some dt-flow mchines Simple queue mchine Prioritized
More informationPreserving Constraints for Aggregation Relationship Type Update in XML Document
Preserving Constrints for Aggregtion Reltionship Type Updte in XML Document Eric Prdede 1, J. Wenny Rhyu 1, nd Dvid Tnir 2 1 Deprtment of Computer Science nd Computer Engineering, L Trobe University, Bundoor
More informationEngineer-to-Engineer Note
Engineer-to-Engineer Note EE-328 Technicl notes on using Anlog Devices DSPs, processors nd development tools Visit our Web resources http://www.nlog.com/ee-notes nd http://www.nlog.com/processors or e-mil
More informationInstallation Guide AT-VTP-800
Velocity 8 Touch Pnel The Atlon -BL nd -WH re 8 touch pnels in blck nd white, respectively, for the Atlon Velocity Control System. They feture contemporry, refined styling for modern presenttion environments
More information9 4. CISC - Curriculum & Instruction Steering Committee. California County Superintendents Educational Services Association
9. CISC - Curriculum & Instruction Steering Committee The Winning EQUATION A HIGH QUALITY MATHEMATICS PROFESSIONAL DEVELOPMENT PROGRAM FOR TEACHERS IN GRADES THROUGH ALGEBRA II STRAND: NUMBER SENSE: Rtionl
More informationDr. D.M. Akbar Hussain
Dr. D.M. Akr Hussin Lexicl Anlysis. Bsic Ide: Red the source code nd generte tokens, it is similr wht humns will do to red in; just tking on the input nd reking it down in pieces. Ech token is sequence
More informationVoltage Monitoring Products
Voltge Monitoring Products Spring 2005 CONTENTS 3-Led Reset Genertor Circuits.. 2 4-Led Reset Genertors with Mnul Reset............ 3 Wtchdog Supervisory Circuits... 4 Bttery-Bckup Supervisory Circuits...........
More informationToday. Search Problems. Uninformed Search Methods. Depth-First Search Breadth-First Search Uniform-Cost Search
Uninformed Serch [These slides were creted by Dn Klein nd Pieter Abbeel for CS188 Intro to AI t UC Berkeley. All CS188 mterils re vilble t http://i.berkeley.edu.] Tody Serch Problems Uninformed Serch Methods
More informationDigital Design. Chapter 1: Introduction. Digital Design. Copyright 2006 Frank Vahid
Chpter : Introduction Copyright 6 Why Study?. Look under the hood of computers Solid understnding --> confidence, insight, even better progrmmer when wre of hrdwre resource issues Electronic devices becoming
More informationFall 2018 Midterm 1 October 11, ˆ You may not ask questions about the exam except for language clarifications.
15-112 Fll 2018 Midterm 1 October 11, 2018 Nme: Andrew ID: Recittion Section: ˆ You my not use ny books, notes, extr pper, or electronic devices during this exm. There should be nothing on your desk or
More informationIntroduction to Julia for Bioinformatics
Introduction to Juli for Bioinformtics This introduction ssumes tht you hve bsic knowledge of some scripting lnguge nd provides n exmple of the Juli syntx. Continuous Assessment Problems In this course
More informationDigital Design. Chapter 6: Optimizations and Tradeoffs
Digitl Design Chpter 6: Optimiztions nd Trdeoffs Slides to ccompny the tetbook Digitl Design, with RTL Design, VHDL, nd Verilog, 2nd Edition, by Frnk Vhid, John Wiley nd Sons Publishers, 2. http://www.ddvhid.com
More informationFall 2018 Midterm 2 November 15, 2018
Nme: 15-112 Fll 2018 Midterm 2 November 15, 2018 Andrew ID: Recittion Section: ˆ You my not use ny books, notes, extr pper, or electronic devices during this exm. There should be nothing on your desk or
More informationV12 FAMILY BRAND GUIDELINES
V12 FAMILY BRAND GUIDELINES LOGO The logo is n importnt element of our visul identity. It must not be re-drwn or ltered in ny wy nd hs size nd minimum spce requirements to ensure tht it is lwys visully
More informationEngineer To Engineer Note
Engineer To Engineer Note EE-133 Phone: (800) ANALOG-D, FAX: (781) 461-3010, EMAIL: dsp.support@analog.com, FTP: ftp.analog.com, WEB: www.analog.com/dsp Converting From Legacy Architecture Files To Linker
More information