| commit | 28bb472711ae4174840ad6a7011a7e1c4a938077 | [log] [tgz] |
|---|---|---|
| author | Rupert Swarbrick <rswarbrick@lowrisc.org> | Mon Jan 11 08:25:33 2021 +0000 |
| committer | Rupert Swarbrick <rswarbrick@gmail.com> | Mon Jan 11 11:43:39 2021 +0000 |
| tree | f24106e2d7ae68f17f247c52ac7c4d91337b9774 | |
| parent | 1e4989944a3d9657aca16a5a968dc2b7f32d0be4 [diff] |
[prim] Teach verilator to recognise a clock gate This avoids an UNOPTFLAT warning, and should speed up simulation a bit. Quoting from the Verilator manual: > The clock_enable attribute will cause the clock gate to be ignored > in the scheduling algorithm, sometimes required for correct clock > behavior, and always improving performance. It's also a good idea to > enable the IMPERFECTSCH warning, to ensure all clock enables are > properly recognized. Adding the IMPERFECTSCH warning throws up LOTS of cases, unrelated to this patch, so I'm not convinced that's worth doing at the moment (it probably shows there are some low-hanging simulation performance improvements though). 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).