commit | d1f3da165b6c43b20c38f9d3dabdfad8bc6e01a8 | [log] [tgz] |
---|---|---|
author | Silvestrs Timofejevs <silvestrst@lowrisc.org> | Mon Jun 08 09:54:15 2020 +0100 |
committer | Sam Elliott <sam@lenary.co.uk> | Mon Jun 08 17:01:14 2020 +0100 |
tree | 8fe54c946fbccde295d8a3145b7362d913017f53 | |
parent | 054c40581027530bcdb7ace0c83f516ff130b204 [diff] |
[sw, dif_plic] Fulfil S1 Checklist DIF_TEST_SANITY requirement DIF_TEST_SANITY (requirement): Sanity tests exist for the DIF in sw/device/tests/dif named dif_<ip>_sanitytest.c. This should perform a basic test of the main datapath of the hardware module by the embedded core, via the DIF, and should be able to be run on all OpenTitan platforms (including FPGA, simulation, and DV). This test will be shared with DV. Sanity tests are for diagnosing major issues in both software and hardware, and with this in mind, they should execute quickly. Initially we expect this kind of test to be written by hardware designers for debugging issues during module development. This happens long before a DIF is implemented, so there are no requirements on how these should work, though we suggest they are placed in sw/device/tests/<ip>/<ip>.c as this has been the convention until now. Later, when a DIF is written, the DIF author is responsible for updating this test to use the DIF, and for moving this test into the aforementioned location. CHANGE: This change renames consecutive_irqs_test to dif_plic_sanitytest, and places the source from sw/device/tests/ to sw/device/tests/dif/. Signed-off-by: Silvestrs Timofejevs <silvestrst@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).