commit | a3992aa1ddb69f325c4c2a3909f58e8f310736f9 | [log] [tgz] |
---|---|---|
author | Cindy Chen <chencindy@opentitan.org> | Mon Nov 15 13:30:59 2021 -0800 |
committer | cindychip <cindy.chen0316@gmail.com> | Mon Nov 15 16:50:35 2021 -0800 |
tree | ee554c5170e90bd761712fee2f92a259f3ac7e3c | |
parent | 20dc84342da47ab62bcdd0991817e38237823d28 [diff] |
[fpv] Fix some assumptions in prim_count This PR fixes some assumptions in prim_count for cross mode. 1). The down counter underflow assumption used `%` that could be very complex for FPV. I slightly change the assumption to avoid `%`. 2). Underflow and overflow assumptions should apply to all cross counters because they have up and down counters. 3). ASSERT_INIT for FPV is only used for parameters and constants, thus does not apply to the wire. Excluded that assertion check for simulation only. Signed-off-by: Cindy Chen <chencindy@opentitan.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).