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-0.1.0.tar.gz (304.9 kB view details)

Uploaded Source

Built Distribution

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

dvsim-0.1.0-py3-none-any.whl (163.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dvsim-0.1.0.tar.gz
  • Upload date:
  • Size: 304.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.22

File hashes

Hashes for dvsim-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a70bcb90c6018114831a1582d9a7712c245c70510db10f43a0a7984af79da03f
MD5 ab3b0f2eb16d05fe8dcb0f133191c5b9
BLAKE2b-256 ebe7535174bd9cfadb6a22ed8bff4f45976d8558e609894fdeaa0c01028aefed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dvsim-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 163.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.22

File hashes

Hashes for dvsim-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f71b7c61cd1f5a2fac2c4fd51e8715174444579bb72bcb84dc31743f33361d7f
MD5 f237483c602325f0ece765bf92636e92
BLAKE2b-256 116a6218d81ce1897c6e8d8722c35e8701a58db88d6e41ad13222aec3964d48e

See more details on using hashes here.

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