| commit | 876de558dc1e58d00c7742bb25e115ca23f96096 | [log] [tgz] |
|---|---|---|
| author | Srikrishna Iyer <sriyer@google.com> | Fri Apr 08 00:29:43 2022 -0700 |
| committer | Srikrishna Iyer <46467186+sriyerg@users.noreply.github.com> | Fri Apr 08 11:33:01 2022 -0700 |
| tree | 5181dcc0db927b8059bfe75d38c3ecac9d94d121 | |
| parent | 30036d2dfa7026067646c7610f7f31ffa49df626 [diff] |
[chip dv] Fix coverage collection for chip XBAR tests The coverage on all functional hierarchies were inadvertantly being collected on chip level XBAR tests, which are supposed to stub all TL hosts and devices. This was causing a larger coverge numbers to be reported than intended. This commit fixes that. We add ` xbar_build_mode` as a replacement for the `default` build mode. This is done so, so that the chip level testbench which reuses XBAR tests can append / override `xbar_build_mode` with additional build-time settings. We use this method to specify the right coverage collection hierarchy file for the XBAR tests. This coverage collection hierarchy file is the same one as the one use for the chip level `cover_reg_top` build mode - which restricts the coverage collection only to TL interfaces on all hosts and devices. Signed-off-by: Srikrishna Iyer <sriyer@google.com>

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]({{< relref “CONTRIBUTING.md” >}}) 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).