Set up simulation in host

If you do not use Docker to run Arm Fast Model simulations, as described in Set up simulation in Docker, you can use the instructions in this section of the guide. Before you begin, ensure that the Arm Fast Models are initialized on your host Linux system.

Follow these steps to set up a Fast Model simulation using Jenkins:

  1. Download the .zip files from Before you begin and untar them in a directory in the same git repository that this Jenkins pipeline is connected to. We will call this repository $BLOGBASEDIR.
  2. Rename the directory that is called ITMtrace to plug-ins, or you will get an error that the Python script cannot find the correct Fast Model plug-in.
  3. Commit the git repository with $BLOGBASEDIR included. This will allow Jenkins to see these files in the git repository.

Here are the steps to run Fast Model simulations on the Linux host:

  1. Build the hardware virtual platform model. The hardware virtual platform models are not pre-built, because the files are large enough to cause problems uploading to some git repositories.
  2. Run the simulation.
  3. Check the results.

    The steps will look like this in the Blue Ocean GUI:

  4. Click on the add step --> Shell Script to add the following three steps into the Blue Ocean GUI:

    set +e
    &&
    . //home//zach/ARM//FastModelsTools_11.3//source_all.sh && 
    set -e &&
    cd $BLOGBASEDIR//m4_system//model 
    && ./linux_build.sh

    and

    set +e &&
    . //home//zach/ARM//FastModelsTools_11.3//source_all.sh && 
    set -e && 
    python $BLOGBASEDIR//run_m4.py

    and

    head $BLOGBASEDIR//output.txt0
  5. Replace the paths to the Fast Models tools with the correct ones for your system. The output.txt0 file will be placed in $BLOGBASEDIR where the run_m4.py script is also located.
Previous Next