The Hello-world tutorial

This "Hello world!" tutorial is made of 10 videos.

This platform is on the CD in topcells/tutorial0

Goals

The goal of this tutorial is to show how SocLib can be used to build a simple platform running the traditional "hello world!" embedded application.

Video 1: Description of the objectives of the demo

This video shows the objectives of the demo.

Video: Overview

Video 2: Description of the platform

The demo platform uses

platform.png

In this video, the basics of the VCI protocol are also presented.

Video: Platform

Video 3: Running the simulator

This video shows how to start the tutorial0 simulator, and displays the expected result "Hello world!".

Video: Simulation run

output.png

Video 4: Building the platform

This video explains how to describe a platform from scratch, and the role of each component. In particular, it describes the important notions of encapsulated Instruction Set Simulator (ISS), segments and mapping table.

Video: Building the platform

Video 5: The mapping table

SocLib is used to describe NUMA shared-memory platforms, and this video explains the logic of address mapping and decoding. All the information needed to design a mapping table is described here.

Video: Mapping table

Video 7: The cross-compiler toolchain

This video presents the different tools of the GNU gcc toolchain needed to build the embedded application binary file.

Video: Cross compiler toolchain

Video 8: The toplevel C++ code

This video explains in detail the C++ sourcecode of the toplevel. The instanciation of the SocLib components is thoroughly presented.

Video: Topcell C++ sourcecode

Video 9: The embedded application sourcecode

This video describes the various files used to build the embedded application.

Video: Embedded application sourcecode

Video 10: Shifting from the MIPS32 to the PPC405

This video shows how, in SocLib, it is possible to shift from one processor to another. It concludes this interactive tutorial.

Video: Exchanging the Mips32 for a PPC405

Video: Overview