The target device for the lab sessions is the multi-core PULP platform. The PULP Virtual Platform simulator GVSOC, which is included within the PULP SDK, will be used during the class.
- Subject(s): hello-world, vector sum, matrix-vector mul, profiling code execution;
- Programming Language: C;
- Lab duration: 3h
- Objective: Embedded programming & profiling. You will learn basics of embedded programming, the pulp architecture, basic operations (sum & matmul), and how to profile your code execution (MAC, cycles) !
Use Virtuale, upload only the assignment file named as follows: LAB#_APAI_yourname.ipynb
Assignment DEADLINE: 26/10/2023 (at 16:00)
-
Open a browser and paste this link:
https://compute.eees.dei.unibo.it:8443/guacamole
-
access with your credentials. We distribute credentials by hand.
-
open a new terminal
-
clone this repository and go to your working directory.
git clone https://github.com/EEESlab/APAI23-LAB03-PULP-Embedded-Programming
cd APAI23-LAB03-PULP-Embedded-Programming
- open the folder with visual studio code
- start working !
[DO NOT FORGET] Every time you open a new terminal run:
module load pulp-sdk
To run the code enter in a terminal
make clean all run