Technische Universität Braunschweig
  • Study & Teaching
    • Beginning your Studies
      • Prospective Students
      • Degree Programmes
      • Application
      • Fit4TU
      • Why Braunschweig?
    • During your Studies
      • Fresher's Hub
      • Term Dates
      • Courses
      • Practical Information
      • Beratungsnavi
      • Additional Qualifications
      • Financing and Costs
      • Special Circumstances
      • Health and Well-being
      • Campus life
    • At the End of your Studies
      • Discontinuation and Credentials Certification
      • After graduation
      • Alumni*ae
    • For Teaching Staff
      • Strategy, Offers and Information
      • Learning Management System Stud.IP
    • Contact
      • Study Service Centre
      • Academic Advice Service
      • Student Office
      • Career Service
  • Research
    • Research Profile
      • Core Research Areas
      • Clusters of Excellence at TU Braunschweig
      • Research Projects
      • Research Centres
      • Professors‘ Research Profiles
    • Early Career Researchers
      • Support in the early stages of an academic career
      • PhD-Students
      • Postdocs
      • Junior research group leaders
      • Junior Professorship and Tenure-Track
      • Habilitation
      • Service Offers for Scientists
    • Research Data & Transparency
      • Transparency in Research
      • Research Data
      • Open Access Strategy
      • Digital Research Announcement
    • Research Funding
      • Research Funding Network
      • Research funding
    • Contact
      • Research Services
      • Academy for Graduates
  • International
    • International Students
      • Why Braunschweig?
      • Degree seeking students
      • Exchange Studies
      • TU Braunschweig Summer School
      • Refugees
      • International Student Support
    • Going Abroad
      • Studying abroad
      • Internships abroad
      • Teaching and research abroad
      • Working abroad
    • International Researchers
      • Welcome Support
      • PhD Studies
      • Service for host institutes
    • Language and intercultural competence training
      • Learning German
      • Learning Foreign Languages
      • Intercultural Communication
    • International Profile
      • Internationalisation
      • International Cooperations
      • Strategic Partnerships
      • International networks
    • International House
      • About us
      • Contact & Office Hours
      • News and Events
      • International Days
      • 5th Student Conference: Internationalisation of Higher Education
      • Newsletter, Podcast & Videos
      • Job Advertisements
  • TU Braunschweig
    • Our Profile
      • Aims & Values
      • Regulations and Guidelines
      • Alliances & Partners
      • The University Development Initiative 2030
      • Foundation University
      • Facts & Figures
      • Our History
    • Career
      • Working at TU Braunschweig
      • Vacancies
    • Economy & Business
      • Entrepreneurship
      • Friends & Supporters
    • General Public
      • Check-in for Students
      • The Student House
      • Access to the University Library
    • Media Services
      • Communications and Press Service
      • Services for media
      • Film and photo permits
      • Advices for scientists
      • Topics and stories
    • Contact
      • General Contact
      • Getting here
  • Organisation
    • Presidency & Administration
      • Executive Board
      • Designated Offices
      • Administration
      • Committees
    • Faculties
      • Carl-Friedrich-Gauß-Fakultät
      • Faculty of Life Sciences
      • Faculty of Architecture, Civil Engineering and Environmental Sciences
      • Faculty of Mechanical Engineering
      • Faculty of Electrical Engineering, Information Technology, Physics
      • Faculty of Humanities and Education
    • Institutes
      • Institutes from A to Z
    • Facilities
      • University Library
      • Gauß-IT-Zentrum
      • Professional and Personnel Development
      • International House
      • The Project House of the TU Braunschweig
      • Transfer Service
      • University Sports Center
      • Facilities from A to Z
    • Equal Opportunity Office
      • Equal Opportunity Office
      • Family
      • Diversity for Students
  • Search
  • Quicklinks
    • People Search
    • Webmail
    • cloud.TU Braunschweig
    • Messenger
    • Cafeteria
    • Courses
    • Stud.IP
    • Library Catalogue
    • IT Services
    • Information Portal (employees)
    • Link Collection
    • DE
    • EN
    • IBR YouTube
    • Facebook
    • Instagram
    • YouTube
    • LinkedIn
    • Mastodon
Menu
  • Organisation
  • Faculties
  • Carl-Friedrich-Gauß-Fakultät
  • Institutes
  • Institute of Operating Systems and Computer Networks
Logo IBR
IBR Login
  • Institute of Operating Systems and Computer Networks
    • News
    • About us
      • Whole Team
      • Directions
      • Floor Plan
      • Projects
      • Publications
      • Software
      • News Archive
    • Connected and Mobile Systems
      • Team
      • Courses
      • Theses
      • Projects
      • Publications
      • Software
      • Datasets
    • Reliable System Software
      • Overview
      • Team
      • Teaching
      • Theses & Jobs
      • Research
      • Publications
    • Algorithms
      • Team
      • Courses
      • Theses
      • Projects
      • Publications
    • Microprocessor Lab
    • Education
      • Winter 2025/2026
      • Summer 2025
      • Theses
    • Services
      • Library
      • Mailinglists
      • Webmail
      • Knowledge Base
      • Wiki
      • Account Management
      • Services Status
    • Spin-Offs
      • Docoloc
      • bliq (formerly AIPARK)
      • Confidential Technologies
    • Research Cooperations
      • IST.hub

Formal modeling of the 64-bit RISC-V instruction set architecture

SupervisorDr. Sören Tempel
IBR GroupVSS (Prof. Dietrich)
TypeBachelor Thesis
Statustentative

Context

RISC-V is a modern open standard instruction set architecture (ISA). The ISA is the central interface between the hardware and the software and specifies the instructions supported by a given processor. Commonly, the semantics of these instructions—and edge cases in this regard—are described in natural language. The natural language definition of the RISC-V ISA can be found here.

Problem

Considering that natural language is ambiguous, an implementation of these specified instructions semantics (e.g., for a RISC-V simulator) is a manual process, requiring a transformation of the natural language specification to executable code. Naturally, considering the complexity of the specification, errors can occur during this manual transformation.

In order to prevent such errors, prior work has proposed the use of a formal machine-readable language to describe ISA instruction semantics. These formal languages are unambiguous and thus machine-readable. They are beneficial for various use-case, such as code generation, testing, documentation, or binary analysis. Recognizing the potential of these formal languages, RISC-V provides an official formal specification in the SAIL language.

However, SAIL is a non-executable formal specification requiring the implementation of a compiler to transform it to executable code. For many execution-based tasks (e.g., simulation or binary analysis), this creates a lot of duplicate work. Therefore, executable formal specifications have received increased attention in recent years.

In prior work, we have developed a versatile executable formal model of the RISC-V architecture and have implemented several interpreters for this specification, most recently a symbolic interpreter. Presently, the formal specification only covers 32-bit RISC-V, however as a basis for future work, we would like to extend our symbolic interpreter to 64-bit RISC-V. To this end, our formal executable specification should be extended in this thesis to support 64-bit RISC-V (RV64). This should be achieved by making the specification parameterisable over the word size, thereby requiring only minor changes in the description of instruction semantics. Naturally, correctness aspects of the extended specification should also be examined to some degree in the thesis.

Requirements

  • Solid understanding of computer architecture
  • Proficiency in functional programming, ideally prior experience with Haskell (or a similar language)
  • Analytical skills to evaluate correctness aspects of the formalized RV64 specification

More Information

For more information, you can refer to the following resources

  • The Hackage package for our formal RISC-V specification (includes API documentation)
  • The source code of our executable formal specification
  • The formal description of the RISC-V base instruction set

Further, the following papers might be useful as a starting point:

  • Versatile and Flexible Modelling of the RISC-V Instruction Set Architecture
  • Accurate and Extensible Symbolic Execution of Binary Code based on Formal ISA Semantics
  • ISA semantics for ARMv8-a, RISC-v, and CHERI-MIPS

Recommended reading to get started with Haskell: Learn You a Haskell.⏎


last changed 2025-10-13, 15:00 by System Account vss-deploy

For All Visitors

Vacancies of TU Braunschweig
Career Service' Job Exchange 
Merchandising

For Students

Term Dates
Courses
Degree Programmes
Information for Freshman
TUCard

Internal Tools

Glossary (GER-EN)
Change your Personal Data

Contact

Technische Universität Braunschweig
Universitätsplatz 2
38106 Braunschweig

P. O. Box: 38092 Braunschweig
GERMANY

Phone: +49 (0) 531 391-0

Getting here

© Technische Universität Braunschweig
Imprint Privacy Accessibility