commit | 5757ffcb79b257601595ec7f2bc15c798584db9b | [log] [tgz] |
---|---|---|
author | Cindy Chen <chencindy@opentitan.org> | Mon Aug 09 14:13:58 2021 -0700 |
committer | cindychip <cindy.chen0316@gmail.com> | Mon Aug 09 17:44:38 2021 -0700 |
tree | 3ab6c0cc3e1de42a7b627490f7391b19eea1a52f | |
parent | 90226aa89bff956ab95ea5bee5f7e4a0985018a7 [diff] |
[dv/gpio] fix intr_test regression failure This PR fixes intr_test failure in gpio. The root cause is the recent change in intr_test procedure. We used to: 1). write all interrupt related registers. 2). read all interrupt related registers, and compare the value with mirrored vale from scb prediction. The recent changes step 2). Now 2). Get mirrored value from RAL, then read all interrupt registers and compare the read value with stored mirrored value. This change makes sense but does not work for GPIO, because GPIO scoreboard has a cycle accurate model and it won't update intr_state values until next TL read's address phase. To solve this issue, we ignore the cycle accurate model and just call csr predict right after csr write operation. Thanks Weicai for helping out with this issue. Signed-off-by: Cindy Chen <chencindy@opentitan.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 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).