a. To run emulation use the following command:
cd ./sw ./launch_sw_emu.sh
When launched, use the Linux prompt presented to run the design. Note that the emulation process is slow, so do not touch the keyboard of your terminal or you might stop the emulation of the Versal booth (as it happens in the real HW board).
b. Execute the following command when the emulated Linux prompt finally appears:
cd /run/media/*1 export XILINX_XRT=/usr export XCL_EMULATION_MODE=sw_emu
This will set up the design to run emulation.
c. Run the design using the following command:
d. You should see an output displaying TEST PASSED. When this is shown, run the keyboard command
Ctrl+A, immediately followed by
x to end the QEMU instance.
Note: The next step ‘Run PS application on x86’, is a process to run software emulation on x86. The main advantage of running the PS application on x86 is that it does not require Linux to boot up, therefore the software emulation runs faster compared with running on the QEMU emulator. You can either choose to follow these steps or jump directly to Section 4 and run Hardware Emulation and Hardware steps.