Minor fix to the ibex wrapper

Previous ibex wrapper can generate incorrect address / size / mask
combinations. For example, a byte write to 0x1000FFE9 generated the
followin:
Address - 0x1000FFE8
Operation - PutPartialData
Size - 1 byte
Mask - 0010

This combination creates a mask_chk failure inside tlul_err.

The new wrapper (to be replaced by a generic tlul_host_adapter) simply
fixes 'size' to be full.  So the above example becomes
Address - 0x1000FFE8
Operation - PutPartialData
Size - 4 byte
Mask - 0010

This is a legal combination under TLUL as PutPartial commands are
allowed to access less than the full active lanes.  It also conforms
to how the ibex formats its outputs
1 file changed
tree: 43ce28207d3c9749f19790d9c5c458b1f2cf982e
  1. .github/
  2. ci/
  3. doc/
  4. hw/
  5. sw/
  6. util/
  7. .clang-format
  8. .gitignore
  9. .style.yapf
  10. azure-pipelines.yml
  11. CONTRIBUTING.md
  12. index.md
  13. LICENSE
  14. python-requirements.txt
  15. README.md
  16. sitemap.md
README.md

OpenTitan

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.

Documentation

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.

  1. Ensure that you have the required Python modules installed (to be executed in the repository root):
$ sudo apt install python3 python3-pip
$ pip3 install --user -r python-requirements.txt
  1. Execute the build script:
$ ./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.

How to contribute

Have a look at CONTRIBUTING.md for guidelines how to contribute code to this repository.

Licensing

Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).