commit | 5a5cfc474a22641c18eeb27c2f0b3d631f7758ff | [log] [tgz] |
---|---|---|
author | Rupert Swarbrick <rswarbrick@lowrisc.org> | Fri Apr 16 16:31:53 2021 +0100 |
committer | Rupert Swarbrick <rswarbrick@gmail.com> | Sun Apr 18 16:31:48 2021 +0100 |
tree | aa666ca464fa45bea315261b6b0e7081f286aff0 | |
parent | 8ca4c447c6165767cdb9493c26f3cea6c0079a92 [diff] |
[clkmgr] Avoid generating unused root-gated clocks In top_earlgrey, the "io" clock is only used for feeding clock dividers and its gated version ("clk_io_root") is unused. Teach topgen.py to be more careful when constructing rg_srcs, so that it only adds a clock name if that clock is either exposed in clocks_o or really is a source for some other clock. While getting my head around the code, I also rejigged things a bit to make them easier to understand (and easier to construct "rg_srcs_set"), adding some comments about what the different dictionaries mean. Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.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 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).