Skip to content

Conversation

@ezelioli
Copy link
Contributor

@ezelioli ezelioli commented Jan 6, 2026

This PR adds support for CircumSpect, an open-source RTL DPI tracing library developed in Rust. When enabled, CircumSpect generates custom protobuf trace logs which can be analyzed via the Perfetto trace viewer on a web browser.

This PR provides a simple CircumSpect setup which logs the main components / interfaces of the CVE2 core. It is meant as a basic example providing a quick overview of the core's state during RTL simulation, which can be extended depending on each project needs.

Although the protobuf binary format is rather compact, care should be taken in the amount of state needed, especially for long simulations, as the trace log file size can become quite large. In the current setting, when enabled a ~50MB trace file is generated when running the helloworld test on Croc.

NOTE: adds cargo to the tooling requirements.

Screenshot 2026-01-06 at 16 36 18

@ezelioli ezelioli requested a review from phsauter January 6, 2026 15:41
@thommythomaso thommythomaso marked this pull request as draft January 7, 2026 15:41
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.

2 participants