Changes between Version 5 and Version 6 of VMdocumentation


Ignore:
Timestamp:
Apr 5, 2020, 10:14:18 PM (4 years ago)
Author:
genius
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VMdocumentation

    v5 v6  
    75752.1) proceed as in 1.1
    7676
    77 2.2) Generation of software application code (from AVATAR model)
     772.2) Go to the Avatar Deployment Panel. Click on the Syntax Analysis icon in the main toolbar (19th from the left). The application diagram is read in and syntax-checked, the deployment diagram is read in.
    7878
    79 Go to the Avatar Deployment Panel.
    80 Click on the Syntax Analysis icon in the main toolbar. The Avatar model is read in and syntax analysis of the block and state machine diagrams is performed.
     792.3) Click on the Syntax Analysis icon in the main toolbar (19th from the left). The Avatar model is read in and syntax analysis of the block and state machine diagrams is performed.
    8180
    82 Then, click on the gear rightmost in the Avatar Deployment panel's toolbar. (You might have to enlarge the TTool window in the Virtual Machine). The leftmost tab
    83 allows code generation. Press start button.
     81Then, click on the gear rightmost in the Avatar Deployment panel's toolbar (lower toolbar). You might have to enlarge the TTool window in the Virtual Machine.
     82A window opens. In the order of the tabs, perform the following in the left-to-right  order of the tabs:
    8483
    85 2.3) Co-simulation in the virtual machine:
     84generate code: generates the application code, topcell and some auxiliary files
    8685
    87 In the TTool/MPSoC directory, a specific Makefile (Makefile.forsoclib) can be configured for MIPS32 or PowerPC cross-compilation.
    88 You first have to cross-compile the application code (Posix tasks) using "make compilesoclib", then the SoCLib platform using "make runsoclib".
    89 The cross-compiled application is loaded into the memory of the SoCLib RAM, and the SoCLib topcell instantiates the GPIO interface and
    90 starts the simulation.
     86compile: cross-compiles the application code and links with the micro-kernel
    9187
    92 summary of make options :
    93 
    94 make updateruntime (normally not needed - only for changes to the runtime)
    95 make compilesoclib (cross-compilation for target machine)
    96 make runsoclib (compiles the SoCLib platform and the SystemC AMS clusters)
    97 make allsoclib: updates runtime, compiles, and runs, virtual prototype
    98 
     88execute: compiles the SoCLib platform and starts simulation
    9989
    100903) Most examples use the TDF and DE MoC.