Home

User Manual for Embedded System Environment

image

Contents

1. Windows Toolbars Selecting Toolbars presents a sub menu allowing the selection of toolbar s to show hide 3 1 7 Help The Help menu contains two commands Help gt Manual Selecting Manual will open the ESE user manual in the online help browser Help gt About Selecting About will pop up a dialog with version and copyright information of the ESE environment O 2008 CECS 12 User Manual for Embedded System Environment ESE Version 2 0 0 3 2 Design Canvas DH DHB OPB ore EE EE cru MICROBLAZE Processes Memories Charmois mp3 main Figure 3 2 Design Canvas The Design Canvas displays the content and the attributes of an opened design graphi cally and it allows browsing and manipulating of the design objects The Design Canvas is displayed in Figure 3 2 The canvas supports modifying the layout and attributes of the design via drag and drop and through a context menu Dragging objects from the Database Window adds an object to the design Dragging objects within the Design Canvas repositions the object accord ingly Deletion renaming adding and removing ports as well as viewing properties are accessed via the context menu and available dependent upon the type of object currently selected see Section 4 2 Design Handling page 32 2008 CECS 13 User Manual for Embedded System Environment ESE Version 2 0 0 3 3 PE Window Details ss Ports Channel Assignm
2. lt StgRef gt lt Operation gt lt Operation name free gt lt returns memory back to system heap gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type reg mode WrReg gt 2008 CECS 105 User Manual for Embedded System Environment ESE Version 2 0 0 lt StgRef gt lt Operation gt lt Operation name alloca gt lt allocate memory from current stack frame gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type reg mode WrReg gt lt StgRef gt lt Operation gt lt Operation name load gt lt read from memory gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type mem Port mode RdPort gt lt StgRef gt lt Operation gt lt Operation name store gt lt write to memory gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type mem Port mode WrPort gt lt StgRef gt lt Operation gt lt Operation name call gt lt function call gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type reg mode RdReg gt lt StgRef gt lt Operation gt lt Operation name br gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name add var_type int gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt
3. lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name setge gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt 2008 CECS 99 User Manual for Embedded System Environment ESE Version 2 0 0 lt Operation name setlt gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name setgt gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name cast var_type int gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef n
4. lt FURef type InstDecode mode DEFAULT gt 2008 CECS 89 User Manual for Embedded System Environment ESE Version 2 0 0 lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type reg mode WrReg gt lt StgRef gt lt Operation gt lt Operation name alloca gt lt allocate memory from current stack frame gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type reg mode WrReg gt lt StgRef gt lt Operation gt lt Operation name load gt lt read from memory gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type mem Port mode RdPort gt lt StgRef gt lt Operation gt lt Operation name store gt lt write to memory gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type mem Port mode WrPort gt lt StgRef gt lt Operation
5. COMMIT DEMAND gt lt FURef type FP ALU mode FPCmp gt lt StgRef gt 2008 CECS 109 User Manual for Embedded System Environment ESE Version 2 0 0 lt Operation gt lt Operation name seteq gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name setne gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name setle gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name setge gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name setlt gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name setgt gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name cast var_type int gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name cast var_type float gt lt StgRef name SINGLE flags COMMIT DEMAND
6. Maximum number of masters the bus Number of masters Integer allows First Come First fcfs Served arbitration TRUE FALSE Bool policy arbitration policy Priorit bitrati policy Least Frequently least_freq_used Used arbitration TRUE FALSE Bool policy 2008 CECS 8l User Manual for Embedded System Environment ESE Version 2 0 0 Name Description Vale Type Support for arbitration_pipelining EH TRUE FALSE Bool pipelined with Address phase Arbitration R t y If a PE is a default default_master master bus parking TRUE FALSE Bool rt fi lit split_transactions Suppe orap TRUE FALSE transactions S rt for RETRY operations eebe Sea aie Number of cycles feas id before a PE retries Er Support for Timeout timeout if a PE does not TRUE FALSE Bool respond Number of cycles timeout_cycles before a Timeout is Integer called rt fi preemption gt 1 gt 1 TRU Support for Abo TRUE FALSE U RU zi s dek upport for locking TRUE FALSE Bool a bus to a PE burst_mode Supper HOP DUES TRUE FALSE Bool mode data transfer Length in cycles of Presence of a control_phase control phase before TRUE FALSE Bool address data phase 2008 CECS 82 User Manual for Embedded System Environment ESE Version 2 0 0 Name Description Vale Type Length of the control phase in El Integer cycles Support for address_data_pipelinipgpelining between TRUE FALSE Bool
7. Verbosity Level Warning Level 2 0 silent 2 0 disabled v i1 vii Vv Vv vy 3 detailed vy 3 pedantic Help Cancel Figure 4 7 Design Settings TLM Compiler tab dialog Operation Design setting allows users to edit design settings Unlike application preferences editing in Section 4 1 Application Preferences page 29 design setting apply only to the current design Users start design settings editing by selecting Main File gt Settings The selection will pop up the Design Settings dialog which is displayed in Figure 4 7 In the Design Settings dialog users can access and edit the TLM Compiler and TLM Simulator tags with corresponding settings stored in the design The TLM Compiler tab contains line edit boxes for all compiler settings The Compile Options and Link Options lines allow users to customize compilation and linking of design source files The text in the Include Path and Import Path lines 2008 CECS 39 User Manual for Embedded System Environment ESE Version 2 0 0 Et 39 defines the directory lists separated by colons for the project specific include and import paths respectively The text in the Defines and Undefines lines define the list of macro defines and undefines separated by semicolons respectively The text in the Options line defines the project s compiler options switches Finally Verbosity Level and Warning Level define verbosity level and warning level so t
8. lt StgRef gt lt Operation gt lt Operation name switch gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt 2008 CECS 102 User Manual for Embedded System Environment ESE Version 2 0 0 lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name select gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt ExecModel gt lt MemModel gt lt Cache policy D Mapped i_cache_delay 1 d_cache_delay 1 gt lt InstCache i_cache_size 1K i_cache_ratio 0 6614 gt lt InstCache i_cache_size 2K i_cache_ratio 0 7917 gt lt InstCache i_cache_size 4K i_cache_ratio 0 8606 gt lt InstCache i_cache_size 8K i_cache_ratio 0 9503 gt lt InstCache i_cache_size 16K i_cache_ratio 0 9779 gt lt InstCache i_cache_size 32K i_cache_ratio 0 9805 gt lt InstCache i_cache_size 64K i_cache_ratio 0 9817 gt lt DataCache d_cache_size 2K d_cache_ratio 0 637
9. Chapter 3 Main Window page 7 e Main represents the Main Window itself i e its menu or tool bar e Project represents the Project Window e Output represents the Output Window e Design represents the Design Window Sub refers to drop down menus or sub windows tabs 2008 CECS 3 User Manual for Embedded System Environment ESE Version 2 0 0 e For the Main Window Sub is either File View Project Synthesis or Win dows drop down menus introduced in Section 3 1 Menu Bar page 8 e For the Project Window Sub is either Models Imports or Sources tabs in troduced in e For the Output Window Sub is either Compile or Refine tabs introduced in e For the Design Window Sub is either Hierarchy Behaviors or Channels sidebar tabs introduced For example Project Models refers to the models tab in the Project Window Menu gt Command Refers to a main menu or context menu command described in where Command refers to the menu command and Menu refers to a main menu entry or to a context menu in a named subwindow tab For example Main File Open refers to the Open command in the File menu of the Main Window menu bar On the other hand Project Models Open refers to the Open command in the context menu of the Project Window Models tab 2 2 Starting ESE ESE is invoked by entering ese at the command line prompt 5 This will start the application and open the main win dow Chapter 3
10. Project Manager or Main Window Output Window will toggle turn on and off displaying of the Project Window and Output Window respectively O 2008 CECS 71 User Manual for Embedded System Environment ESE Version 2 0 0 Chapter 5 Data Modeling 5 1 Processing Element PE Data Model PE Data Model characterizes the structure of PE and a memory sub system It consists of the following three data models Datapath Model Execution Model and Memory Model Table 5 1 Model Name Sub Models DPModel ExecModel MemModel Table 5 2 Attribute Name Description Value Type Source E A EE Strin User define VE Identifier 8 GE element 5 1 1 Datapath Model Datapath model has a set of functional units and pipelines It enumerates all the pipelines and functional units available in the PE Multiple pipelines are allowed for superscalar architectures This model is composed of a set of pipeline models and a set of functional unit models Table 5 3 Model Name Sub Models DPModel FuncUnit Pipeline 5 1 1 1 Functional Unit Model This model consists of type of a functional unit and its quantity in the PE Delay for the functional unit is specified in operation model explained later 2008 CECS 72 User Manual for Embedded System Environment ESE Version 2 0 0 Table 5 4 Model Name Sub Models OperMode Table 5 5 Attribute Name Description Value Type Source __ t ES Se e Strin User define
11. Validation Simulate Functional TLM This will pop up the Simulation Output Window dialog which allow users to validate the correctness of the functional TLM execution 4 5 2 Simulate Timed TLM Simulation of the timed TLM is started by selecting Main Validation Simulate Timed TLM This will pop up the Simulation Output Window dialog which allow users to validate the correctness of the timed TLM execution 4 6 Performance Analysis Following a successful timed TLM simulation users can access and analyze the esti 2008 CECS 64 User Manual for Embedded System Environment ESE Version 2 0 0 mated performance of the created design at the transaction level of communication The total cycles for the system simulation is shown in the output terminal and it is also recor den in the file project_name cyc The performance of PEs CEs and bus components in the design model can be reviewed by right clicking on the component of interest in the Design Canvas and selecting the View Graph option 4 6 1 PE Performance Analysis v CPUO0 Chart EE Window Customize CPUO Legends EI idle Il comm L comp eee MATOS Figure 4 28 PE Performance Analysis dialog 2008 CECS 65 User Manual for Embedded System Environment ESE Version 2 0 0 y computation Chart Lek Window Customize computation Legends jpeg p1 mp3 main Figure 4 29 PE Computation graph dialog vy jpeg_p1 Chart Lek Window Cus
12. gt 2008 CECS 110 User Manual for Embedded System Environment ESE Version 2 0 0 lt FURef type FP ALU mode FPCvt gt lt StgRef gt lt Operation gt lt Operation name getelementptr gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name phi gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name unreachable gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name invoke gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name unwind gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name switch gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name select gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int ALU mode IntALU gt lt StgRef gt 2008 CECS 111 User Manual for Embedded System Environment ESE Version 2 0 0 lt Operation gt lt ExecModel gt l
13. lt xs attribute name name type IdentName use required gt lt xs attribute name var_type type IdentName use required gt lt xs element name stgref type StgRef minOccurs 1 maxOccurs unbounded gt lt xs complexType gt lt xs attribute name name type IdentName use required gt lt xs attribute name flags use required gt lt xs simpleType gt lt xs restriction base xs string gt lt xs enumeration value COMMIT gt lt xs enumeration value DEMAND gt lt xs enumeration value DEMAND COMMIT gt lt xs restriction gt lt xs simpleType gt lt xs attribute gt lt xs element name furef type FURef minOccurs 1 maxOccurs unbounded gt lt xs complexType gt lt xs element gt lt xs complexType gt lt xs element gt lt xs complexType gt lt xs complexType name FURef gt lt xs attribute name type type IdentName use required gt lt xs attribute name quantity type IdentName use required gt lt xs attribute name mode type IdentName use required gt lt xs complexType gt lt xs complex Type name MemModel gt lt xs element name cache type Cache minOccurs 0 maxOccurs unbounded gt lt xs complexType gt lt xs attribute name policy type IdentName use required gt 2008 CECS 85 User Manual for Embedded System Environment ESE Version 2 0 0 lt below is for cache which has distinction btn i cache and d cache gt
14. mode FPDiv gt lt StgRef gt lt Operation gt lt Operation name urem gt lt returns remainder of a division gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int Mult Div mode IntDiv gt 2008 CECS 107 User Manual for Embedded System Environment ESE Version 2 0 0 lt StgRef gt lt Operation gt lt Operation name srem gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int Mult Div mode IntDiv gt lt StgRef gt lt Operation gt lt Operation name frem gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type FP Mult Div mode FPDiv gt lt StgRef gt lt Operation gt lt Operation name shl gt lt shift gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name shr gt lt shift gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name Ishr gt lt logical shift gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type logic SHIFT mode shift gt lt StgRef gt lt Operation gt lt Operation name ashr gt lt arithmetic shift gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Op
15. name type IdentName use required gt lt xs attribute name br_pred_policy type IdentName use required gt lt xs simpleType gt lt xs restriction base xs string gt lt xs enumeration value TAKEN gt lt xs enumeration value NOT_TAKEN gt lt xs restriction gt 2008 CECS 86 User Manual for Embedded System Environment ESE Version 2 0 0 lt xs simpleType gt lt xs attribute gt lt xs attribute name br_pred_hit_ratio type xs float use required gt lt xs attribute name br_penalty type xs int use required gt lt xs element name stage type Stage minOccurs 1 maxOccurs unbounded gt lt xs complexType gt lt xs attribute name name type IdentName use required gt lt xs element name furef type FURef minOccurs 1 maxOccurs unbounded gt lt xs complexType gt lt xs element gt lt xs complexType gt lt xs element gt lt xs element name funcunit type FuncUnit minOccurs 1 maxOccurs unbounded gt yp lt xs complexType gt lt xs attribute name type type IdentName use required gt lt xs attribute name quantity type xs int use required gt lt xs element name opermode type OperMode minOccurs 1 maxOccurs unbounded gt lt xs complexType gt lt xs attribute name mode type IdentName use required gt lt xs attribute name oplat type xs int use required gt lt xs complexType gt lt xs element gt lt
16. 0 ceesceesseessececeeeeceeeeceeeeceeeeceeaeeeeeeeeaeesaes 66 4 31 Bus Performance aere 67 4 32 Bus Data Transfer Analysis dialog ceesceesseeeseceeeseeceeeeceeeeceeeeceeneeeeaeeeeaaeesaes 68 2008 CECS vi User Manual for Embedded System Environment ESE Version 2 0 0 Chapter 1 Introduction wee e zm rm ee zm PE RTOS Models Design Optimization Timed Application Bus IF Mem Models i zm zm gt SystemC Simulation Figure 1 1 User Manual for Embedded System Environment The Embedded System Environment ESE is shown in Figure 1 1 The input to ESE front end is the system definition consisting of a platform and application code A library of processing elements buses bridges and RTOS is provided in ESE to develop such a platform The retargetable timing estimation tool in ESE is used to annotate timing to the application code based on the mapping of application code on the platform components The timed application and platform are input to the Transaction Level Model TLM generator tool that uses the bus and bridge models to generate a SystemC TLM This SystemC TLM can be simulated by any commercial or freely available SystemC simu lator to provide the performance metrics The designer can use the metrics to optimize i the application code ii the platform and or iii the mapping from the application to the platform Since timing estimation and high speed TLM generation in ESE a
17. 41 4 2 1 Design Creation Users can create a new design by selecting Main File New This action will clear all windows Design Canvas PE Channel and Database Windows in preparation for a new design Error Information Messages Assuming before design creation users have opened an other design in ESE the currently opened design has been modified and the opened design is not saved yet When users select Main File gt New an Information dia log will be popped up querying whether to save the current design first before creat ing a new one If the users accept the recommendation a Design Saving action see Section 4 2 3 Design Saving page 36 is performed first In case of errors creating the design file file errors wrong file format an error dialog with a corresponding error message is popped up Upon confirming the error the file creating action is cancelled 2008 CECS 34 User Manual for Embedded System Environment ESE Version 2 0 0 4 2 2 Design Opening Lookin J mo eseDemoFiles examples mp3_platform2 Ni cvs mp3_platform2_partial_sres E mp3_platform2_sres test o mp3_platform2_partial eds File name mp3_platform2 eds RS File type ESE Design Files eds Xi Cancel A Figure 4 4 Design Open dialog Operation Users can open an existing design file on disk by selecting Main File Open The Design Open dialog window will pop up in which users can
18. CH_MEM Read only mp3_main Process Port mem_read AA PEO Mo E Low Address 0x00001000 High Address 0x00002000 Process gt Memory Memory gt Process PE0 gt OPB gt CPUO Help Figure 4 26 Memory Channel dialog Memory Channel is a channel that connects a process with the Memory element The channel is defined with the following parameters as shown in Figure 4 26 2008 CECS 60 User Manual for Embedded System Environment ESE Version 2 0 0 1 Name line box defines a unique name identifier for the channel 2 Dropbox Direction allows users to define a channel as Read only Write only or Read write channel 3 Users can select the process that accesses the Memory from the list of pro cesses presented in the dropbox Process 4 Dropbox Process Port provides the users with the list of available ports of the selected process Available ports have no previously assigned channels to them and are defined as reading and or writing ports depending on the selection in channel Direction 5 Users can define the Memory that Process reads from and or writes into by selecting from the dropbox Memory Only memories accessable i e exposed to the channel are listed here 6 Low Address and High Address line boxes allow the user to define the ad dress range of the Memory that is accessable to the Process via this channel 7 Finally two dropboxes for routing give the us
19. DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type FP ALU mode FPAdd gt lt StgRef gt lt Operation gt lt Operation name sub var_type int gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name sub var_type float gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type FP ALU mode FPAdd gt lt StgRef gt lt Operation gt lt Operation name mul var_type int gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int Mult Div mode IntMult gt 2008 CECS 92 User Manual for Embedded System Environment ESE Version 2 0 0 lt StgRef gt lt Operation gt lt Operation name mul var_type float gt lt
20. Internal Memory Selecting Add Internal Memory will add a new instance of the selected entity see Section 4 3 2 PE Mapping page 45 Remove All Selected Memories Selecting Remove All Selected Memories will remove all entities of the selected type see Section 4 3 2 PE Mapping page 45 Right clicking on the Exposed sub category under the Memories category in the PE Window opens a context menu pop up for the selected process class The context menu for Exposed contains two commands Add Exposed Memory Selecting Add Exposed Memory will add a new instance of the selected entity see Section 4 3 2 PE Mapping page 45 Remove All Exposed Memories Selecting Remove All Exposed Memories will remove all entities of the selected type see Section 4 3 2 PE Mapping page 45 Right clicking on a memory under the Exposed sub category in the PE Window opens a context menu pop up for the selected process class The context menu for Exposed contains four commands Rename Memory Selecting Rename Memory will allow the user to rename the selected entity see Section 4 3 2 PE Mapping page 45 Add Exposed Memory Selecting Add Exposed Memory will add a new instance of the selected entity see Section 4 3 2 PE Mapping page 45 O 2008 CECS 18 User Manual for Embedded System Environment ESE Version 2 0 0 Remove Selected Memories Selecting Remove Selected Memories will remove selected entities of the se lected type from the process s
21. Main Window page 7 of the combined SCE graphical user interface GUD 2 2 1 Scripting ESE supports scripting of the complete environment from the command line without the need to invoke the GUI For scripting purposes a GUI less command shell of ESE can O 2008 CECS 4 User Manual for Embedded System Environment ESE Version 2 0 0 be invoked by entering sesh at the command line prompt This will start the ESE shell without the GUI layer Instead a prompt gt gt is offered to enter commands that allow to drive the ESE envi ronment interactively or from ESE shell scripts read from files supplied on the scsh command line The ESE shell is based on an embedded Python interpreter As such it conforms to Python syntax and the full semantics of the Python language is available In addition the ESE shell extends the Python interpreter with an API for access to ESE function ality However the ESE shell API only provides undocument low level access to ESE internals for developers For user level scripting of ESE by designers a complete set of high level scripts on top of the ESE shell are available The set of scripts provides a convenient command line interface for all necessary ESE functionality Together with command line interfaces to model refinement tools and to the SpecC compiler complete scripting of the ESE design flow from the command line through shell scripts or via Makefiles is possible 2 2 2 Environmen
22. OPB M Properties none e Figure 4 23 Connecting to the bus dialog Users can connect the PE CE to the bus named Bus_name by right clicking on the created PE CE s port and selecting Connect toBus_name option Generally PE CE ports can connected to busses either as bus master M bus slave S or as combined bus master slave MS as shown in Figure 4 23 4 3 4 Channel Mapping Add Channel Memory Chann FIFO Channels Remove Channel s Figure 4 24 Add Channel context menu 2008 CECS 58 User Manual for Embedded System Environment ESE Version 2 0 0 Channel mapping attributes an end to end channel to a pair of processes Creating a channel begins by right clicking onto a Channel Window and selecting Add Chan nel option This action is shown on in Figure 4 24 The Channel Type dropbox allows the users to select among the following types of channels Process to Process Channel Memory Channel and FIFO Channel Process to Process Channel K Add Channel B Channel Options Channel Type Process to Process Channel f Name CH_JP2_JP3 Direction Unidirectional Process 1 jpeg_p2 la Process Port P2Out Process 2 jpeg_p3 Process Port fifo_read Routing Process 1 gt Process 2 CPU1 gt OPB gt CE0 gt OPB gt CPU2 st Process 2 gt Process 1 Ni Help Casa Cancel E Figure 4 25 Process to Process Channel dialog Process to Pro
23. Operation gt lt Operation name add var_type float gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type FP ALU mode FPAdd gt lt StgRef gt lt Operation gt 2008 CECS 106 User Manual for Embedded System Environment ESE Version 2 0 0 lt Operation name sub var_type int gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name sub var_type float gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type FP ALU mode FPAdd gt lt StgRef gt lt Operation gt lt Operation name mul var_type int gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int Mult Div mode IntMult gt lt StgRef gt lt Operation gt lt Operation name mul var_type float gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type FP Mult Div mode FPMult gt lt StgRef gt lt Operation gt lt Operation name udiv gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int Mult Div mode IntDiv gt lt StgRef gt lt Operation gt lt Operation name sdiv gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int Mult Div mode IntDiv gt lt StgRef gt lt Operation gt lt Operation name fdiv gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type FP Mult Div
24. StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type FP Mult Div mode FPMult gt lt StgRef gt lt Operation gt lt Operation name udiv gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int Mult Div mode IntDiv gt lt StgRef gt lt Operation gt lt Operation name sdiv gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int Mult Div mode IntDiv gt lt StgRef gt lt Operation gt lt Operation name fdiv gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt 2008 CECS 93 User Manual for Embedded System Environment ESE Version 2 0 0 lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type FP Mult Div mode FPDi
25. The database type in the File Type box defaults to EDB files for databases but can be chosen by the user All the database files with the specified type will be displayed in the display box Users further type in the database name in File Name box Finally by clicking Open button the database with the specified name will be selected If users click Cancel button then the action of database selection will be cancelled Either clicking Open or Cancel button will close the Database Selection dialog Users can also type in the file name and path of the SystemC include and library paths in the Application s line edit boxes Besides typing in the file name users can also select the names by using buttons next to the appropriate edit box Clicking button will pop up a SystemC Path Selection dialog displayed in Figure xref linkend fig systemc path selection gt 2008 CECS 31 User Manual for Embedded System Environment ESE Version 2 0 0 Select Path Directory Look in Y data users demo eseDemoFiles examples A EN cvs O mp3_plattorm2 a test_cases Directory Tec File type Directories f Cancel A Figure 4 3 SystemC Path Selection dialog The SystemC Selection dialog allows users to choose and select a directory on disk to use for the SystemC include path or the SystemC library path By clicking Open button the directory with the specified name will be selected If users click Cancel button th
26. WrReg oplat 1 gt lt FuncUnit gt lt FuncUnit type mem Port quantity 1 gt lt OperMode mode RdPort oplat 2 gt lt OperMode mode WrPort oplat 1 gt lt FuncUnit gt lt FuncUnit type int ALU quantity 1 gt lt OperMode mode IntALU oplat 1 gt lt FuncUnit gt lt FuncUnit type int Mult Div quantity 1 gt lt OperMode mode IntMult oplat 3 gt 2008 CECS 104 User Manual for Embedded System Environment ESE Version 2 0 0 lt OperMode mode IntDiv oplat 34 gt lt FuncUnit gt lt FuncUnit type FP ALU quantity 1 gt lt OperMode mode FPAdd oplat 6 gt lt OperMode mode FPCmp oplat 3 gt lt OperMode mode FPCvt oplat 3 gt lt FuncUnit gt lt FuncUnit type FP Mult Div quantity 1 gt lt OperMode mode FPMult oplat 6 gt lt OperMode mode FPDiv oplat 30 gt lt OperMode mode FPSart oplat 6 gt lt FuncUnit gt lt DPModel gt lt ProcUnit gt lt ProcUnitModel gt C 2 Example XML for Custom Hardware lt ProcUnitModel version 0 0 1 gt lt ProcUnit type DCT32 gt lt ExecModel sched LIST_SCHED gt lt Operation name ret gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type reg mode RdReg gt lt StgRef gt lt Operation gt lt Operation name malloc gt lt allocate memory from system heap gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type reg mode WrReg gt
27. and Help Each main menu entry is a drop down menu which contains a number of commands In general unless otherwise noted selecting a main menu entry will apply the corresponding action to the currently active design 1 e to the design that is currently open If there is no currently active design menu commands will silently fail do nothing 3 1 1 File Menu The File menu contains ten commands File gt New Selecting New will create a new design file see Section 4 2 1 Design Creation page 34 File gt Open Selecting Open will allow loading and opening of an existing design file see Section 4 2 2 Design Opening page 34 O 2008 CECS 8 User Manual for Embedded System Environment ESE Version 2 0 0 File Close Selecting Close will close the current design see Section 4 2 5 Design Closing page 37 File gt Reload Selecting Reload will trigger reloading of the current design file from disk e g in case the file has changed on disk or reverting to the last saved version see Section 4 2 4 Design Reloading page 37 File gt Save Selecting Save will save the current design file see Section 4 2 3 Design Saving page 36 File gt Save As Selecting Save As will save the current design file as a another file see Section 4 2 3 Design Saving page 36 File Export Selecting Export will allow saving and exporting of the current design in a com pressed file format see
28. is a one to one association between design models design files on disk and design canvases in the Workspace Each Design Canvas represents a view onto one loaded design file which in turn stores the data of one design model and vice versa For example both file closing Section 4 2 5 Design Closing page 37 and window closing Section 4 7 Window Management page 69 will close the design file and the Design Canvas and unload the design from ESE s memory 2008 CECS 33 User Manual for Embedded System Environment ESE Version 2 0 0 Specifically file handling consists of the following tasks 1 Design Creation to create a new design see Section 4 2 1 Design Creation page 34 2 Design Opening to open and load existing design files from disk see Section 4 2 2 Design Opening page 34 3 Design Saving to save the current design on disk see Section 4 2 3 Design Saving page 36 4 Design Closing to close the current design see Section 4 2 5 Design Closing page 37 5 Design Reloading to reload the current design s last saved instance see Section 4 2 4 Design Reloading page 37 6 Design Exporting to create a compressed archive file of the current design see Section 4 2 6 Design Exporting page 38 7 Design Settings to display and edit the settings of the opened design see Section 4 2 7 Design Settings Editing page 39 8 ESE Exiting to exit the ESE application see Section 4 2 9 ESE Exiting page
29. mapping is done by two references pipeline stage reference and functional unit reference explained later 2008 CECS 76 User Manual for Embedded System Environment ESE Version 2 0 0 Table 5 16 Model Name Sub Models StgRef Table 5 17 Attribute Name Description Value Type Source __ Name of LLVM LLVM A set of LLVM name E String a instruction instruction instruction Type of operand var_type for LLVM String User select instruction 5 1 2 1 1 Pipeline Stage Reference The pipeline stage reference consists of two flags and a pointer to a pipeline stage defined in Datapath model Two flags are demand operand and commit result that specify the pipeline stages where the operation needs operand and commits the result respectively Table 5 18 Model Name Sub Models StgRef FURef Table 5 19 Attribute Name Description Vale Type Source Pointer to a Name of a Datapath model name er rt String pipeline stage __ pipeline stage Specify COMMIT flags gemang TEMAN String User select operand and COMMIT commit result DEMAND 5 1 2 1 1 1 Functional Unit Reference Functional unit reference is used to associate a pipeline stage with functional units used O 2008 CECS 77 User Manual for Embedded System Environment ESE Version 2 0 0 by operation in the pipeline stage It specifies a type of functional unit along with its operation mode Table 5 20 Mode
30. remove all selected entities of type see Section 4 3 4 Channel Mapping page 58 Properties Selecting Properties will open a properties dialog box for the selected entity from the process The user is able to modify port address and route properties in this dialog box 2008 CECS 23 User Manual for Embedded System Environment ESE Version 2 0 0 3 4 3 Channel Window FIFO Channels Right clicking on the FIFO Chamnels category in the Channel Window opens a context menu pop up for the selected channel class The context menu for FIFO Channels contains two commands Add Channel Selecting Add Channel will open a dialog box for adding a channel The user is able to specify the new channel s properties in this dialog box see Section 4 3 4 Channel Mapping page 58 Remove All FIFO Channels Selecting Remove All FIFO Channels will remove all entities of the selected type from the tab see Section 4 3 4 Channel Mapping page 58 Right clicking on a channel under the FIFO Channels category in the PE Window opens a context menu pop up for the selected channel class The context menu for each channel contains two commands Add Channel Selecting Add Channel will open a dialog box for adding a channel The user is able to specify the new channel s properties in this dialog box see Section 4 3 4 Channel Mapping page 58 Remove Channel s Selecting Remove Channel s will remove all selected entities of type see Section 4 3 4
31. users should first specify the directory of the file in Look in box The content of directory will be automatically displayed in the display box in the center The file type defaults to ESE Exported Design Files tbz All the files with the specified type will be displayed in the display box Users then further select the file name in File Name box Finally by clicking Save button the current opened file will be exported to the file with the specified name If users click Cancel button then the action of design exporting will be cancelled Either clicking Save or Cancel button will close the File Export dialog Error Information Messages When selecting Main File Export and specifying the file name of an existing file on disk an Information dialog will pop up asking whether to overwrite the existing file If the users decline this the file exporting action will be cancelled O 2008 CECS 38 User Manual for Embedded System Environment ESE Version 2 0 0 When writing files to disk errors may occur file errors e g if no space is available on the disk In this case an Error dialog will be popped up corresponding error messages will be displayed and the file exporting action will be cancelled 4 2 7 Design Settings Editing y Design Settings TLM Compiler TLM Simulator Compile options Lon g Wall w Link options ipthread Include path Library path es Libraries Defines SS Undefines
32. ype Gen S Identifier 8 Number of the functional units tit gt 1 Int Data sheet KE available in the KE PE 5 1 1 1 1 Operation Model Functional unit can operate in several modes For each modes it has different delays For example ALU may have addition and multiplication modes with different delays In this model delays for each operation modes are specified Table 5 6 Model Name Sub Models OperMode Table 5 7 Attribute Name Description Value Type Source __ Name for type User defined Delay of functional unit oplat OIE gt 1 Int Data sheet for the operation mode 2008 CECS 73 User Manual for Embedded System Environment ESE Version 2 0 0 5 1 1 2 Pipeline Model Pipeline model consists of a name and a set of pipeline stages It also defines branch delay model which is a statistical model that stores the branch prediction policy cycles lost for mis prediction and the average mis prediction ratio Please note that current version Of ESE does not use branch prediction policy for now This attribute will be used when ESE supports a dynamic branch prediction model Table 5 8 Model Name Sub Models Table 5 9 Attribute Name Description Value Type Source name iene we ge abe S SG String User define the pipeline Identifier E e TAKEN Cycle lost for Number of Data sheet on br_penalty SE I mis prediction cycles PE nt Hit ratio from Ge br pred bt rap
33. 0 0 TX Parameters FIFO Scheduling MTX Scheduling Options Policy Round Robin Y Priority Figure 4 21 CE Scheduling dialog CEs can be parametrized after instantiation by right clicking on the CE component in the Design Canvas The Component Parameter dialog will be popped up see Figure 4 20 In this dialog the user has to enter and confirm all parameters within categories of FIFO and Scheduling for the given bus component instance Users can enter any value for any parameter within the value range allowed by the component by clicking into each parameter s value field in the dialog There are two tabs Fifo and Scheduling In the Fifo tabe the size and partition types are set In the Scheduling tab see Figure 4 21 the transducer scheduling policy is set Clicking the Ok button of the dialog will generate a new customized component type with the selected parameters and will then allocate a new instance of this parametrized type Clicking the Cancel button aborts component parametrization In order to remove a CE from the design s platform users can right click on the target component to be removed in the Design Canvas and select the Remove CE option Clicking on the Remove CE will remove the selected CE and all its connections from the platform Error Information Messages During CE editing if users try to give CEs a name which is already used as the name of another CE in the design an Error
34. 4 else define MLO hi lo x y MAD_F_MLO hi lo x y define MLA hi lo x y MAD_F_MLA hi lo x y define MLN hi lo MAD_F_MLN hi lo define MLZ hi lo MAD_F_MLZ hi lo define SHIFT x x H if defined MAD_F_SCALEBITS ri pi 2 A E Figure 4 13 Adding Sources to a Process C File dialog O 2008 CECS 47 User Manual for Embedded System Environment ESE Version 2 0 0 The users can view the source file c and h of the process by right clicking on the process listing and selecting View Source An ESE Design Viewer dialog will be popped up see Figure 4 13 In this dialog users can view the source file textually and search for keywords Choosing Main File Close will close the ESE Design Viewer dialog Adding Process Port s to the Process Help Cancel Figure 4 14 Adding a Process Port to a Process dialog The users add process ports to the process by right clicking on the process listing and selecting Add Process Port option An Add Process Port dialog will be popped up as shown in Figure 4 14 The users can name the process port in Name line box and define its type by selecting one option in the Type drop box Upon selection the API box will automatically display the selected type s of API s The users can then name the API s belonging to that port by double clicking and writing the API functions in the appropriate lines of the display box Finally by clicking Ad
35. 4 1 1 Application Preferences KA Preferences E Application Preferences SystemC include path opt pkg systemc 2 2 0 include SystemC library path opt pkg systemc 2 2 0 lib linux ie Database home ese local db ese edb Help Figure 4 1 Edit Preferences dialog i Cancel A Database preferences define the location of the database EDB file for the Database Win dows The Application tab of the Edit Preferences dialog allows for viewing and selecting of database file path as well as other include and library paths The Application tab is shown in Figure 4 1 Users can type in the file name and path of the database in the Application s line edit boxes Besides typing in the file name users can also select the names by using buttons next to the edit box Clicking button will pop up a Database Selection dialog displayed in Figure Figure 4 2 O 2008 CECS 30 User Manual for Embedded System Environment ESE Version 2 0 0 File Edit View Project Synthesis Validation Windows CACY Ie ass pee e 10 SE Design Description Figure 4 2 Database Selection dialog The Database Selection dialog allows users to choose and select existing database files on disk to use for the database In the Database Selection dialog users should first spec ify the database directory in Look in box The content of the directory will be automat ically displayed in the display box in the center
36. 9 gt lt DataCache d_cache_size 4K d_cache_ratio 0 6661 gt lt DataCache d_cache_size 8K d_cache_ratio 0 6714 gt lt DataCache d_cache_size 16K d_cache_ratio 0 6996 gt lt DataCache d_cache_size 32K d_cache_ratio 0 6996 gt lt DataCache d_cache_size 64K d_cache_ratio 0 6996 gt lt Cache gt lt Memory r_delay 8 w_delay 3 gt 2008 CECS 103 User Manual for Embedded System Environment ESE Version 2 0 0 lt MemModel gt lt DPModel gt lt Pipeline name default br_pred_policy TAKEN br_pred_hit_ratio 60 00 br_penalty 2 gt lt Stage name IF gt lt FURef type InstFetch quantity 1 gt lt Stage gt lt Stage name ID gt lt FURef type InstDecode quantity 1 gt lt Stage gt lt Stage name EX gt lt FURef type reg quantity 32 gt lt FURef type mem Port quantity 1 gt lt FURef type int ALU quantity 1 gt lt FURef type int Mult Div quantity 1 gt lt FURef type FP ALU quantity 1 gt lt FURef type FP Mult Div quantity 1 gt lt Stage gt lt Pipeline gt lt FuncUnit type InstFetch quantity 1 gt lt OperMode mode DEFAULT oplat 1 gt lt FuncUnit gt lt FuncUnit type InstDecode quantity 1 gt lt OperMode mode DEFAULT oplat 1 gt lt FuncUnit gt lt FuncUnit type reg quantity 32 gt lt OperMode mode RdReg oplat 1 gt lt OperMode mode
37. C Center for Embedded Computer Systems University of California Irvine User Manual for Embedded System Environment ESE Version 2 0 0 Daniel D Gajski Samar Abdi Gunar Schirner Han su Cho Yonghyun Hwang Lochi Yu Ines Viskic and Quoc Viet Dang Technical Report CECS 08 14 December 12 2008 Center for Embedded Computer Systems University of California Irvine Irvine CA 92697 2620 USA 949 824 8919 gajski sabdi hschirne hscho yonghyuh lochi yu iviskic qpdang uci edu http www cecs uci edu ese User Manual for Embedded System Environment ESE Version 2 0 0 Copyright O 2008 CECS UC Irvine User Manual for Embedded System Environment ESE Version 2 0 0 Table of Contents Ar MENA NO gu O 1 Da A E E AAT OEA IAEE OAE EASA IEE AE AEEA EE 3 GN Manta Conventio ds 3 Dato EE a A AR 4 PS EE 4 2 2 2 Environment Variables vaisisississtecvsseavtesesuaceds caia 5 De Main WI ii as 7 3 1 Menu Bar i 8 ISA Fle Misal 8 Del De Edt E 9 Salis VIEW MENU neng E 10 3 1 4 Synthesis Meni ciao 10 EA o EE 11 Sy 1263 Windows Mecano AIT Y 11 E ee Ee DE 12 3 2 RER 12 PE WII Aa 13 3 3 1 PE Wind w Processes onere aa 14 3 3 2 PE Wind w Memofi eg ata nen u aayi 17 3 3 3 PE Window Channels a Roca 19 3 4 Channel WiNdO Weiss in 21 3 4 1 Channel Window Process Channels AAA 22 3 4 2 Channel Window Memory Channel 23 3 4 3 Channel Window FIFO Channels AAA 23 3 5 Database Window sir ii ainda 24 3 6 OUtp
38. CT2MAIN CH_MAIN2DC Bus Sync Transfer Options Synchronization E Interrupt Sensitivity level high t Polling Polling Frequency ns Sensitivity Xi Packetization FE None 4 Compile Time Size bytes Transfer Type f Help Cal Cancel Figure 4 18 Bus Synchronization dialog Clicking the Ok button of the dialog will generate a new customized component type with the selected parameters and will then allocate a new instance of this parametrized type Clicking the Cancel button aborts component parametrization In order to remove a bus from the design s platform users can right click on the target bus to be removed in the Design Canvas and select the Remove Bus option Clicking on the Remove Bus will remove the selected Bus and all its connections from the platform Error Information Messages During bus editing if users try to give busses a name which is already used as the name of another bus in the design an Error dialog will be popped up with a corresponding error message and a query to continue without saving changes Answering no will close the Error dialog Answering yes will abort and cancel the Bus Parameters editing operation O 2008 CECS 53 User Manual for Embedded System Environment ESE Version 2 0 0 When adding a bus the selected bus type is read from the database In case of errors during database opening e g file errors or wrong file format an Error dialog will be popp
39. Channel Mapping page 58 Properties Selecting Properties will open a properties dialog box for the selected entity from the process The user is able to modify port mapping and route properties in this dialog box O 2008 CECS 24 User Manual for Embedded System Environment ESE Version 2 0 0 3 5 Database Window zz a y aa Processing Communication Memory Hardware IPs FIMDCT36 DCT32 ustom Hardware HNISC Forte SW Processor HARM9 Figure 3 5 Database Window In the Database Window side bar all the database items associated with the design are listed Each component from the database is represented as a tab in the Database Window Each component contains a number of categories which contain a number of database item types The database item types can be dragged directly from the Database Window onto the Design Canvas to create an instance of that type for the design The Database Window is displayed in Figure 3 5 3 6 Output Window 2 Compile Simulate Shen Figure 3 6 Output Window The Output Window displays the information related to the process of ESE such as logged status diagnostic and error output of background commands The Output Win dow is displayed in Figure 3 6 The Output Window contains six tabs Compile Sim ulate Verify Analyze Synthesize and Shell The Compile tab displays the log mes O 2008 CECS 25 User Manual for Embedded System Environment ES
40. E Version 2 0 0 sages generated during preprocessing and parsing of the design file during Synthe sis The Simulate tab displays the log messages generated by the command line tools spawned by the main application GUI during simulation The Verify tab displays the log messages generated by the command line tools spawned by the main application GUI during verification The Analyze tab displays the log messages generated by the command line tools spawned by the main application GUI during analysis The Syn thesize tab displays the log messages generated by the command line tools spawned by the main application GUI during synthesis Finally the Shell tab contains an instance of the interactive ESE shell interpreter The Output Window is mainly for informational purposes and doesn t contain any button that users can click Only the Shell tab allows to enter ESE commands interactively to be executed by the embedded scripting interpreter In addition all tabs support a context menu through which the user can save the contents of the tab to a file cut copy and paste text between a tab and other applications toggle line wrapping and clear or completely reset the tab Furthermore the Shell tab supports history substitution of previously entered commands via Undo and Redo context menu entries The Output Window can be detached or docked Users can drag the window by its title bar or handle to the desired place If the Output Window is detached it c
41. FACE name m2rpcrr type SR send send P_ID_mp3_main_ P_ID rpcn Am lt INTERFACE name m21fi1l type SR send send P_ID_mp3_main_ P_ID Int de lt INTERFACE name m2rfil type SR send send P_ID_mp3_main_ P_1D_rfil_dc lt LEAF gt lt PRIOENTRY procname mp3_main prionumber 0 gt r Une Get y Figure 4 8 Design Source Viewing dialog Operation The source file of the design can be viewed via View Source The O 2008 CECS 40 User Manual for Embedded System Environment ESE Version 2 0 0 result of View Source is shown in Figure 4 8 4 2 9 ESE Exiting Operation Selecting Main File gt Exit will exit the ESE application and close the ESE GUI Error Information Messages If there is an open Design Canvas that is modified and not yet saved an Information dialog will pop up querying whether to save the corre sponding design The users will be able to cancel the whole exit action via the corre sponding dialog button If the users accept the recommendation to save the file a file saving action will be triggered see Section 4 2 3 Design Saving page 36 Note that the design saving action can trigger additional Error dialogs which in turn can abort the whole exit operation in case of file errors during saving 4 3 Transaction Level Modeling Transaction Level Modeling is a process of implementing a system specification on a platform consisting of PEs and memori
42. O EAR A EEEE 21 3 8 Information Ml ii a ta 27 4 1 Edit Preferences dialog vinissi isos da 30 4 2 Database Selection EE 30 4 3 SystemC Path Selection dialo laa 31 4 4 Desi m Open dialogs A 35 4 5 DESIST Save E AA 36 4 6 Design Export dial id ti 38 4 7 Design Settings TLM Compiler tab dialog onoocnnncninccnonnonnnnnnnnoncnancnancnnnonanannnos 39 4 8 Design Source Viewing dialog us is 40 AO E e EE 43 4 10 E EI 43 4 11 Process Renaming dhalog 2c6s cesesessasacecietssisascsendatesaceaadsesusccansaven cedonatvfeddenssaenpadens 46 4 12 Adding Sources to a Process C File dialog A 46 4 13 Adding Sources to a Process C File dialog AAA 47 4 14 Adding a Process Port to a Process dialog AA 48 4 15 Bus Alcan TES is AA eae A ee 50 4 16 Bus Parameters dialogs idad 51 4 17 Bus Addressing dialog tin ad 52 4 18 Bus Synchronization EE energie list 52 4 19 AE POC ALO I testli osineen a i De O ELE 54 4 20 ACE Parameters dialo t en A E cn teased A E 55 4 21 CE Scheduling dilo ni ia minis 55 4 22 Port Adding Malo ii did 57 4 23 Connecunp to the A oe Re eae eee 58 4 24 Add Channel context menu dl 58 4 25 Process to Process Channel dialog iii tits 59 4 26 Memory Chamba AA dee nee tt 60 4 27 FIFO Channel dialogs mint lidia 62 4 28 PE Performance Analysis EE 65 4 29 PE Computation graph dialoe ccs cccvcass saysacsgutsevelevesntevancdonseastaieesnts dacadsensdeavereativs 65 4 30 Process Computation graph dialog 2 0
43. Port Selecting Add Process Port will add a new instance of the selected entity to the process see Section 4 3 2 PE Mapping page 45 Remove All Process Port s Selecting Remove All Process Port s will remove all entities of the selected type from the process see Section 4 3 2 PE Mapping page 45 Right clicking on a process port under Process Ports in the PE Window opens a context menu pop up for the selected process class The context menu for each process port contains three commands Add Process Port Selecting Add Process Port will add a new instance of the selected entity to the process see Section 4 3 2 PE Mapping page 45 Remove Process Port s Selecting Remove Process Port s will remove the selected entities of the se lected type from the process see Section 4 3 2 PE Mapping page 45 Properties Selecting Properties will open a properties dialog box the selected entity from the process The user is able to rename the function names for the entity in this dialog box see Section 4 3 2 PE Mapping page 45 Right clicking on Source Files under a process in the PE Window opens a context menu pop up for the selected source files The context menu for Source Files contains three commands 2008 CECS 16 User Manual for Embedded System Environment ESE Version 2 0 0 Add C File s Selecting Add C File s will add a new source file of the specified type see Section 4 3 2 PE Mapping page 45 Add H File s
44. Section 4 2 6 Design Exporting page 38 File Settings Selecting Settings will display the settings of the current design file see Section 4 2 7 Design Settings Editing page 39 File Exit Selecting Exit will exit from and quit ESE see Section 4 2 9 ESE Exiting page 41 2008 CECS 9 User Manual for Embedded System Environment ESE Version 2 0 0 3 1 2 Edit Menu The Edit menu contains one command Edit Preferences Selecting Preferences will allow viewing and modifying of application prefer ences see Section 4 1 Application Preferences page 29 3 1 3 View Menu The View menu contains three commands View Source Selecting Source will allow viewing of the source file of the current design see Section 4 2 8 Design Source Viewing page 40 View Chart Selecting Chart will display the chart of the current design View Connectivity Selecting Connectivity will display the connectivity chart of the current design 3 1 4 Synthesis Menu The Synthesis menu contains five commands Synthesis gt Generate Functional TLM Selecting Generate Functional TLM generates the functional tlm for the current design see Section 4 4 1 Generate Functional TLM page 64 Synthesis gt Generate Timed TLM Selecting Generate Timed TLM generates the timed tlm for the current design see Section 4 4 2 Generate TLM page 64 2008 CECS 10 Use
45. Selecting Add H File s will add a new source file of the specified type see Section 4 3 2 PE Mapping page 45 Remove All Source File s Selecting Remove All Source File s will remove all entities of the selected type from the process see Section 4 3 2 PE Mapping page 45 Right clicking on a source file under Source Files in the PE Window opens a context menu pop up for the selected source files The context menu for each source file contains four commands Add C File s Selecting Add C File s will add a new source file of the specified type see Section 4 3 2 PE Mapping page 45 Add H File s Selecting Add H File s will add a new source file of the specified type see Section 4 3 2 PE Mapping page 45 Remove File s Selecting Remove File s will remove all selected entities of the selected type from the process see Section 4 3 2 PE Mapping page 45 View Source Selecting View Source will open the Design Viewer and show the source code for the file see Section 4 3 2 PE Mapping page 45 3 3 2 PE Window Memories Right clicking on the Memories category in the PE Window opens a context menu pop up for the selected process class The context menu for Memories contains three commands O 2008 CECS 17 User Manual for Embedded System Environment ESE Version 2 0 0 Add Exposed Memory Selecting Add Exposed Memory will add a new instance of the selected entity see Section 4 3 2 PE Mapping page 45 Add
46. StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int ALU mode IntALU gt 2008 CECS 101 User Manual for Embedded System Environment ESE Version 2 0 0 lt StgRef gt lt Operation gt lt Operation name unreachable gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name invoke gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name unwind gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int ALU mode IntALU gt
47. a set of operation models and scheduling policy Each oper ation model maps a operation to Datapath model and the scheduling policy decides the execution order for a given stream of operations Table 5 14 Model Name Sub Models ExecModel Table 5 15 Attribute Name Description Value Type Source Operation scheduling algorithm used PIPELINE by the PE such String User select as ASAP LIST_SCHED ALAP List scheduling etc 5 1 2 1 Operation Model This model consists of the LLVM operations and their mapping to a pipelined datapath as defined in Datapath model Please note that operation model uses LLVM operations instead of the specific set instruction sets or operations to make estimation framework re targettable LLVM operations can be easily mapped to the operations or instructions supported by the PE To give an example add addc addk and addkc instructions in the instruction set of MicroBlaze can be mapped to add operation in LLVM instruc tion set One LLVM operation can take care of several data types Therefore data type of variable for the operation should be also specified Unless data type for the operation is not specified no input or integer type is assumed The mapping of LLVM operation to a pipelined datapath consists of two steps The first step is to map an operation to a set of pipeline stages and the second is to map available functional units to the pipeline stage This
48. address and data phases O 2008 CECS 83 User Manual for Embedded System Environment ESE Version 2 0 0 Appendix A XML stylesheet for PE Data Model This appendix contains a full XML stylesheet for PE Data Model A 1 Data Type lt xs simpleType name IdentName gt lt xs restriction base xs string gt lt xs pattern value _ a zA Z a zA Z0 9_ gt lt xs restriction gt lt xs simpleType gt lt xs simpleType name IdentNameList gt lt xs list itemType IdentName gt lt xs simpleType gt A 2 Elements lt xs complexType name ProcUnitModel gt lt xs attribute name version type xs string use required gt lt xs element name procunit type ProcUnit minOccurs 1 maxOccurs unbounded gt lt xs complexType gt lt xs attribute name type type xs string gt lt xs element name execmodel type ExecModel minOccurs 1 maxOccurs unbounded gt lt xs element name memmodel type MemModel minOccurs 1 maxOccurs unbounded gt lt xs element name dpmodel type DPModel minOccurs 1 maxOccurs unbounded gt lt xs complexType gt lt xs element gt lt xs complexType gt lt xs complexType name ExecModel gt 2008 CECS 4 User Manual for Embedded System Environment ESE Version 2 0 0 lt xs attribute name sched type IdentName use required gt lt xs element name operation type Operation minOccurs 1 maxOccurs unbounded gt lt xs complexType gt
49. alue Type Source _ Cache size for 1 cache_size instruction Cache size Data sheet cache Simulation 1 cache_hit_ratid Cache hit ratio gt 0 00 lt 1 00 FP testit by ISS or virtual platform 2008 CECS 79 User Manual for Embedded System Environment ESE Version 2 0 0 5 1 3 1 2 Data Cache Model Data cache model defines cache hit ratio for a cache size Table 5 27 Model Name Sub Models DataCache Table 5 28 Attribute Name Description Value Type Source Int FP r Cache size for d_cache_size Cache size Data sheet data cache Simulation d cache bt ran Cache hit ratio gt 0 00 lt 1 00 result by ISS or virtual platform 5 1 3 2 External Memory Model The external memory latencies for memory read and memory write are specified here Table 5 29 Model Name Sub Models Memory Table 5 30 Attribute Name Description Value Type Source The external Number of memory access Int Data sheet cycles latency for read 2008 CECS 0 User Manual for Embedded System Environment ESE Version 2 0 0 The external memory access Number of latency for cycles write Data sheet 5 2 Bus Model The bus model defines the available features and delays that distinguish each protocol Table 5 31 Attribute Name Description Vale Type 2 Bus protocol Name of a Stri ype identifier functional unit nng Width of the add data bus wide ea CINCHER denge
50. ame ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name cast var_type float gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt 2008 CECS 100 User Manual for Embedded System Environment ESE Version 2 0 0 lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type FP ALU mode FPCvt gt lt StgRef gt lt Operation gt lt Operation name cast var_type double gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type FP ALU mode FPCvt gt lt StgRef gt lt Operation gt lt Operation name getelementptr gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name phi gt lt
51. an be floating and displayed anywhere on the desktop If the Output Window is docked it has to be attached to any of the borders of the Main Window 3 7 Message Boxes As a result of certain actions the ESE application will pop up message box dialogs for feedback to or input from the user about handling of special situations Message boxes are used to provide informative messages and to ask simple questions In general there are two types of message boxes error dialogs and information dialogs 2008 CECS 26 User Manual for Embedded System Environment ESE Version 2 0 0 3 7 1 Error Dialogs ESE Environment Q User does not have write permissions in this directory Toc Figure 3 7 Error dialog If the application encounters an abnormal error situation in which user notification about the failure of the initiated action is required an Error dialog will be popped up Figure 3 7 The Error dialog displays an error message at the top half of the Error dia log At the bottom half an Error dialog contains one button Ok Clicking Ok will close the Error dialog and original dialog if any that prompted the message After clicking the original action that prompted the message is aborted and cancelled 3 7 2 Information Dialogs ESE Environment iD Do you want to save changes to current design before opening this design Yes No Cancel Figure 3 8 Information dialog If the application encounters an abnormal situ
52. ation in which user notification is required and the user is given several choices on how to continue an Information dialog will be popped up Figure 3 8 An information message and associated question is displayed at the top half of the dialog The bottom half of the dialog contains three buttons Yes No and Cancel Clicking Yes will accept the recommendation and do the corresponding action Clicking No will not accept the recommendation and will not do the correspond ing action but will continue the original action that prompted the message in the first 2008 CECS 27 User Manual for Embedded System Environment ESE Version 2 0 0 place Finally clicking Cancel will not do the recommended action and will also cancel the original action that prompted the message Clicking one of above three buttons will close the Information dialog and original dialog if any that prompted the message O 2008 CECS 28 User Manual for Embedded System Environment ESE Version 2 0 0 Chapter 4 Functionality The functionality of ESE can be classified into the following categories application file handling design entity handling and synthesis amp simulation 4 1 Application Preferences The main application of ESE supports a set of persistent application preferences Appli cation preferences are persistently stored across different invocations of the tool In fact application preferences are shared among all tools in the ESE environment 1 e
53. cess Channel is defined with the inputting the values of the follow ing parameters as shown in Figure 4 25 1 Name line box defines a unique name identifier for the channel 2 Dropbox Direction provides options of Unidirectional and Bidirectional chan nel Unidirectional channels only transfer data from Process 1 to Process 2 3 If the channel is defines as Unidirectional dropbox Process 1 allows the users to select the sending process Otherwise it defines the first process in the com municating process pair 2008 CECS 59 User Manual for Embedded System Environment ESE Version 2 0 0 Dropbox Process Port provides the users with the list of available ports of the selected process Available ports have no previously assigned channels to them and are 1f the channel is Unidirectional defined as sending or writing ports Similarly to Process 1 dropbox Process 2 defines either process receiver or the second process in the communicating process pair Process Port lists previously unassigned ports of the selected process If the channel is Unidirectional the listed ports are defined as receiving or reading ports Finally two dropboxes for routing give the users the list of available routes between processes If the channel is Unidirectional only one of the dropboxes is active Memory Channel Add Channel Channel Options Channel Type Memory Channel Name Direction Process Memory
54. choose and select an existing file on disk to open and load The Design Open dialog is illustrated in Figure 4 4 Users should first specify the directory of the file in Look in box The content of the directory will be automatically displayed in the display box in the center The file type defaults to EDS files eds All the files with the specified type will be displayed in the display box Users then further select the file name in the File Name box Finally by clicking the Open button the file with the specified name will be open If users click the Cancel button the action of file opening will be cancelled Either clicking Open or Cancel button will close the File Open dialog Opening and loading a design file will result in a corresponding design appearing in the Design Canvas Error Information Messages If the specified design file does not exist before clicking Open button then clicking Open button has no effect In case of errors reading the design file from disk file errors wrong file format an error dialog with a corresponding error message is popped up Upon confirming the error the Design Opening action is cancelled 2008 CECS 35 User Manual for Embedded System Environment ESE Version 2 0 0 Assuming before design opening users have opened another design in ESE the opened design is modified and the opened design is not saved yet When users open a different design the Information dialog will be popped up t
55. cified type will be displayed in the display box Users then further select the file name in File Name box Finally by clicking Save button the current opened file will be saved as the file with the specified name If users click Cancel button then the action of file saving will be cancelled Either clicking Save or Cancel button will close the Design Save dialog Error Information Messages When selecting Main File gt Save As and specify ing the file name of an existing design file on disk an Information dialog will pop up asking whether to overwrite the existing file If the users decline this the design saving action will be cancelled When selecting Main File gt Save or Main File gt Save As errors may occur file errors e g if no space is available on the disk In this case an Error dialog as shown in Figure 3 7 will be popped up corresponding error messages will be displayed and the design saving action will be cancelled 4 2 4 Design Reloading Operation Users can save reload the current design file Design Windows in the Workspace by the following method 1 Selecting Main File Reload will save the file of the currently active Design Window using its current name Error Information Messages When selecting Main File Reload errors may occur file errors e g if no space is available on the disk In this case an Error di alog as shown in Figure 3 7 will be popped up corresponding error me
56. d button the process port with the specified API s will be selected If users click Cancel button then the action of creating a process port will be cancelled Either clicking Open or Cancel button will close the Add Process Port dialog O 2008 CECS 48 User Manual for Embedded System Environment ESE Version 2 0 0 4 3 2 2 Local Memory Mapping Memory mapping allows for mapping of variable instances in the design into exposed memories of allocated regular PEs An exposed memory is added to the PE by right clicking on the corresponding PE tab in the PE Window and selecting Add Exposed Memory option This creates a memory listing in the PE tab with the default memory name Memory mapping information consists of memory name and size and it can be accessed for editing with right clicking on the memory listing 4 3 2 3 Local Channel Mapping Channel mapping attributes an end to end channel to a pair of processes Depending on the selected route a channel can be either local i e belonging to a single PE or global i e connecting processes of different PEs mapped to the network of busses and CEs Local and global channel mapping is uniformly described in Section 4 3 4 Channel Mapping page 58 4 3 3 Network Allocation Network allocation and connection information is stored in the design itself eds as an annotated Data Structure allocation and connection tables Network topology includes an interconnection of communication b
57. ded System Environment ESE Version 2 0 0 Right clicking on a channel under the Process Channels sub category in the PE Win dow opens a context menu pop up for the selected channel class The context menu for Process Channels contains two commands Remove Channel s Selecting Remove Channel s will remove all selected entities of type see Section 4 3 2 PE Mapping page 45 Properties Selecting Properties will open a properties dialog box for the selected entity from the process The user is able to modify port and route properties in this dialog box Right clicking on the Memory Channels sub category under the Channels category in the PE Window opens a context menu pop up for the selected channel class The context menu for each channel contains one command Remove Selected Channels Selecting Remove Selected Channels will remove all entities of the selected type see Section 4 3 2 PE Mapping page 45 Right clicking on a channel under the Memory Channels sub category in the PE Win dow opens a context menu pop up for the selected channel class The context menu for each channel contains two commands Remove Channel s Selecting Remove Channel s will remove all selected entities of type see Section 4 3 2 PE Mapping page 45 Properties Selecting Properties will open a properties dialog box for the selected entity from the process The user is able to modify port address and route properties in this dialog box see Sectio
58. dialog will be popped up with a corresponding error message and a query to continue without saving changes Answering no will close the Error dialog Answering yes will abort and cancel the CE Parameters editing operation 2008 CECS 56 User Manual for Embedded System Environment ESE Version 2 0 0 When adding a CE the selected CE type is read from the database In case of errors during database opening e g file errors or wrong file format an Error dialog will be popped up and the PE adding operation will be aborted 4 3 3 3 Connecting the network The network is constructed by connecting PEs and CEs to the busses This process is done with the following operations Port Adding Add Port Remove Port Remove PE Connect To View Graph Properties Figure 4 22 Port Adding dialog By right clicking onto a PE or CE in the Design Canvas and selecting Add Port option the user attributed the communication port to that PE CE The Port Adding is shown in Figure 4 22 Remove Port Right clicking onto a PE s or CE s port and selecting the Remove Port from the context menu will remove that port from the corresponding PE or CE 2008 CECS 57 User Manual for Embedded System Environment ESE Version 2 0 0 Connecting to the Bus DH DH CH_CPU_LFIL_B CH CPU_LFIL_F OPB OPB MICROBLAZE es Memories Channels e gt Remove Port Remove PE ConnectTo py p Gs View Graph
59. ecution Model ddr 75 Li MEMO e E E EE 78 52 BUS feel eene Eege eer eege 81 A XML stylesheet for PE Data Model cssssccsssssccsssscssssssscsssscccsssscssssssesccees 84 ENK A E RON 84 PX 2 TENG EE 84 B XML stylesheet for Bus Models ccssccccssssccssssscsssssscccsssssccsssecsesssssccsssssscesees 88 C Example AMES esi csvescces snceush casi deusivcdbbesevs ee 89 C 1 Example XML for MicroBlaze eiii ac 89 C 2 Example XML for Custom Hardware E 105 C 3 Example XML for OPB sustos lid 113 O 2008 CECS iv User Manual for Embedded System Environment ESE Version 2 0 0 List of Tables o EE 72 A e elei 72 Se EE 72 DESI A A O 72 DAD a id 13 SE 73 GEELEN 73 o WEEN 74 El EE 74 A EE 74 A SOR oo HR on OR EEE Pr REY ones ee eer ere 75 O 75 STI PRUE DUIS EE 75 S 14 e WEE EE 76 e E EE EE wash eee te a E R 76 A O 76 SIT tU ee EE 77 JLS Mod ir e E E ad 77 SE e sted erase A 77 A EE 78 SA ADU EE 78 o O O A de sides Raa Rt cece ge 78 S23 Mode Iso acts wie EE 78 A A A hls lace toute tne 79 A A eier A E ale aes 79 LI e ea 79 A EE 80 SE EE 80 3 29 EN 80 A N 80 A O O i 81 List of Figures 1 1 User Manual for Embedded System Environment 1 Le Matt Window of ES EE 7 3 2 Desigh CAVAS iras 13 O 2008 CECS v User Manual for Embedded System Environment ESE Version 2 0 0 3 3 PE WII it 14 3 4 Channel WNdOW einer e egene Eege ee 21 3 3 Database WINdOW tl id id 25 DU en do 25 LOL GVA O a A
60. ed System Environment ESE Version 2 0 0 In the Channel Window side bar all the channels associated with each Bus and CE in the design are listed Every Bus and CE is represented as a tab in the Channel Win dow Unmapped channels are displayed in the Unmapped tab The Channel Window is displayed in Figure 3 4 Each Channel tab contains channels organized by channel categories Process Chan nels Memory Channels and FIFO Channels 3 4 1 Channel Window Process Channels Right clicking on the Process Channels category in the Channel Window opens a context menu pop up for the selected channel class The context menu for Process Channels contains two commands Add Channel Selecting Add Channel will open a dialog box for adding a channel The user is able to specify the new channel s properties in this dialog box see Section 4 3 4 Channel Mapping page 58 Remove All Process Channels Selecting Remove All Process Channels will remove all entities of the selected type from the tab see Section 4 3 4 Channel Mapping page 58 Right clicking on a channel under the Process Channels category in the PE Window opens a context menu pop up for the selected channel class The context menu for Pro cess Channels contains three commands Add Channel Selecting Add Channel will open a dialog box for adding a channel The user is able to specify the new channel s properties in this dialog box see Section 4 3 4 Channel Mapping page 58 Re
61. ed up and the PE adding operation will be aborted 4 3 3 2 CE Allocation f Design Description Models Figure 4 19 CE Allocation result Operation In order to allocate a CE users first select CE tab in the Database Window The CE tab contains the CE category table with each row representing one category of CEs in the database For example category Bridge includes all bridges supported with the database The EDS communication categories are Router Transducer and Bridge The user adds the CE component to the design s platform by dragging the desired EDS component from its category and dropping it into the Design Canvas This creates a CE O 2008 CECS 54 User Manual for Embedded System Environment ESE Version 2 0 0 in the Design Canvas with the default CE_name The Network Allocation adding a CE 1s shown in Figure 4 19 In the Channel Window list of tabs with currently allocated CEs will be shown Figure 4 19 Each tab lists the names of Process Channels Memory channels and FIFO channels belonging to that CE E TX Parameters Ei FIFO Scheduling MC TX FIFO Options TX Name ceo Size 1536 bytes 4 Shared 2 Split per Channel Channel Name size CH_DCT2MAIN 256 bytes CH_IMDCT2MAIN 256 bytes CH_JP_P1_P2 256 bytes Heip Cal cancer y Figure 4 20 CE Parameters dialog 2008 CECS 55 User Manual for Embedded System Environment ESE Version 2
62. ee Section 4 3 2 PE Mapping page 45 Set Memory Size Selecting Set Memory Size will allow the user to set the size of the entity under the Details column see Section 4 3 2 PE Mapping page 45 Right clicking on the Internal sub category under the Memories category in the PE Window opens a context menu pop up for the selected process class The context menu for Internal contains two commands Add Internal Memory Selecting Add Internal Memory will add a new instance of the selected entity see Section 4 3 2 PE Mapping page 45 Remove All Internal Memories Selecting Remove All Internal Memories will remove all entities of the selected type see Section 4 3 2 PE Mapping page 45 3 3 3 PE Window Channels Right clicking on the Channels category in the PE Window opens a context menu pop up for the selected channel class The context menu for Channels contains one com mand Remove Selected Channels Selecting Remove Selected Channels will remove all entities of the selected type see Section 4 3 2 PE Mapping page 45 Right clicking on the Process Channels sub category under the Channels category in the PE Window opens a context menu pop up for the selected channel class The context menu for Process Channels contains one command Remove Selected Channels Selecting Remove Selected Channels will remove all entities of the selected type see Section 4 3 2 PE Mapping page 45 2008 CECS 19 User Manual for Embed
63. en CH_CPU_LFIL_F C Figure 3 3 PE Window In the PE Window side bar all the processes source files local memories and local channels associated with each PE in the design are listed Every PE is represented as a tab in the PE Window Unmapped processes local memories and local channels are displayed in the Unmapped tab The PE Window is displayed in Figure 3 3 Each PE tab contains processes local memories and local channels The Processes category contains all processes for the PE If available each process displays associ ated Process Ports and Source Files Internal Memories and Exposed Memories are displayed under the Memories category The Channels category displays the PE s Process Channels Memory Channels and FIFO Channels 3 3 1 PE Window Processes Right clicking on the Processes category in the PE Window opens a context menu pop up for the selected processes The context menu for Processes contains two com mands Add Process Selecting Add Process will add a new instance of the selected entity see Section 4 3 2 PE Mapping page 45 2008 CECS 14 User Manual for Embedded System Environment ESE Version 2 0 0 Remove All Processes Selecting Remove All Processes will remove all entities of the selected type see Section 4 3 2 PE Mapping page 45 Right clicking on a process under the Processes category in the PE Window opens a context menu pop up for the selected process The conte
64. en the action of database selection will be cancelled Either clicking Open or Cancel button will close the Database Selection dialog 4 2 Design Handling Design handling deals with issues relating to manipulation of design and its corresponding files within ESE It allows for tracking of design meta data over the whole lifetime of a design A design contains design specific settings that can override or extend application specific compiler settings see Section 4 1 Application Preferences page 29 Specifically a design contains the following information Sources A list of source files The list of sources contains the union of all C and or SystemC source files from which the models that are part of the design have been compiled For each source file the location path of the file on disk is stored in the design 2008 CECS 32 User Manual for Embedded System Environment ESE Version 2 0 0 Compiler settings A set of design specific options for preprocessing and parsing SystemC source files Compiler settings contain include paths import paths compiler options and macro defines and undefines Design specific compiler settings generally overwrite or ex tend the corresponding application specific settings In the case of paths design paths are prepended to the standard paths defined in the application settings 1 e they are prepended to the directory search list In all other cases options or macro defines undefined are appe
65. eration name and gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name or gt 2008 CECS 108 User Manual for Embedded System Environment ESE Version 2 0 0 lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name xor gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name fptoui gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type FP ALU mode FPCvt gt lt StgRef gt lt Operation gt lt Operation name fptosi gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type FP ALU mode FPCvt gt lt StgRef gt lt Operation gt lt Operation name uitofp gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type FP ALU mode FPCvt gt lt StgRef gt lt Operation gt lt Operation name sitofp gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type FP ALU mode FPCvt gt lt StgRef gt lt Operation gt lt Operation name icmp gt lt StgRef name SINGLE flags COMMIT DEMAND gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name fcmp gt lt StgRef name SINGLE flags
66. ers the list of available routes between a Process and a Memory If the channel is Read only the dropbox Memory gt Process is the only one active for selection If the channel is Write only the active dropbox is Process gt Memory 2008 CECS 61 User Manual for Embedded System Environment ESE Version 2 0 0 FIFO Channel H Add Channel B Channel Options Channel Type FIFO Channel L Name Lou pre Size 100 3 Writer mp3_main Port fifo_write Reader jpeg_p3 Port fifo_read Mapping SHARED MEMORY Mapping Options Route CPU0 gt OPB gt PE0_M0 gt OPB gt CPU2 f Help Casa Cancel ZZ Figure 4 27 FIFO Channel dialog FIFO Channel is defined with the following parameters as shown in Figure 4 27 Ea Name line box defines a unique name identifier for the channel 2 Next the line box Size defines the storage capacity of the FIFO channel i e the depth of the FIFO queue 3 The sending process is defined with selection from the dropbox Writer and the corresponding i e writing process port can be selected from the dropbox Port 4 Similarly the reading process is defined by selecting from the dropbox Reader with the dropbox Port defining its reading port 5 Mapping line box allows the user to define whether the FIFO will be mapped to the WRITER PE or READER PE 6 Finally the dropbox Route gives the users the list of available rou
67. es interconnected with busses and CEs bridges transducers in order to generate a respective transaction level model TLM of the de sign During TL Modeling the designers allocate PEs and memories busses and CEs and connect them into an intergral system platform During mapping the designers map computation processes to the PEs and end to end communication channels to the net work of PEs CEs and busses Processes are units of computation in the specification The end to end channels connect processes to enable interprocess data exchange or con nect a process with the memory for data storing Specifically Transaction Level Model ing consists of the following tasks 1 PE Allocation to allocate and select PEs memories from the PE database in order to assemble the system s computing architecture see Section 4 3 1 PE Allocation page 42 2 PE Mapping to map the design s computation entities or processes to the selected PEs see Section 4 3 2 PE Mapping page 45 3 Network Allocation to allocate select and define the communication network topol ogy see Section 4 3 3 Network Allocation page 49 2008 CECS 41 User Manual for Embedded System Environment ESE Version 2 0 0 4 Channel Mapping to map the design s global system level channels to the selected network of PEs busses and CEs see Section 4 3 4 Channel Mapping page 58 5 TLM synthesis to automatically generate an Transaction Level Model from the give
68. gt 2008 CECS 90 User Manual for Embedded System Environment ESE Version 2 0 0 lt Operation name call gt lt function call gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type reg mode RdReg gt lt StgRef gt lt Operation gt lt Operation name br gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name add var_type int gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name add var_type float gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt 2008 CECS 91 User Manual for Embedded System Environment ESE Version 2 0 0 lt StgRef name ID flags
69. gt 0 00 result by ISS or branch FP e lt 100 00 virtual platform prediction 5 1 1 2 1 Pipeline Stage Model Pipeline stage model has a set of pointers to a functional unit that is available in that pipeline stage It consists of a set of pointers to functional unit model Please note that we can describe non pipelined datapath by defining only 1 stage inside of pipeline model For this please refer to the example of custom hardware in an Appendix B Table 5 10 Model Name Sub Models O 2008 CECS 74 User Manual for Embedded System Environment ESE Version 2 0 0 Name Sub Models FURef Table 5 11 Attribute Name Description Value Type Source Identifier for User defined me pipeline Identifier stage Pointer to functional unit model consists of type of functional unit and number of avail able functional units in the pipeline stage 5 1 1 2 1 1 Pointer to Functional Unit Model Table 5 12 Model Name Sub Models FURef ooo O Table 5 13 Attribute Name Description Value Name for type of a functional unit type Number of d functional units available in the pipeline stage 2008 CECS Type Source Datapath model Datapath model Type of a functional unit gt 1 lt the quantity of functional unit in Datapath model 75 User Manual for Embedded System Environment ESE Version 2 0 0 5 1 2 Execution Model Execution model consists of
70. hat all tasks performed are logged and warning messages are enabled respectively See Section 4 1 Application Preferences page 29 for more details about compiler settings Similarly the TEM Simulator tab includes the following options for output display of simulation Output No terminal Terminal window or outputting in the External console defined by users Further users can enable simulation logging by checking the appropriate check box Finally line edit boxes Simulation Options and Post simulation command define directives to the simulation engine during and after TLM simulation 4 2 8 Design Source Viewing File Edit Search View lt ESE API Version 0 1 0b gt lt DESIGN name mp3 _platform2 board V2 FF896 4 tim_compile_options 03 g Wall w tl i lt PE name CPU category PROCESSOR type MICROBLAZE icachesize 32K dcachesize lt LEAF name mp3_main cfiles timer c synth c stream c bit c decoder c fixed c lt PORT anchor CH_CPU_LPCM_F type S gt lt PORT anchor CH_CPU_LPCM_B type R gt lt PORT anchor CH CPU_RPCM_F type S gt lt PORT anchor CH_CPU_RPCM_B type R gt lt PORT anchor CH CPU LFIL_F type S gt lt PORT anchor CH CPU _LFIL_B type R gt lt PORT anchor CH _CPU_RFIL_F type S gt lt PORT anchor CH CPU_RFIL_B type R gt lt INTERFACE name m21pcr type SR send send PID m mainb Ip Ipcnr In lt INTER
71. he users can add source files c and h to the process by right clicking on the process listing and selecting Add C File s and Add H File s options respectively An Open dialog will be popped up see Figure 4 12 In this dialog users should first specify the file s directory in Look in box The content of the directory will be automatically displayed in the display box in the center The file s type in the File Type box defaults to C source files c or C header files n depending on the selected option All the source header files with the specified type will be displayed in the display box Users further type in the file name s in File Type box Finally by clicking Open button the file s with the specified name s will be selected If users click Cancel button then the action of database selection will be cancelled Either clicking Open or Cancel button will close the Open dialog Viewing Source File s of the Process EI Ifil_dct32 c read only ESE Design Viewer File Edit Search View Hi EA Hi ifdef sc F include fixed h El if defined OPT_SSO Be if MAD_F_FRACBITS 28 error MAD_F_FRACBITS must be 28 to use OPT_SSO endif define MLO hi lo x y lol x y define MLA hi lo x y lo x y define MLN hi lo lo lo define MLZ hi lo void hi mad _fixed_t lo define SHIFT x 0d gt gt 2 define PRESHIFT x MAD_F x 1L lt lt 13 gt gt 1
72. ize menu The available options in viewing the performance graph are as follows No Explode Medium Explode Heavy Explode No Explode is a default option for viewing a pie chart which differentiates the seperate slices of the pie by color alone Users can emphasize the separation be tween pie slices by selecting Medium or Heavy Explode which in addition to use of color injects extra space between pie slices Quantifying Bus Performance The bus performance in terms of idle time and times spent on fetching program in 2008 CECS 68 User Manual for Embedded System Environment ESE Version 2 0 0 structions data and data transfer can be quantified with a ratio their absolute values in clock cycles percentage values or with their respective labels Closing Performance Analysis Window The pie chart window is closed by selecting Main Window Close menu 4 6 3 CE Performance Analysis CE Performance Analysis graph is accessed with right clicking on the desired CE in the Design Canvas and selecting View Graph option This action pops up a pie chart of the selected CE s performance divided into the categories of time spent checking for process requests and time spent on storing and forwarding messages to and from the internal FIFO fifo_check and fifo_read_write respectively The pie chart can be customized by accessing Main Customize menu The available options in viewing the performance graph are as follows N
73. l Name Sub Models FURef 3 O Table 5 21 Attribute Name Description Value Type Source Pointer to a Name of a Datapath model type String functional unit functional unit Operati d EA e as Operation mode Datapath model mode for a functional String unit 5 1 3 Memory Model Memory model defines cache model and external memory model Current version of ESE can support one level cache in a memory sub system Table 5 22 Model Name Sub Models MemModel Cache Memory 5 1 3 1 Cache Model Current cache model is a statistical model The model specifies cache policy and its delay for an instruction cache and a data cache It also defines average cache hit ratio for a set of cache sizes Please note that cache policy is not used in current version of ESE now This attribute will be used when ESE supports a dynamic cache model O 2008 CECS 78 User Manual for Embedded System Environment ESE Version 2 0 0 Table 5 23 Model Name Sub Models InstCache DataCache Table 5 24 Attribute PR EES PERE D M d Cache policy A ae sing User Voie Delay for a Number of i_cache_delay instruction Data sheet Delay fi N f d_cache_delay SE Ge Int Data sheet data cache cycles 5 1 3 1 1 Instruction Cache Model Instruction cache model defines cache hit ratio for a cache size Table 5 25 Model Name Sub Models InstCache Table 5 26 Attribute Name Description V
74. lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name fcmp gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type FP ALU mode FPCmp gt lt StgRef gt lt Operation gt lt Operation name seteq gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt 2008 CECS 98 User Manual for Embedded System Environment ESE Version 2 0 0 lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name setne gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name setle gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt
75. lt xs attribute name 1_cache_delay type xs int gt lt xs attribute name d_cache_delay type xs int gt lt below is for cache which has no distinction btn i cache and d cache gt lt xs attribute name delay type xs string gt lt xs attribute name cache_size type xs string gt lt xs attribute name i_cache_ratio type xs float gt lt xs attribute name d_cache_ratio type xs float gt lt xs element name InstCache type InstCache minOccurs 0 maxOccurs unbounded gt lt xs attribute name 1_cache_size type xs string use required gt lt xs attribute name 1_cache_ratio type xs float use required gt lt xs element gt lt xs element name DataCache type DataCache minOccurs 0 maxOccurs unbounded gt lt xs attribute name d_cache_size type xs string use required gt lt xs attribute name d_cache_ratio type xs float use required gt lt xs element gt lt xs complexType gt lt xs element gt lt xs element name memory type Memory minOccurs 1 maxOccurs unbounded gt lt xs complexType gt lt xs attribute name w_delay type xs int use required gt lt xs attribute name r_delay type xs int use required gt lt xs complexType gt lt xs element gt lt xs complexType gt lt xs complexType name DPModel gt lt xs element name pipeline type Pipeline minOccurs 1 maxOccurs unbounded gt lt xs complexType gt lt xs attribute name
76. m Environment ESE Version 2 0 0 lt OperMode mode FPMult oplat 4 gt lt OperMode mode FPDiv oplat 12 gt lt OperMode mode FPSqrt oplat 24 gt lt FuncUnit gt lt DPModel gt lt ProcUnit gt lt ProcUnitModel gt C 3 Example XML for OPB lt BUS data_bus_width 32 arb_req_delay 1 arbitration_pipelining true address_data_pipelining true address_bus_ width 32 default_master true bus_lock true split_transactions false retry true retry_cycles 1 timeout true timeout_cycles 16 preemption true burst_mode true burst_mode_length 240 fefs true round_robin true priority true least_freq_used true gt 2008 CECS 113
77. move Channel s Selecting Remove Channel s will remove all selected entities of type see Section 4 3 4 Channel Mapping page 58 2008 CECS 22 User Manual for Embedded System Environment ESE Version 2 0 0 Properties Selecting Properties will open a properties dialog box for the selected entity from the process The user is able to modify port and route properties in this dialog box 3 4 2 Channel Window Memory Channels Right clicking on the Memory Channels category in the Channel Window opens a context menu pop up for the selected channel class The context menu for Memory Channels contains two commands Add Channel Selecting Add Channel will open a dialog box for adding a channel The user is able to specify the new channel s properties in this dialog box see Section 4 3 4 Channel Mapping page 58 Remove All Memory Channels Selecting Remove All Memory Channels will remove all entities of the selected type from the tab see Section 4 3 4 Channel Mapping page 58 Right clicking on a channel under the Memory Channels category in the PE Window opens a context menu pop up for the selected channel class The context menu for each channel contains three commands Add Channel Selecting Add Channel will open a dialog box for adding a channel The user is able to specify the new channel s properties in this dialog box see Section 4 3 4 Channel Mapping page 58 Remove Channel s Selecting Remove Channel s will
78. n 4 3 2 PE Mapping page 45 Right clicking on the FIFO Channels sub category under the Channels category in the PE Window opens a context menu pop up for the selected channel class The context menu for FIFO Channels contains one command 2008 CECS 20 User Manual for Embedded System Environment ESE Version 2 0 0 Remove Selected Channels Selecting Remove Selected Channels will remove all entities of the selected type see Section 4 3 2 PE Mapping page 45 Right clicking on a channel under the FIFO Channels sub category in the PE Window opens a context menu pop up for the selected channel class The context menu for each channel contains two commands Remove Channel s Selecting Remove Channel s will remove all selected entities of type see Section 4 3 2 PE Mapping page 45 Properties Selecting Properties will open a properties dialog box for the selected entity from the process The user is able to modify port mapping and route properties in this dialog box 3 4 Channel Window Unmapped DH lora ma Channel Source Process Channels FOCcH_CPU_RFIL_B rfil_dct32 n O 2008 CECS FOCcH_CPU_RFIL_F mw CH_CPU_LFIL_B mw CH_CPU_LFIL_F FOCcH_CPU_RPCM_B FOCH_CPU_RPCM_F FOCcH_CPU_LPCM_B 0 CH_CPU_LPCM_F mp3_main r Ifil_det32 mp3_main l rpem_imdct36 n mp3_main r Ipem_imdct36 n mp3_main ly f Ru u MA Figure 3 4 Channel Window User Manual for Embedd
79. n specification based on the decision made during the allocation of components and application to platform mapping see Section 4 4 TLM Synthesis page 63 In order to perform TL Modeling not all the tasks described in previous sections need to be done However some tasks must be executed and must be executed in a certain order These mandatory tasks and their execution sequence are 1 Design Creation or Design Opening Preferences Editing and Design Settings Editing PE Allocation PE Mapping Network Allocation Channel Mapping TLM Synthesis on Nn On A N Design Saving and or ESE Exiting Note that steps 3 through 7 can be performed repeatedly in a loop in order to generate multiple candidate TL models in one design modeling session 2008 CECS 42 User Manual for Embedded System Environment 4 3 1 PE Allocation B design design sir Hierarchy Channels Figure 4 9 PE Allocation result ESE Version 2 0 0 Users can select PEs memories out of the PE database in order to allocate and assemble the system architecture PE allocation information is stored in the design itself eds as an annotated Data Structure component O 2008 CECS 43 User Manual for Embedded System Environment ESE Version 2 0 0 File Edit View Project Synthesis Validation Windows CACY Ie ass pee e 10 SE Design Description Figure 4 10 PE Parameters dialog Operation In order t
80. name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name or gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name xor gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt 2008 CECS 96 User Manual for Embedded System Environment ESE Version 2 0 0 lt StgRef name EX flags COMMIT gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name fptoui gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type FP ALU mode FPCvt gt lt StgRef gt l
81. nce of this parametrized type Clicking the Cancel button aborts component parametrization In order to remove a PE from the design s platform users can right click on the target PE to be removed in the Design Canvas and select the Remove PE option Clicking on the Remove PE will remove the selected PE from the list of allocated PEs Error Information Messages During PE editing if users try to give PEs a name which 1s already used as the name of another PE in the design an Error dialog will be popped up with a corresponding error message and a query to continue without saving changes Answering no will close the Error dialog Answering yes will abort and cancel the PE Parameters editing operation During PE adding when adding a PE the selected PE type is read from the database In case of errors during database opening e g file errors or wrong file format an Error dialog will be popped up and the PE adding operation will be aborted 4 3 2 PE Mapping In order to implement the computation in the design model on the allocated computation architecture consisting of PEs and memories users have to be able to map the processes variables memory and channels in the specification onto the allocated PEs Hence mapping consists of separate process mapping memory mapping and channel mapping tasks 4 3 2 1 Process Mapping Process mapping allows for mapping of process types classes in the design onto al located PEs i e proces
82. nded to the compiler command line after the standard options and macros defined in the application settings Designs are stored as ESE Data Structure EDS eds files on disk The design file format is the same for all tools in the ESE environment i e a design file can be read modified and written by any ESE tool Design can be read from and saved as design files at any time in the ESE application At any time however at maximum only one design can be open and loaded While a certain design is open and loaded its settings apply to all actions performed during that time In addition certain actions will automatically update and add data in the currently opened and loaded design Note All paths in the design settings are defined to be relative to the location of the design file i e relative paths in a design file are converted into absolute paths by appending the design file s directory during loading opening of a design file During saving writing of design files absolute paths are in turn converted back to relative paths if they point to a location below the target design file directory In order to deal with management of design files ESE supports a set of file handling functions Design handling includes opening saving and closing of design files on disk Design handling is closely related to Design Canvas Section 3 2 Design Canvas page 12 and Design Canvas Management Section 4 7 Window Management page 69 In general there
83. o Explode Medium Explode Heavy Explode No Explode is a default option for viewing a pie chart which differentiates the seperate slices of the pie by color alone Users can emphasize the separation be tween pie slices by selecting Medium or Heavy Explode which in addition to use of color injects extra space between pie slices Quantifying CE Performance The bus performance in terms of times spent on checking the internal FIFO and reading from and writing into the FIFO can be quantified with a ratio their absolute values in clock cycles percentage values or with their respective labels Closing Performance Analysis Window The pie chart window is closed by selecting Main Window Close menu O 2008 CECS 69 User Manual for Embedded System Environment ESE Version 2 0 0 4 7 Window Management Window management deals with the management of Design Windows in the Workspace Window management allows for closing resizing and arranging of multiple simultane ously opened Design Windows within the Workspace Specifically the tasks for window management are Window Closing Users can close the currently active Design Canvas in the Workspace by selecting Main Window Close In addition any of the Design Windows can be closed by clicking on a respective icon in the window s title bar Users can close all the currently opened Design Canvass in the Workspace by se lecting Main Window Close All In all cases clo
84. o do PE allocation users first select Processing tab in the Database Window The Processing tab contains the PE category table with each row represent ing one category of PEs in the database For example row SW Processors contains all the general purpose processors in the database The supported EDS categories are Hardware IPs Custom Hardware or SW Processor The users add the PE to the design s platform by dragging the desired EDS component from its category and dropping it into the Design Canvas This creates a PE in the Design Canvas with the default PE_name The result of a PE Allocation action is shown in Figure 4 9 In the PE Window list of tabs with currently allocated PEs will be shown Figure 4 9 Each tab lists the names of Processes Memories and Channels belonging to that PE PEs can be parametrized after instantiation by right clicking on the component in the Design Canvas The Component Parameter dialog will be popped up see Figure 4 10 In this dialog the users can enter and confirm all parameters for the given component instance to be allocated Users can enter any value for any parameter within the value O 2008 CECS 44 User Manual for Embedded System Environment ESE Version 2 0 0 range allowed by the component by clicking into each parameter s value field in the dialog Clicking the Ok button of the dialog will generate a new customized compo nent type with the selected parameters and will then allocate a new insta
85. o recommend users to save the previ ous design first and if the recommendation is accepted a Design Saving action will be performed This is the same as the case in task Section 4 2 1 Design Creation page 34 4 2 3 Design Saving Save As Lookin mo eseDemoFiles examples mp3_platform2 lt 2 les se cvs fi mp3_platform2_partial_srcs a mp3_platform2_srcs est o mp3_platform2_partial eds File name mp3_platform2 eds Csm File type ESE Design Files eds Y Cancel A Figure 4 5 Design Save dialog Operation Users can save opened and loaded design files Design Windows in the Workspace by one of the following three methods 1 Selecting Main File Save will save the file of the currently active Design Win dow using its current name 2 Users can save the file of the currently active Design Canvas under any new name by selecting Main File Save As The selection will pop up the Design Save dialog in which users can choose the directory and file name to save the design under The Design Save dialog is shown in Figure 4 5 In the File Save dialog users should first specify the directory of the file in Look in box The content of directory will be automatically displayed in the display box in the center The file type defaults to EDS files eds All the files with the O 2008 CECS 36 User Manual for Embedded System Environment ESE Version 2 0 0 spe
86. ocessing elements PEs bridges and buses can be connected using ports The mapping of the procesess to PEs and channels to buses routes can also be done easily in the GUI The TLM generation tools can be used to verify both the functional correctness of the design and to accurately estimate the performance Various statistics are generated automatically by the tied TLM simulation These statistics can be viewed graphically using the GUI 2008 CECS 2 User Manual for Embedded System Environment ESE Version 2 0 0 Chapter 2 Usage In the following sections the general usage of the ESE application will be outlined Followed by a description of basic formatting conventions used throughout the manual information pertinent to running the ESE application will be provided 2 1 Manual Conventions The following style and formatting conventions are used throughout the text of this man ual to refer to commands actions or GUI elements Command Refers to a command or other data input typed in and entered by the user Message Refers to a log or other text message produced by the ESE application on the screen Key Refers to a key that a user can press on the keyboard Label Refers to a button menu or any other general label in the GUI of the ESE main application Win Sub Refers to a sub item inside one of the parts of the ESE application main window Win refers to one of the following parts of the application main window see
87. ol gt lt xs attribute name control_phase_length type xs int gt lt xs attribute name address_data_pipelining type xs bool gt lt xs complexType gt 2008 CECS amp 8 User Manual for Embedded System Environment ESE Version 2 0 0 Appendix C Example XMLs This appendix contains a full XML stylesheet for PE Data Model C 1 Example XML for MicroBlaze lt ProcUnitModel version 0 0 1 gt lt ProcUnit type MICROBLAZE gt lt ExecModel sched PIPELINE gt lt Operation name ret gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type reg mode RdReg gt lt StgRef gt lt Operation gt lt Operation name malloc gt lt allocate memory from system heap gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type reg mode WrReg gt lt StgRef gt lt Operation gt lt Operation name free gt lt returns memory back to system heap gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt
88. r Manual for Embedded System Environment ESE Version 2 0 0 Synthesis gt Select Board Selecting Select Board presents a sub menu which allows selection of the board to which the current design can be synthesized Synthesis gt Synthesize to Board Selecting Synthesize to Board synthesizes the current design onto the selected board Synthesis gt Stop Selecting Stop stops any running generation and synthesizing processes for the current design 3 1 5 Validation Menu The Validation menu contains four commands Validation Simulate Functional TLM Selecting Simulate Functional TLM simulates the functional tlm for the current design see Section 4 5 1 Simulate Functional TLM page 64 Validation Simulate Timed TLM Selecting Simulate Timed TLM simulates the timed tlm for the current design see Section 4 5 2 Simulate Timed TLM page 64 Validation Kill Simulation Selecting Kill Simulation presents a sub menu allowing the selection of which active simulation to terminate from the current design Validation View Log Selecting View Log shows the log of the current design 2008 CECS 11 User Manual for Embedded System Environment ESE Version 2 0 0 3 1 6 Windows Menu The Windows menu contains two commands Windows gt 0Output Window Selecting Output Window will display or undisplay the Output Window see Section 3 6 Output Window page 25
89. re extremely fast TLMs can be generated and simulated in minutes This allows fast and early exploration of various design options with ESE The ESE provides an environment for modeling estimation and validation It includes a graphical user interface GUT and a set of tools to facilitate the design flow and perform 2008 CECS 1 User Manual for Embedded System Environment ESE Version 2 0 0 the aforementioned optimization steps The two major components of the GUI are the Design Decision Interface DDI and the Validation User Interface VUD The DDI allows designers to make and input design decisions such as allocation of HW and SW components in the platform and the mapping of application to the platform With design decisions made TLM generation and estimation tools can be invoked to generate functional and timed TLMs The VUI allows the simulation of all TLMs using the OSCI SystemC simulator to validate the design at each stage of the design flow With the assistance of the GUI and automatic TLM generation tools it is relatively easy for designer to step through the design process With the editing browsing and algorithm selection capability provided by the GUI the C application processes can be efficiently captured by designers Communication channels between the application processes can be created using an intuitive channel wizard The HW platform can be allocated easily by simple drag drop of components from the database The pr
90. rmance in terms of idle time and times spent on communication and computation can be quantified with a ratio their absolute values in clock cycles percentage values or with their respective idle comm comp labels Closing Performance Analysis Window The pie chart window is closed by selecting Main Window Close menu 4 6 2 Bus Performance Analysis y DHB Chart Lek Window Customize DHB Legends idle data transfer Z Figure 4 31 Bus Performance Analysis dialog 2008 CECS 67 User Manual for Embedded System Environment ESE Version 2 0 0 vj data_transfer Chart Lek Window Customize data transfer Legends Ea CH IMDCT2MAIN IT CH DCT2MAIN CH MAIN2DCT E CH MAIN2IMDCT Figure 4 32 Bus Data Transfer Analysis dialog Bus Performance Analysis graph is accessed with right clicking on the desired bus in the Design Canvas and selecting View Graph option This action pops up a pie chart of the selected bus performance divided into the categories of idle time time spent on fetching instruction data if the Program Data is stored in the external memory and time spent on transferring messages between processes idle Program Data data transfer respectively The bus performance pie chart is shown in Figure 4 31 By clicking on the Data Transfer slice the breakdown of the data transfer by channels is shown see Figure 4 32 The pie chart can be customized by accessing Main Custom
91. rmation Messages There are several errors that can happen during bus or CE allocation 1 When adding a bus or CE to the allocation via the Bus or CE Selection dialog the selected bus CE type is read from the database In case of database read errors file errors database format errors during this operation an Error dialog will be popped up and the Bus CE Adding operation aborted 2 In addition if during port name editing users try to give ports a name which is already used as the name of another port of the same PE CE a corresponding Error dialog will be shown and the renaming operation is cancelled O 2008 CECS 63 User Manual for Embedded System Environment ESE Version 2 0 0 4 4 TLM Synthesis 4 4 1 Generate Functional TLM Generation of the functional TLM includes generating SystemC code for the created design compiling and linking the design files into an executable t 1m binary The code generation is started by selecting Main Synthesis gt Generate Timed TLM option in the main menu 4 4 2 Generate TLM Generation of the timed TLM includes generating SystemC code annotated with the es timated values of execution time for computation and communication compiling and linking the design files into an executable t 1m The code generation is initiated by se lecting Main Synthesis Generate Timed TLM 4 5 TLM Validation 4 5 1 Simulate Functional TLM Simulation of the functional TLM is started by selecting Main
92. s mapping information is stored as annotations at the process classes in the design A process is mapped to the PE by right clicking on the corre sponding PE tab in the PE Window and selecting Add Process option This creates a process listing in the PE tab with the default process name Process mapping informa tion consists of proces name source files and process ports and it can be accessed for editing with right clicking on the process listing 2008 CECS 45 User Manual for Embedded System Environment ESE Version 2 0 0 Process Renaming B design design sir Naro 900 Mapping gb B1 g b23 B23 il b23 B23 MB b2B2 bs Bs Hierarchy Behaviors Channels Figure 4 11 Process Renaming dialog Process renaming is accessed by right clicking on the process listing and selecting Rename Process option The process name line box can be edited until key Enter is pressed Process renaming is shown in Figure 4 11 Adding Source File s to the Process EI Open Look in 83 usersidemo eseDemoFiles examples c_files Ny lt a el ck les al a layer3 c D MP3Main c a stream c 0O decoder c a synth c a fixed c a timer c O frame c L huffman c LI layer12 c File name oito Coen File type C Source File c Ni Cancel Figure 4 12 Adding Sources to a Process C File dialog 2008 CECS 46 User Manual for Embedded System Environment ESE Version 2 0 0 T
93. sing a Design Canvas triggers a file closing action for the corre sponding design file see Section 4 2 5 Design Closing page 37 Window Arranging Users can automatically arrange Design Canvass in the Workspace in a variety of manners Selecting Main Window Tile will rearrange the Design Canvass in the Workspace in a tiled fashion Selecting Main Window Cascade will rearrange the Design Canvass in the Workspace in a cascaded manner Apart from that windows can be freely resized and moved within the Workspace by dragging their title bar or borders In addition users can maximize and minimize Design Windows by clicking on a respective icon on the window s title bar Window Switching Selecting Main Window Next or Main Window Previous will switch the focus to and activate the next previous Design Window in the list of opened win dows Using these actions users can cycle through the list of windows Design Windows are ordered in the window list according to the order in which they were opened In addition users can activate and raise any of the opened Design Windows by clicking into the window Finally the bottom of the Main Window menu contains entries for all currently opened Design Windows Selecting any of these menu entries will activate and raise the corresponding Design Canvas 2008 CECS 70 User Manual for Embedded System Environment ESE Version 2 0 0 Window Toggling Selecting Main Window
94. ss Channels Memory channels and FIFO 2008 CECS 50 User Manual for Embedded System Environment ESE Version 2 0 0 channels belonging to that bus Bus Parameters Figure 4 16 Bus Parameters dialog Busses can be parametrized after instantiation by right clicking on the bus compo nent in the Design Canvas The Component Parameter dialog will be popped up see Figure 4 16 In this dialog the user has to enter and confirm all parameters within categories of Arbitration Addressing and Synch Transfer for the given bus component instance For example addressing the components connected to the bus is done within the tab Addressing see Figure 4 17 Users can enter values for Low and High Address for any component a Channel CE port or a Memory by clicking into each parameter s value field in the dialog To set the synchronization type for each channel the user has to click on the Sync Transfer tab see Figure 4 18 Here synchronization and packeti O 2008 CECS 5I User Manual for Embedded System Environment ESE Version 2 0 0 zation options are set per channel Bus Parameters jpeg_p1 0x20000000 mp3_main 0x20000000 CH_DCT2MAIN 0x00008000 CH_IMDCT2MAIN 0x00008000 CH_JP_P1_P2 0x0000A000 0x80000000 Figure 4 17 Bus Addressing dialog 2008 CECS 52 User Manual for Embedded System Environment ESE Version 2 0 0 wl Bus Parameters E Arbitration Addressing Sync Transfer CH_MAIN2IMDCT CH_IMD
95. ssages will be displayed and the design saving action will be cancelled 4 2 5 Design Closing Operation Users can close the file and window of the currently active Design Window in the Workspace by selecting Main File gt Close Closing a file will unload the design from memory and will close the corresponding Design Canvas in the Workspace Error Information Messages If the current design is modified and not yet saved selecting Close will pop up an Information dialog which recommends to save the 2008 CECS 37 User Manual for Embedded System Environment ESE Version 2 0 0 current design first If the users accept the recommendation a design saving action Section 4 2 3 Design Saving page 36 is performed before closing the design 4 2 6 Design Exporting lv Save As x Look in E2 mo eseDemoFiles examples mp3_platiorm2 d el el el KS Se a EG a mp3_platform2_partial_srcs a mp3_platform2_srcs eet File name mp3_platform2 File type ESE Exported Design Files tbz Y Cancel Za Figure 4 6 Design Export dialog Operation Users can export opened and loaded design files Design Window as com pressed archive file tbz on disk by selecting Main File gt Export The selection will pop up the Design Export dialog in which users can choose the directory and file name to save the design under The Design Export dialog is shown in Figure 4 6 In the Design Export dialog
96. t Operation gt lt Operation name fptosi gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type FP ALU mode FPCvt gt lt StgRef gt lt Operation gt lt Operation name uitofp gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type FP ALU mode FPCvt gt lt StgRef gt lt Operation gt lt Operation name sitofp gt 2008 CECS 97 User Manual for Embedded System Environment ESE Version 2 0 0 lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type FP ALU mode FPCvt gt lt StgRef gt lt Operation gt lt Operation name icmp gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt
97. t DPModel gt lt Pipeline name default br_pred_policy TAKEN br_pred_hit_ratio 100 00 br_penalty 0 lt Stage name SINGLE gt lt FURef type reg quantity 32 gt lt FURef type mem Port quantity 1 gt lt FURef type int ALU quantity 1 gt lt FURef type int Mult Div quantity 1 gt lt FURef type logic SHIFT quantity 3 gt lt FURef type FP ALU quantity 1 gt lt FURef type FP Mult Div quantity 1 gt lt Stage gt lt Pipeline gt lt FuncUnit type reg quantity 32 gt lt OperMode mode RdReg oplat 1 gt lt OperMode mode WrReg oplat 1 gt lt FuncUnit gt lt FuncUnit type mem Port quantity 1 gt lt OperMode mode RdPort oplat 1 gt lt OperMode mode WrPort oplat 1 gt lt FuncUnit gt lt FuncUnit type int ALU quantity 1 gt lt OperMode mode IntALU oplat 1 gt lt FuncUnit gt lt FuncUnit type int Mult Div quantity 1 gt lt OperMode mode IntMult oplat 3 gt lt OperMode mode IntDiv oplat 20 gt lt FuncUnit gt lt FuncUnit type logic SHIFT quantity 3 gt lt OperMode mode shift oplat 1 gt lt FuncUnit gt lt FuncUnit type FP ALU quantity 1 gt lt OperMode mode FPAdd oplat 2 gt lt OperMode mode FPCmp oplat 2 gt lt OperMode mode FPCvt oplat 2 gt lt FuncUnit gt lt FuncUnit type FP Mult Div quantity 1 gt 2008 CECS 112 User Manual for Embedded Syste
98. t Variables HOME Determines the location of the user s home directory and consequently the default path to the file with user specific application preferences SHOME ese eserc ESERC_PATH Determines the list of directories where files serrc with user specific application preferences are stored Multiple directories can be provided separated by colons Directories are searched for and preference files are read in the given order 1 e preference files in later directories can override settings in earlier ones Modified preferences will be written to the first directory in the list that is writeable by the user If ESERC_PATH is not set the location directory of the user specific serrc file defaults to SHOME ese 2008 CECS 5 User Manual for Embedded System Environment ESE Version 2 0 0 O 2008 CECS 6 User Manual for Embedded System Environment ESE Version 2 0 0 Chapter 3 Main Window mp3_platform2 eds ESE Environment File Edt View Synthesis Validation Windows AFI RPCM Dn DHO CH CPU IL amp CH CPU LI E CH cru LFIL BIC ep LFILF ors Unmapped DH ora mx Channel Source DA Process Channels CcrH_CPU_AFL_B a dem ni OCH CEU DEL E pi man r H CEU BECH E mp t CH_CPU_LPO wem _imdet36 n c n o tii Processing Communication Memory Hardware IPs i DOT32 B Conpiie simio very analyze Renne s
99. tes between two processes Since FIFO channel is by definition unidirectional only one O 2008 CECS 62 User Manual for Embedded System Environment ESE Version 2 0 0 dropbox defines the route Reviewing Channel Properties After creating a channel users can access channel properties by right clicking on the listing of the channel whose properties they wish to review and selecting Proper ties option Channel listings Process Channels Memory Channels and FIFO Chan nels for are located in the Channel Window Removing a Channel Users can remove created channels by right clicking on the channel listing in the Channel Window and selecting Remove Channel option This action releases all the ports that were assigned to the removed channel In order to add a defined channel to the design users can edit the listed channel pa rameters and click the Add button If users click Cancel button then all unsaved user selections will be cancelled Either clicking the Add or Cancel button will close the Add Channel dialog Every channel connected to a system bus must be assigned an address range Base ad dresses and address masks define the address space occupied by the channel on the bus 1 e they define the address decoding to be performed for that channel Note that address ranges will later be used for automatic address selection during bus parameter assign ment The addresses of channels mapped to the same bus must not overlap Error Info
100. they are persistent across invocation of different tools at different times Application preferences are stored in both system wide and user specific locations see Section 4 2 7 Design Settings Editing page 39 System wide application preferences affect all users of ESE applications on the system User specific application preferences on the other hand are stored in a file in the user s Linux home directory The application first reads the system wide and then the user specific settings 1 e user specific settings can override if given system wide settings and if no user specific settings are given application settings default to the system wide settings If no system wide settings are available compiled in defaults are used Application preferences in general provide the standard settings paths etc to use by default for the different parts of ESE applications Application preferences can be edited by the user by selecting Main Edit gt Preferences This will pop up the Edit Preferences dialog which allow users to browse and specify individual settings At the bottom of the Edit Preferences dialog buttons Ok and Cancel are available If users click the Ok button all the edited preferences are saved If users click the Cancel button all the edited preferences are discarded Either clicking Ok or Cancel button will close Preference dialog 2008 CECS 29 User Manual for Embedded System Environment ESE Version 2 0 0
101. tomize ipeg pi Legends sl chendcteven ReadBmpBlock ReadBmpHeader local code i L Figure 4 30 Process Computation graph dialog PE Performance Analysis graph is accessed with right clicking on that PE in the De sign Canvas and selecting View Graph option This action pops up a pie chart of the selected PE s performance divided into the categories of idle time Real Time Oper ating System RTOS overhead time time spent on communication and time spent on computation idle RTOS comm comp respectively The PE performance pie chart is shown in Figure 4 28 By clicking on the computation slice another pie chart is shown see Figure 4 29 It displays the processes slice in the PE computation time By further O 2008 CECS 66 User Manual for Embedded System Environment ESE Version 2 0 0 clicking on a process the user can see the different functions which compose the pro cess see Figure 4 30 The pie chart can be customized by accessing Main Customize menu The available options in viewing the performance graph are as follows No Explode Medium Explode Heavy Explode No Explode is a default option for viewing a pie chart which differentiates the seperate slices of the pie by color alone Users can emphasize the separation be tween pie slices by selecting Medium or Heavy Explode which in addition to use of color injects extra space between pie slices Quantifying PE Performance PE s perfo
102. type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name shr gt lt shift gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name Ishr gt lt logical shift gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name ashr gt lt arithmetic shift gt lt StgRef name IF gt 2008 CECS 95 User Manual for Embedded System Environment ESE Version 2 0 0 lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int ALU mode IntALU gt lt StgRef gt lt Operation gt lt Operation name and gt lt StgRef
103. usses and commu nication elements CEs The end to end channels that implement communication be tween processes are then mapped to the routes of busses and CEs connecting those processes Hence network allocation consists of separate bus allocation CE allocation network connecting and channel mapping tasks 2008 CECS 49 User Manual for Embedded System Environment ESE Version 2 0 0 4 3 3 1 Bus Allocation File Edit View Project Synthesis Validation Windows De T oho m X By Ate be AAA AAA AA Design Description Models 2 Compile Laus Analyze Reme Shell Figure 4 15 Bus Allocation result Operation In order to allocate a bus users first select Communication tab in the Database Window The Communication tab contains the communication category table with each row representing one category of communication media in the database For example category Bus includes all busses supported with the database The EDS communication categories are Network Bus and Link The user adds the communication component to the design s platform by dragging the desired EDS component from its category and dropping it into the Design Canvas This creates a bus in the Design Canvas with the default Bus_name The result of a Network Allocation adding a bus action is shown in Figure 4 15 In the Channel Window list of tabs with currently allocated busses will be shown Figure 4 15 Each tab lists the names of Proce
104. ut Wide EN e ESATE IEEE pared 25 DIMES SACS O 26 De a bis Eror nal OWS cacti e e e 26 3 1 2 Oe RE EE 27 4 Funciona aia ds cd idad 29 cl Application Preferences stat 29 4 1 1 Application Preferences italia 29 4 23 Desren Handling ccc cose AA E AA ene eek 32 4 2 1 Design Creation ti ins 34 4 2 2 Desi OPENT A EESE 34 SE ER 36 4 24 ie em Reloagine edel 37 ER A A EE 37 2008 CECS iii User Manual for Embedded System Environment ESE Version 2 0 0 42 0 Design Export di 38 4 21 Desi n Settings Editing a 39 4 28 Desis Source VISIO ira es 40 42O ESE E 41 4 3 Transaction Level Modeling w 33 cescscssavavccscessneccdasaassasecasavessecesueneensectveeaeseceseas 41 E BR EE EE 42 43 2 PES INT APPIN EE 45 A352 Network Ee KEE 49 4 3 4 Channel Mapping omo iii isa 58 4 4 TEM A pteaidind du vas ies day Suxelea use Sea ERR sate loo a twee 63 4 4 1 Generate Functional TLM scccsscscssscessssssnscsssecessceeseseeorneseeees 64 442 A E WE 64 AS ELM Valido in a lees dae 64 4 5 1 Simulate Functional TLM jj sisis sissccstnsessacedesegssdecsastescaceasgasvcasaversaseainees 64 4 5 2 Simulate Timed TLM EE 64 AG Performance EE 64 4 6 1 PE Performance Analysis ba 65 4 6 2 Bus Performance Analysis a vdeegteutgeeEeE toi cid 67 4 6 3 CE Performance Analysis AS is 69 AT Window Management siostre id 69 S KN d e e TE 72 5 1 Processing Element PE Data Model coords 72 SL DapapathisWl EE 12 5 1 2 Ex
105. v gt lt StgRef gt lt Operation gt lt Operation name urem gt lt returns remainder of a division gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int Mult Div mode IntDiv gt lt StgRef gt lt Operation gt lt Operation name srem gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt lt FURef type int Mult Div mode IntDiv gt lt StgRef gt lt Operation gt lt Operation name frem gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef type InstDecode mode DEFAULT gt lt StgRef gt lt StgRef name EX flags COMMIT gt 2008 CECS 94 User Manual for Embedded System Environment ESE Version 2 0 0 lt FURef type FP Mult Div mode FPDiv gt lt StgRef gt lt Operation gt lt Operation name shl gt lt shift gt lt StgRef name IF gt lt FURef type InstFetch mode DEFAULT gt lt StgRef gt lt StgRef name ID flags DEMAND gt lt FURef
106. xs complexType gt lt xs element gt lt xs complexType gt 2008 CECS 87 User Manual for Embedded System Environment ESE Version 2 0 0 Appendix B XML stylesheet for Bus Models lt xs complex Type name BUS gt lt xs attribute name type type IdentName gt lt xs attribute name address_bus_width type xs int gt lt xs attribute name data_bus_width type xs int gt lt xs attribute name max_number_masters type xs int gt lt xs attribute name fcfs type xs bool gt lt xs attribute name round_robin type xs bool gt lt xs attribute name priority type xs bool gt lt xs attribute name least_freq_used type xs bool gt lt xs attribute name arbitration_pipelining type xs bool gt lt xs attribute name arb_req_delay type xs int gt lt xs attribute name default_master type xs bool gt lt xs attribute name split_transactions type xs bool gt lt xs attribute name retry type xs bool gt lt xs attribute name retry_cycles type xs int gt lt xs attribute name timeout type xs bool gt lt xs attribute name timeout_cycles type xs int gt lt xs attribute name preemption type xs bool gt lt xs attribute name master_abort type xs bool gt lt xs attribute name bus_lock type xs bool gt lt xs attribute name burst_mode type xs bool gt lt xs attribute name burst_mode_length type xs int gt lt xs attribute name control_phase type xs bo
107. xt menu for each process contains eight commands Rename Process Selecting Rename Process will rename the selected entity see Section 4 3 2 PE Mapping page 45 Add Process Selecting Add Process will add a new instance of the selected entity see Section 4 3 2 PE Mapping page 45 Remove Process es Selecting Remove Process es will remove all entities of the selected type see Section 4 3 2 PE Mapping page 45 Add C File s Selecting Add C File s will add a new source file of the specified type see Section 4 3 2 PE Mapping page 45 Add H File s Selecting Add H File s will add a new source file of the specified type see Section 4 3 2 PE Mapping page 45 Remove All Source File s Selecting Remove All Source File s will remove all entities of the selected type from the process see Section 4 3 2 PE Mapping page 45 Add Process Port Selecting Add Process Port will add a new instance of the selected entity to the process see Section 4 3 2 PE Mapping page 45 2008 CECS 15 User Manual for Embedded System Environment ESE Version 2 0 0 Remove All Process Port s Selecting Remove All Process Port s will remove all entities of the selected type from the process see Section 4 3 2 PE Mapping page 45 Right clicking on Process Ports under a Process in the PE Window opens a context menu pop up for the selected process ports The context menu for Process Ports con tains two commands Add Process
108. ynmesize snen Custom Hardware D NSC Fons SW Processor Lanmo Ready Figure 3 1 Main Window of ESE The primary GUI of ESE is the Main Window which is displayed in Figure 3 1 The Main Window consists of eight parts 1 A Menu Bar that contains seven columns of commands Each column is a drop down menu 2 A Tool Bar that contains a list of short cut icons Each icon represents a command in the menu bar 3 A PE Window that contains the current design s PE s 4 A Channel Window that contains the current design s busses and channels 2008 CECS 7 User Manual for Embedded System Environment ESE Version 2 0 0 5 A Database Window that contains the current database s available components 6 A Design Canvas that contains the graphical representations of the objects of the current design 7 An Output Window 8 A Status Bar that displays the current status of ESE such as Loading Or Ready In this section we introduce organization related and display related details of Menu Bar PE Window Channel Window Database Window Design Canvas and Output Win dow Some windows contain drop down menus or pop up menus The menus further contain design commands The usage and functionality behind the commands will be described later 3 1 Menu Bar The Menu Bar contains seven main menu entries File Edit View Synthesis Valida tion Windows

Download Pdf Manuals

image

Related Search

Related Contents

2534 Handleiding Samsung S3 mini ENG  LUCIA®  GRYP 3 - M-Jardin.fr  Craftsman 917.377991 Owner`s manual  取付・取扱説明書 集合郵便受  RAPAd® miRNA Adenoviral Expression System  User manual fire alarm – Apartment version  2.3 Centrale KITPTTECH  Topics Entertainment Instant Immersion Translator Deluxe v2.0  Cresta BPM610  

Copyright © All rights reserved.
Failed to retrieve file