commit | ec839fad82a760f60f95ceabf58be9af55d01d8d | [log] [tgz] |
---|---|---|
author | Rupert Swarbrick <rswarbrick@lowrisc.org> | Wed Jan 06 09:25:26 2021 +0000 |
committer | Rupert Swarbrick <rswarbrick@gmail.com> | Wed Jan 06 10:51:17 2021 +0000 |
tree | bbd890569377190478f8fc94c52fac662554d676 | |
parent | 3b86f302a1d3ad6c2d6f10887ab1a486037800f8 [diff] |
[verilator] Only control the reset line when necessary The previous code was calling SetReset() and then UnsetReset() for every cycle after the initial reset, which I noticed because I was using a watchpoint to debug something else. This seems a bit unnecessary, so this patch gets rid of that. It also changes the logic to only call SetReset() and UnsetReset() on the "edges". This should be equivalent, but it's a bit more obvious what's going on. 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).