Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use SoC interface to talk to Caliptra #69

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Use SoC interface to talk to Caliptra #69

wants to merge 1 commit into from

Conversation

swenson
Copy link
Collaborator

@swenson swenson commented Dec 24, 2024

caliptra-sw's emulator has an "external" SoC interface that can be used to communicate with it via the standard SoC interface.

This writes a simple adapter layer so that the MCU emulator can mount that external interface as a peripheral on our root bus.

I also added some code to the ROM that reads the flow status from the SoC interface as a basic check that the functionality is working. When running the MCU with a Caliptra ROM and runtime FW, it outputs:

Caliptra flow status 40000000

When no Caliptra ROM or firmware are provided, the status is 0, so we can skip straight to Tock in that case (for now).

`caliptra-sw`'s emulator has an "external" SoC interface that can be
used to communicate with it via the standard SoC interface.

This writes a simple adapter layer so that the MCU emulator can mount
that external interface as a peripheral on our root bus.

I also added some code to the ROM that reads the flow status from the
SoC interface as a basic check that the functionality is working. When
running the MCU with a Caliptra ROM and runtime FW, it outputs:

```
Caliptra flow status 40000000
```

When no Caliptra ROM or firmware are provided, the status is 0, so we
can skip straight to Tock in that case (for now).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant