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:
- Download the
.zipfiles 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
- Rename the directory that
plug-ins, or you will get an error that the Python script cannot find the correct Fast Model plug-in.
- Commit the git
$BLOGBASEDIRincluded. 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:
- 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.
- Run the simulation.
Check the results.
The steps will look like this in the Blue Ocean GUI:
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
set +e && . //home//zach/ARM//FastModelsTools_11.3//source_all.sh && set -e && python $BLOGBASEDIR//run_m4.py
- Replace the paths to the Fast Models tools with the correct ones
for your system. The
output.txt0file will be placed in
run_m4.pyscript is also located.