| commit | eb9bdbab04504590651be0e309681e4dc5c81140 | [log] [tgz] | 
|---|---|---|
| author | Philipp Wagner <phw@lowrisc.org> | Thu Apr 15 14:56:11 2021 +0100 | 
| committer | Philipp Wagner <mail@philipp-wagner.com> | Fri Apr 23 09:12:54 2021 +0100 | 
| tree | ec8de2238296696d76cd36a8ff18b986b1ee4aac | |
| parent | 62ff8e10db4abbe9c901e5c300a2a1c493d1dd1f [diff] | 
[otbn] Standalone sim: only dump regs if asked for The standalone OTBN simulation, `otbnsim/standalone.py` has an option `--dump-regs` which controls the dumping of all registers to a file or STDOUT after the operation. By default, the registers were dumped to STDOUT, implicitly passing `--dump-regs=-` to the simulation. This makes it hard/impossible to *not* dump registers at all. Instead of dumping to STDOUT by default, this commit makes `--dump-dmem` and `--dump-regs` consistent in behavior: don't dump anything unless the option is passed. Passing `-` as file name will dump the register or memory contents to STDOUT. 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 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 access it online at docs.opentitan.org.
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).