Implement an example Virtual Peripheral with Arm Virtual Hardware
Introduction
Create a peripheral using Virtual Input/Output (VIO)
Next Steps
Implement an example Virtual Peripheral with Arm Virtual Hardware
Who is this for?
This is an introductory topic for software developers new to Arm Virtual Hardware and its features.
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Create and integrate an LED peripheral with the Virtual IO (VIO) interface of AVH.
Prerequisites
Before starting, you will need the following:
- A valid AWS account
- Some familiarity with Python
Summary
This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
You’ll implement a simple virtual LED peripheral and connect it to Arm Virtual Hardware using the Virtual Input/Output (VIO) interface. First, you’ll start an Arm Virtual Hardware Amazon Machine Image (AMI) in AWS, install the Tkinter package for Python in the AVH terminal, and clone the example project. You’ll focus on wiring the virtual peripheral to VIO and running the example in the
leds_example directory to observe the interaction between the simulated device and the application. By the end, you’ll recognize how VIO routes peripheral I/O between AVH and a small Python UI to emulate real-world stimuli.Frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
You’ll use the Virtual Input/Output (VIO) interface provided by Arm Virtual Hardware to connect the example peripheral.
Install the Tkinter package for Python in the AVH terminal with:
sudo apt install -y python3-tk.After cloning, navigate into the
leds_example directory to work with the sample.Start the Arm Virtual Hardware AMI in an AWS account and follow the Arm Virtual Hardware install guide to reach the AVH terminal.
Verify that
python3-tk installs without errors and that the repository is cloned, with the current directory set to leds_example.