lowRISC / lowRISC/opentitan

Ephemeral Simulated Environments for Testing OpenTitan

Open
#17,263 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Earlgrey-PROD Triaged
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

Description

Hi OpenTitan Team,

We met some of the colleagues who work on Open Titan at the Open Source Summit in Dublin and discussed possible utility for ephemeral simulated test environments for embedded systems. We developed a Proof of Concept that is working well and wanted to share it with you.

In a fork of Open Titan we set up a GHA workflow that uses Uffizzi to create, update, delete an ephemeral simulated test environment on every PR. The environment is using the dependencies within Open Titan dockerfile to build the software and hardware.

An example environment is running on Uffizzi Cloud and is accessible via https here.

The full suite of on-device and on-host tests passed on the Uffizzi Environment

Here's a snapshot:

Screenshot (269)

We'll keep the environment up for a few days (not too long because it's a bit costly) if you want to try it yourself. Please let us know if this would be useful to Open Titan and in general if it's useful to embedded systems.

@marnovandermaas
@shrutic-git

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the linked fork's GitHub Actions workflow and the OpenTitan Dockerfile, then verify the reported full on-device and on-host test results. The issue does not define an integration scope or acceptance criteria, so a maintainer must decide whether an ephemeral Uffizzi environment is wanted and what completion should mean.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, github-actions
Domain
ci-cd, devops, embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.