commit | 144e5112df44eecab06d510455a77435551946a7 | [log] [tgz] |
---|---|---|
author | Weicai Yang <weicai@google.com> | Wed Oct 05 23:00:18 2022 -0700 |
committer | weicaiyang <49293026+weicaiyang@users.noreply.github.com> | Thu Oct 06 23:07:00 2022 -0700 |
tree | 5ccc1f20694e0fb27788dbecdb51d076bfe29681 | |
parent | 88df7011bc3d682700fab5637d3661bfb2040f9a [diff] |
[spi_device] Add tpm_all test This test has the following sequence - Configure `TPM_CFG.EN` to On and fully randomize other TPM configuration. - Run these 3 threads to randomly access TPM HW registers and other addresses. - Host issues random TPM reads/writes to spi_device. - SW polls the TPM interrupt `tpm_header_not_empty`, then read command/address and the corresponding FIFO. - SW randomly updates TPM HW registers. - Ensure all the data is correct in the scoreboard. Also fix some small issues in the scb Signed-off-by: Weicai Yang <weicai@google.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).