commit | d4d65a13b3c1befdc344024445e7c6bef376fd99 | [log] [tgz] |
---|---|---|
author | Philipp Wagner <phw@lowrisc.org> | Thu Nov 28 16:59:19 2019 +0000 |
committer | Philipp Wagner <mail@philipp-wagner.com> | Tue Dec 03 13:47:27 2019 +0000 |
tree | a7f1a32452db7ea92d96a17b95654143992a4a99 | |
parent | d0420534347005ac469d44b7c7d8337a0b57224a [diff] |
Adjust to newer simutil_verilator simutil_verilator was improved in various ways. The main improvements are: - Memories can be loaded with ELF files directly, instead of VMEM files. - A generic way to specify memories was added. - Reworked interface to be easier to use (less duplicated code). These changes require adjustemnts to our code. - The memory primitives need to support a new `simutil_verilator_memload()` DPI function, which is used to write the converted ELF file. - libelf is required for ELF parsing. Add this dependency to the core files, documentation and to the CI setup. - VerilatorSimCtrl is now much easier to use by calling the `Exec()` function. Everything else is now handled by VerilatorSimCtrl itself. By using stack-allocated objects we can simplify error/free handling. - VerilatorSimCtrl doesn't expose a static variable `simctrl` any more, but instead implements a singleton accessible through `VerilatorSimCtrl::GetInstance()`. Update spidpi to use this. Signed-off-by: Philipp Wagner <phw@lowrisc.org>
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 the OpenTitan site and OpenTitan docs for more information about the project.
This repository contains hardware, software and utilities written as part of the OpenTitan project. It is structured as monolithic repository, or “monorepo”, where all components live in one repository. It exists to enable collaboration across partners participating in the OpenTitan project.
The project contains comprehensive documentation of all IPs and tools. You can either access it online or build it locally by following the steps below.
$ sudo apt install curl python3 python3-pip $ pip3 install --user -r python-requirements.txt
$ ./util/build_docs.py --preview
This compiles the documentation into ./build/docs
and starts a local server, which allows you to access the documentation at http://127.0.0.1:1313.
Have a look at CONTRIBUTING for guidelines on how to contribute code to this repository.
Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).