commit | 0242a8b9c4b1be1e287941b5b5f4d1e89cadc059 | [log] [tgz] |
---|---|---|
author | Timothy Trippel <ttrippel@google.com> | Thu Oct 07 01:23:58 2021 +0000 |
committer | moidx <migue48@gmail.com> | Fri Oct 08 15:50:30 2021 -0700 |
tree | 6dffad10947ffa54c29e63140f6af70180df6d09 | |
parent | 9abebb87612201148ab07e754df8802ed2b0ff66 [diff] |
[dif/usbdev] Decouple HW config from DIF handle init. DIF libraries across most IPs have two DIFs for initializing and configuring an IP (respectively): 1. `dif_<ip>_init(...)` initializes an IP DIF handle, and 2. `dif_<ip>_configure(...)` configures an IP with runtime parameters. The usbdev DIF library did not conform to this pattern, rather it combined the intended functionality of both DIFs above into the first DIF listed above, the `dif_<ip>_init(...)` DIF. This commit fixes this and enables the usbdev DIF library to conform to the pattern used by most other DIF libraries, therefore making auto-generation of IRQ integration-tests feasible. Signed-off-by: Timothy Trippel <ttrippel@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).