commit | 8b1fbfeb5a1801ed8653bb10d4940947860b0f5b | [log] [tgz] |
---|---|---|
author | Rupert Swarbrick <rswarbrick@lowrisc.org> | Tue Aug 17 13:32:05 2021 +0100 |
committer | Rupert Swarbrick <rswarbrick@gmail.com> | Wed Aug 18 10:49:19 2021 +0100 |
tree | e6b6ad494cd363040251e45a9431e69f41c1f390 | |
parent | d714906428d1fa0b9b873c2f472799c5dab00810 [diff] |
[otbn,dv] Fix logic in "deep loop" generator This generator tries to generate a deep stack of nested loops, until it blows the HW stack. Since we don't actually want to complete any of these loops, it's supposed to pick bodysizes so that the loops end on addresses that are out of range or have already got instructions. The trick is that, because we never go back to code that we've visited before, this ensures the loops will never complete. Unfortunately, I got the check backwards! Interestingly, it doesn't matter most of the time, but it *does* cause explosions if guess == 1. 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 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).