commit | 155a62cc3278dd08c3cf3adf38034a09c74c0727 | [log] [tgz] |
---|---|---|
author | Jes B. Klinke <jbk@chromium.org> | Tue Feb 14 16:11:54 2023 -0800 |
committer | cfrantz <frantzcj+github@gmail.com> | Thu Mar 02 07:55:09 2023 -0800 |
tree | 66fa8f8467acd2c64cbc558c3e45d4a43d642dff | |
parent | 8ea958c0cc8111f6edf1f5eabd5939f185c73b4a [diff] |
[opentitantool] Propagate `transport init` to backend The existing command `opentitantool transport init` will send a series of instructions to the backend to configure pins according to a set of configuration files. Ideally, that would bring the transport into a known state. However, sometimes the configuration is under-specified, that is, maybe it omits declaring the direction of a pin as "Input", relying on that being the default for all pins at power-on. Doing so opens up the possibility that if the debugger device has previously been used with a different configuration file, which used the same pin as output, then after `transport init` the pin would remain an output, to the surprise of automated tests or operators. This PR makes `transport init` first tell the backend transport to reset to power-on state, before sending the usual series of pin-specific instructions, hopefully reducing the risk of surprises. Some backends, such as UltraDebug, do not support re-configuraion of pin direction, and others, such as Verilator, do not have backend hardware which could carry over state from one test to the next, so a default empty implementation of the new method is provided. Signed-off-by: Jes B. Klinke <jbk@chromium.org> Change-Id: I0cee4a994ff72c653f0522fcfe92ce1be1ecf6af
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 and our documentation on project organization and processes 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).