In this section, you will run scripts to set up the Corstone-320 reference package.

The Corstone-320 Fixed Virtual Platform (FVP) is a pre-silicon software development environment for Arm-based microcontrollers. It provides a virtual representation of hardware, allowing developers to test and optimize software before actual hardware is available. Designed for AI and machine learning workloads, it includes support for Arm’s Ethos-U NPU and Cortex-M processors, making it ideal for embedded AI applications. The FVP accelerates development by enabling early software validation and performance tuning in a flexible, simulation-based environment.

The Corstone reference system is provided free of charge, although you will have to accept the license in the next step. For more information on Corstone-320, check out the official documentation .

Corstone-320 FVP Setup for ExecuTorch

Navigate to the Arm examples directory in the ExecuTorch repository. Run the following command.

    

        
        
cd $HOME/executorch/examples/arm
./setup.sh --i-agree-to-the-contained-eula

    

After the script has finished running, it prints a command to run to finalize the installation. This step adds the FVP executables to your system path.

    

        
        
source $HOME/executorch/examples/arm/ethos-u-scratch/setup_path.sh

    

Test that the setup was successful by running the run.sh script for Ethos-U85, which is the target device for Corstone-320:

    

        
        
 ./examples/arm/run.sh --target=ethos-u85-256

    

You will see a number of examples run on the FVP.

This confirms the installation, so you can now proceed to the Learning Path Build a Simple PyTorch Model .

Back
Next