commit | 90226aa89bff956ab95ea5bee5f7e4a0985018a7 | [log] [tgz] |
---|---|---|
author | Weicai Yang <weicai@google.com> | Tue Aug 03 22:44:43 2021 -0700 |
committer | weicaiyang <49293026+weicaiyang@users.noreply.github.com> | Mon Aug 09 17:13:06 2021 -0700 |
tree | 49e893e15c0d0bc1604725c362e99e59d320a751 | |
parent | 3678211b8801784946ca170f9735f5be3a351060 [diff] |
[dv] Fix shadow reg predict 1. we need to update some internal variable after each write for shadow reg or regwen, which was done at post_write. In the scb, predict may be invoked before this post_write, which causes the issue. Change post_write to pre_do_predict and call it at the begining of do_predict 2. move the 2nd shadow write to csr_utils_pkg and call predict after each write 3. remove one semaphore for shadow reg and couple other variables as not needed now 4. use csr_wr in csr_update to avoid many replicated codes 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).