Bachelorarbeiten
Offene Arbeiten
Interesse an einer Studien- oder Abschlussarbeit?
In unseren Arbeitsgruppen sind oftmals Arbeiten in Vorbereitung, die hier noch nicht aufgelistet sind. Teilweise besteht auch die Möglichkeit, ein Thema entsprechend Ihrer speziellen Interessenslage zu definieren. Kontaktieren Sie hierzu einfach einen Mitarbeiter aus dem entsprechenden Arbeitsgebiet. Falls Sie darüber hinaus allgemeine Fragen zur Durchführung einer Arbeit am LIS haben, wenden Sie sich bitte an Dr. Thomas Wild.
Laufende Arbeiten
Implementation of a Cross-Chiplet Load Balancer
Beschreibung
In the BCDC project, a working group at TUM is collaborating to design a RISC-V-based chiplet demonstration chip, with two of them connected via an interposer to represent a system of interconnected chiplets. At LIS, we work on an efficient, low-latency chiplet interconnect with additional application-specific features managed by a Smart Chiplet Interconnect layer stack. It bridges the underlying physical layer, which handles data transmission across the interposer, and the system bus, which connects the inter-chiplet interface to other components of the demonstration chip. The design is based on the PULP platform's Serial Link.
One additional feature of the Smart Chiplet Interconnect is a cross-chiplet load balancer that dynamically distributes outgoing or incoming data flows or resident data blocks among available chiplets and their processing units based on current load. The goal of this thesis is to implement such a system in SystemVerilog and integrate it into the Smart Chiplet Interconnect. This includes adding load measurement capabilities to the chiplets, developing a mechanism to communicate load information between chiplets, implementing a suitable load-balancing algorithm, and modifying the Serial Link to efficiently forward data streams. Because not all data flows may be processed on any chiplet, and not all processing units may handle every type of processing task, the existing classifier layer must be extended to support the load balancer. For testing and use of the load balancer in a bare-metal environment, suitable testbenches and firmware must be developed.
Using representative workloads, the student will then evaluate the load balancer's performance in terms of load distribution quality, added overhead, and overall computational efficiency compared to the baseline version with fixed chiplet/processing unit assignments. To estimate resource usage and the maximum achievable clock frequency, the student will synthesize the design for the VCU118 FPGA evaluation board.
The project will be accompanied by another Bachelor's thesis surrounding the Smart Chiplet Interconnect. Depending on the progress of both projects, a combination and joint evaluation of the two designs may be possible and is encouraged.
Voraussetzungen
- Basic knowledge of load balancing concepts
- Experience with hardware design in (System)Verilog
- Motivation to familiarize oneself with a complex existing design
- Structured way of working and strong problem-solving skills
- Interest in novel system architectures
Kontakt
michael.meidinger@tum.de
Betreuer:
Implementation of Reliability Mechanisms for Chiplet Interconnects
Beschreibung
In the BCDC project, a working group at TUM is collaborating to design a RISC-V-based chiplet demonstration chip, with two of them connected via an interposer to represent a system of interconnected chiplets. At LIS, we work on an efficient, low-latency chiplet interconnect with additional application-specific features managed by a Smart Chiplet Interconnect layer stack. It bridges the underlying physical layer, which handles data transmission across the interposer, and the system bus, which connects the inter-chiplet interface to other components of the demonstration chip. The design is based on the PULP platform's Serial Link.
One group of additional features of the Smart Chiplet Interconnect concerns reliability. This includes mechanisms for error detection, correction, and fault tolerance. In this thesis, different options should be investigated and implemented. As a starting point, the student can add error detection via a Cyclic Redundancy Check (CRC) to the Serial Link, which can later be extended with error resolution via forward error correction or retransmission. This will require more sophisticated control logic and potentially additional buffering to handle retransmissions. Depending on the performance of the implemented schemes and the time available, the student can also explore more advanced fault tolerance mechanisms, such as redundant data paths.
The student will evaluate these mechanisms on their effectiveness in improving reliability and their impact on usable interconnect bandwidth, latency, and overall system performance. As the Universal Chiplet Interconnect Express (UCIe) standard also defines some of these mechanisms, it can serve as a reference for comparison. For testing and evaluation, suitable testbenches with configurable fault-injection capabilities and bare-metal firmware must be developed. To estimate resource usage and the maximum achievable clock frequency, the student will synthesize the design for the VCU118 FPGA evaluation board.
The project will be accompanied by another Bachelor's thesis surrounding the Smart Chiplet Interconnect. Depending on the progress of both projects, a combination and joint evaluation of the two designs may be possible and is encouraged.
Voraussetzungen
- Basic knowledge of error detection and correction mechanisms
- Experience with hardware design in (System)Verilog
- Motivation to familiarize oneself with a complex existing design
- Structured way of working and strong problem-solving skills
- Interest in novel system architectures
Kontakt
michael.meidinger@tum.de
Betreuer:
Functional Verification and Performance Evaluation of ACE Cache Coherence in a 4-Core RISC-V Platform
Beschreibung
Culsans is a multicore CVA6 platform whose private L1 data caches are kept coherent by an ACE-based cache coherence unit (CCU). The design was first built for two cores. This platform serves well as a stable baseline for various research projects at LIS with a focus on memory hierarchy and interconnect. The 4-core variant was added later, and its ACE logic has not been re-examined systematically. So far, coherence has never been verified reliably. No software on the platform actively uses shared data, and the performance cost of coherence has not been measured. This work aims to establish a trustworthy verification basis for ACE coherence on the 2-core and, in particular, the 4-core configuration, and to evaluate its performance impact.
The work starts with a study of the ACE protocol, the CCU, and the cache's coherence support. It documents the implemented states and transactions, and reviews the 4-core configuration for places that implicitly assume two cores, such as snoop fan-out, ID widths, arbitration, and ordering. The core of the work is functional verification with self-written, self-checking tests. These cover producer/consumer patterns, true and false sharing, upgrades and invalidations, eviction and writeback races, atomics and LR/SC on shared lines, and mixed shared and non-shared traffic. They run at the system level and as multicore bare-metal software on 2- and 4-core systems, using the existing simulation infrastructure with QuestaSim and Verilator. Existing integration tests and benchmarks that don't use coherence actively must continue to run correctly.
The last part is a performance analysis in simulation and potentially on the VCU118 FPGA. It measures transaction latencies using the existing microbenchmarks and the overhead of coherence on these benchmarks across 1, 2, and 4 cores. It also adds small shared-data microbenchmarks, such as ping-pong and a shared counter, to quantify the cost of true sharing.
Voraussetzungen
- Good knowledge of MPSoCs
- Good C programming skills
- Very good VHDL/(System)Verilog programming skills
- Self-responsible work style
Kontakt
Oliver Lenke - o.lenke@tum.de
Michael Meidinger - michael.meidinger@tum.de
Betreuer:
Student
Evaluating SmartNIC-based Resource Management against different Workloads and Networking Mechanisms
Beschreibung
With the advent of research on the next generation of mobile communications 6G, we are engaged in exploring architecture extensions for Smart Network Interface Cards (SmartNICs). To enable adaptive, energy-efficient and low-latency network interfaces, we are prototyping a custom packet processing pipeline on FPGA-based NICs, partially based on the open-nic project (https://github.com/Xilinx/open-nic).
To improve the performance and energy efficiency of modern servers, SmartNICs can be used to parse incoming packets and gather characteristics on traffic and processing conditions. This information can be used to change the processing behavior of the server and react to the dynamic network and processing requirements. The current state of the prototype contains monitoring and decision making logic for load balancing and power management of Linux servers. So far, this resource management has only been evaluated under two simplifying assumptions: every packet is assumed to incur the same processing demand, and packets are delivered to the application through a single, fixed host networking datapath. Both assumptions limit the generality of the results, since the benefit of SmartNIC-based resource management depends on the actual per-flow processing demand as well as on the way packets travel from the NIC to the application.
The goal of this work is therefore to make both aspects accessible to measurement and to evaluate the existing mechanisms against them. First, the (micro-)benchmarks used on the server shall be extended to generate heterogeneous workloads, i.e., a configurable and flow-dependent processing cost per packet, so that the weighting already implemented on the SmartNIC can be driven, parameterized and validated. Second, the benchmarking framework shall be extended to support different host networking mechanisms, i.e., datapath variants such as the interrupt-driven kernel
stack, XDP/AF_XDP and polling-based solutions like DPDK. The resource management shall then be evaluated to quantify the achievable energy savings as well as the resulting latency and throughput behavior, and identify the conditions under which SmartNIC-based resource management is most beneficial.
Voraussetzungen
- Programming skills in C, Python and preferably P4
- Good knowledge of computer architecture, low-level software and OSI-network model
- Comfortable with the Linux command line and bash
- Preferably practical experience with Linux kernel and driver development and tracing
Kontakt
Marco Liess, M.Sc.
Tel.: +49.89.289.23873
Email: marco.liess@tum.de
Betreuer:
Development of a traffic generator for stateful connections in Gem5
gem5, networking, TCP
Beschreibung
gem5 is an open-source, modular computer-architecture simulator that is used extensively here at LIS. When simulating a system, and networking systems in particular, the guest (the simulated machine) is usually driven with network traffic from a traffic generator. The latter produces packets either by replaying packet captures or by generating packets with no meaningful payload. This is sufficient as long as the packets are only forwarded at L2/L3 for latency or throughput measurements. This however does not work once the packets are consumed by the guest at L4 and above: a stateful TCP connection requires the traffic generator to exchange packets with the guest depending on the guest's responses, so that the protocol is followed correctly and the state of each connection is tracked. The current traffic generator lacks this capibility.
For TCP connections, our current setup relies on a traffic generator running on the host side, which introduces a new set of problems. Host and guest have separate wall clocks that are not synchronized, so the packet rate measured inside the guest differs from the rate measured on the host and is also inconsistent over the course of a simulation. Consequently, traffic generation has to take place inside the simulation in order to obtain consistent results.
The goal of this thesis is to extend the current traffic generator module in gem5 to support TCP traffic. The simulation environment is already in place, and the traffic generator module is already integrated into it; what is missing is the TCP logic itself. The main focus of the work is the implementation of the TCP logic inside the traffic generator, and its testing to ensure that it adheres to the rules of the TCP protocol.
This work can be done as a bachelor thesis or as a research internship.
Voraussetzungen
- Excellent C/C++ knowledge
- Good Python knowledge
- Experience using git
- Solid understanding of the OSI model
- Experience using the terminal / bash
Kontakt
mohamed.amine.kthiri@tum.de
+49 289 23872
Betreuer:
Trace based memory allocation tracing for buffer overflow detection
Beschreibung
Ensuring memory safety is a critical challenge in embedded systems, particularly in resource-constrained environments such as microcontrollers. Buffer overflows remain a common source of vulnerabilities and unexpected behavior. Execution traces provide a detailed view of runtime behavior and offer a potential basis for detecting such issues without intrusive instrumentation.
The goal of this thesis is to investigate the feasibility of detecting buffer overflows through the analysis of execution traces, assuming prior knowledge of the executing program and access to its corresponding ELF file. The work aims to define a focused and practical approach suitable for a bachelor’s thesis.
Approach:
The proposed method will combine static and dynamic analysis:
-
Static Analysis:
Extract memory layout information from the ELF file, particularly the size and location of global variables.
-
Dynamic Trace Analysis:
Analyze execution traces to reconstruct memory access patterns during runtime.
-
Heap and Stack Inference:
Develop methods to infer heap and stack boundaries and usage dynamically from trace data, as this information is not directly available.
-
Buffer Overflow Detection:
Identify deviations from expected memory access patterns that may indicate buffer overflows.
-
Trace Filtering and Reduction:
Design techniques to filter and reduce the volume of trace data to ensure tractability and efficiency of the analysis.
Expected Outcomes:
-
A clearly defined methodology for detecting buffer overflows using execution traces
-
A prototype implementation demonstrating the approach
-
An evaluation of feasibility, limitations, and potential accuracy of the method
Voraussetzungen
-
Programming skills in C, with understanding of pointers and memory management
-
Basic knowledge of embedded systems and microcontroller architectures
-
Understanding of fundamental concepts in computer architecture (instruction execution, memory access)
-
Understanding of stack, heap, and global memory layout in compiled programs
-
Experience with scripting or data processing (e.g., Python)
-
Basic knowledge of software vulnerabilities such as buffer overflows
-
Familiarity with version control systems (e.g., Git)
-
Strong problem-solving and analytical thinking skills
Kontakt
Technische Universität München
TUM School of Computation, Information and Technology
Lehrstuhl für Integrierte Systeme
Arcisstr. 21
80333 München
Tel.: +49.89.289.22963
Fax: +49.89.289.28323
Gebäude: N1 (Theresienstr. 90)
Raum: N2138
Email: ibai.irigoyen(at)tum.de
Betreuer:
TriCore architecture instruction sequence cycle estimation tool
Beschreibung
Static analysis plays an important role in understanding how software is expected to behave and in identifying potential defects early in the development process. While functional correctness can often be assessed statically, precise timing analysis is typically performed through dynamic methods, as execution time strongly depends on architectural features and shared hardware resources that influence temporal behavior.
Nevertheless, even when abstracting from certain dynamic effects—such as shared resource contention and detailed memory access behavior—it is possible to estimate the number of processor cycles required to execute a given sequence of instructions, provided that the target architecture is well understood. Hardware simulators such as Spike or gem5 follow this principle by modeling processor behavior to approximate execution timing.
The objective of this thesis is to develop a tool that estimates the cycle count required to execute specific instruction sequences on Infineon’s TriCore architecture. The focus will be on modeling the architectural pipelines, taking into account their structure, parallelism capabilities, and constraints. In particular, the work will analyze how different pipeline configurations influence instruction throughput and latency, as well as the benefits and limitations introduced by the multi-pipeline design.
Voraussetzungen
- Programming skills (preferably in C/C++ or Python).
- Understanding of computer architecture fundamentals.
- Knowledge of pipelining concepts, instruction scheduling, and processor microarchitecture.
- Familiarity with version control systems (e.g., Git).
- Basic understanding of compilers, assembly language, or low-level software development is advantageous.
- Ability to read and interpret technical hardware documentation.
- Analytical thinking and structured problem-solving skills.
Kontakt
Technische Universität München
TUM School of Computation, Information and Technology
Lehrstuhl für Integrierte Systeme
Arcisstr. 21
80333 München
Tel.: +49.89.289.22963
Fax: +49.89.289.28323
Gebäude: N1 (Theresienstr. 90)
Raum: N2138
Email: ibai.irigoyen(at)tum.de