commit | 8a1b32dffa2c0512c21db6ee1df246ab18ce841c | [log] [tgz] |
---|---|---|
author | Timothy Trippel <ttrippel@google.com> | Wed Oct 13 23:25:23 2021 +0000 |
committer | Srikrishna Iyer <46467186+sriyerg@users.noreply.github.com> | Thu Oct 14 12:09:14 2021 -0700 |
tree | a53f5be9c213158730632517dc90fe97272c8f64 | |
parent | 45efcde3ed95a1da8d69afbfd6934964358c5e0a [diff] |
[dif/alert_handler] Remove need to pass in HW params. This partially addresses #8409, with respect to the Clock Manager. Templated IPs (which have the `templated` attribute in the `<toplevel>.hjson` file) **_may_** have DIFs that require extra bits of information related to the specific toplevel instantiation of said IP for DIF arg-checking purposes. This toplevel instantiation specific information was most recently encapsulated in the `dif_<ip>_params_t` struct, which was manually defined in the Clock Manager's DIF header file, and passed in as an argument to various DIFs. However, the information contained in this struct is was added as an autogenerated param in the `alert_handler_regs.h` header file in the previous commit. Therefore to reduce usage complexity, the `dif_clkmgr_params_t` struct was deprecated, and the required parameter information is used directly from the `clkmgr_regs.h` header file throughout the various Clock Manager DIFs that require this information. 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).