Skip to main content

DV system

Project description

DVSim

OpenTitan logo

About the project

OpenTitan is an open source silicon Root of Trust (RoT) project. OpenTitan will make the silicon RoT design and implementation more transparent, trustworthy, and secure for enterprises, platform providers, and chip manufacturers. OpenTitan is administered by lowRISC CIC as a collaborative project to produce high quality, open IP for instantiation as a full-featured product. See the OpenTitan site and OpenTitan docs for more information about the project.

About this repository

This repository contains DVSim which is a build and run system written in Python that runs a variety of EDA tool flows. There are multiple steps involved in running EDA tool flows. DVSim encapsulates them all to provide a single, standardized command-line interface to launch them. While DVSim was written to support OpenTitan, it can be used for any ASIC project.

All EDA tool flows on OpenTitan are launched using the DVSim tool. The following flows are currently supported:

  • Simulations
  • Coverage Unreachability Analysis (UNR)
  • Formal (formal property verification (FPV), and connectivity)
  • Lint (semantic and stylistic)
  • Synthesis
  • CDC
  • RDC

Installation

Using nix and direnv

If you have Nix and direnv installed, then it's as simple as direnv allow ..

New to Nix? Perhaps checkout this installer which will enable flakes by default.

Using uv direct

The recommended way of installing DVSim is inside a virtual environment to isolate the dependencies from your system python install. We use the uv tool for python dependency management and creating virtual environments.

First make sure you have uv installed, see the installation documentation for details and alternative installation methods. There is a python package that can be installed with pip install uv, however the standalone installer is preferred.

macOS and Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
uv venv
uv sync

From there you can run the dvsim tool.

Windows (Powershell)
irm https://astral.sh/uv/install.ps1 | iex
uv venv
uv sync

From there you can run the dvsim tool.

Using DVSim

For further information on how to use DVsim with OpenTitan see Getting Started

History

DVSim development started in the main OpenTitan repository under utils/dvsim. This repository contains the code that origionaly lived there, as well as the full git history copied over as generated by git subtree split -p utils/dvsim.

Documentation

The project contains comprehensive documentation of all IPs and tools. You can access it online at opentitan.org/book/.

Other related documents

How to contribute

Have a look at CONTRIBUTING and our documentation on project organization and processes for guidelines on how to contribute code to this repository.

Licensing

Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).

Bugs

Please see link for a list of open bugs and feature requests.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dvsim-1.0.2.tar.gz (346.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dvsim-1.0.2-py3-none-any.whl (164.4 kB view details)

Uploaded Python 3

File details

Details for the file dvsim-1.0.2.tar.gz.

File metadata

  • Download URL: dvsim-1.0.2.tar.gz
  • Upload date:
  • Size: 346.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dvsim-1.0.2.tar.gz
Algorithm Hash digest
SHA256 a629d7adb50eed6e12fd7ce8c76f2600c2c161a3e00cf0f5b79d459adaa551b0
MD5 29129631fa50cfeb3158aa293cb02f81
BLAKE2b-256 b9ad3384a3ef446030a6ccec4417dbd0392566952500da2db92b0ce28fd61778

See more details on using hashes here.

Provenance

The following attestation bundles were made for dvsim-1.0.2.tar.gz:

Publisher: release.yml on lowRISC/dvsim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dvsim-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: dvsim-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 164.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dvsim-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8df127a5272dc6433c86ca5cbf669761e93c1cc2074ef1819378e70ee0ae10c9
MD5 306a26f25ce1fbe0a677d4758ffa8762
BLAKE2b-256 9880b44259585045b6f9f18fe979da1723d6a84b2fa870f6697eab5ae1069a31

See more details on using hashes here.

Provenance

The following attestation bundles were made for dvsim-1.0.2-py3-none-any.whl:

Publisher: release.yml on lowRISC/dvsim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page