commit | 3193d73abd2f41dca02f376d70c0e070d7cfcec9 | [log] [tgz] |
---|---|---|
author | Martin Lueker-Boden <martin.lueker-boden@wdc.com> | Fri Oct 22 19:27:33 2021 -0700 |
committer | Martin Lueker-Boden <47870387+martin-lueker@users.noreply.github.com> | Wed Oct 27 12:25:16 2021 -0700 |
tree | 1580e6b035369c34f839dc05609a960f99a9f3ce | |
parent | 0836ef34d6ab6912702683d68fe2c81cc147ade2 [diff] |
[ spi_host ] Flag non-allowed write events as errors The SPI_HOST TXDATA register/memory window is one of the few registers in opentitan which support byte enables. However the IP is not meant to deal zero-byte events. Though such events are not expected, they are also not supported by the SPI_HOST programming model. This commit monitors the bus for such events and records an error if such an event is detected. Furthermore, events that do NOT correspond to any possible software access pattern (i.e., not single-byte, two contiguous bytes, or full-word) are also flagged as errors. The intent here is to simplify coverage as well as provide further checks against possible bus faults. Signed-off-by: Martin Lueker-Boden <martin.lueker-boden@wdc.com>
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).