commit | 13678cf45bf257cca6c43e389efdad546cdb66a0 | [log] [tgz] |
---|---|---|
author | Eunchan Kim <eunchan@google.com> | Tue Oct 22 11:10:29 2019 -0700 |
committer | Eunchan Kim <eunchan@google.com> | Tue Oct 22 14:06:39 2019 -0700 |
tree | 834a4a4013a372e56405341ea4722b79d8378dc9 | |
parent | 327ba7e7bde8e971ccebb588164e6c9df47fdb99 [diff] |
[hmac] Add Error Reponse for Read of MSG HMAC MSG FIFO is not a generic memory. It has a range of address space (from offset 0x800 to 0xFFF in a HMAC IP) but all writes to the region fall into a entry in the Message FIFO. The characteristic of the MSG FIFO in the HMAC results in a test failure of DV R/W to the MSG FIFO. Why it tries R/W to the MSG FIFO? well, as it is defined as window in `ip.hjson`, it creates UVM memory model by the tool. So, it needs explict waiver to work around. Now the MSG FIFO has `swaccess` type as `wo`. It shouldn't create the R/W test by default. But it is still useful to notify the software whether it tries to read from the MSG FIFO or not. @tjaychen added a Paramter to `tlul_adapter_sram`. It is `ErrOnRead` to report error on any read request. This paramter value is set to 1 for MSG FIFO now. This is related to #236
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.
The project contains comprehensive documentation of all IPs and tools. You can either access it online or build it locally by following the steps below.
$ sudo apt install python3 python3-pip $ pip3 install --user -r python-requirements.txt
$ ./util/build_docs.py --preview
This compiles the documentation into ./opentitan-docs
and starts a local server, which allows you to access the documentation at http://127.0.0.1:5500.
Have a look at CONTRIBUTING.md for guidelines 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).