commit | 49ef1c5f4f96c9c151ab18a0cbf7d55508794658 | [log] [tgz] |
---|---|---|
author | Silvestrs Timofejevs <silvestrst@lowrisc.org> | Wed Jan 15 16:27:07 2020 +0000 |
committer | Philipp Wagner <mail@philipp-wagner.com> | Fri Feb 21 14:05:52 2020 +0000 |
tree | 8c04a7351b2bb8ea909d6a238bc77674ccda989d | |
parent | c001558b51e45f8211b3f917404935eb12954c04 [diff] |
[sw, tests] Introduce a test to handle two different consecutive IRQs The purpose of this test is to validate external interrupt delivery from peripheral to the target. The aim is not to test the entire PLIC or entirety of the peripherals, but to ensure that two different IRQs can interrupt the processor and be successfully handled. For the purpose of this test the UART peripheral is used as the origin of the interrupts, and the interrupted target is Ibex (the only target in current Earl Grey implementation). This test ensures (in terms of UART RX Overflow and TX Empty IRQ sources, and Ibex target): * That PLIC getaway receives and handles an IRQ correctly. * That PLIC Core and Target modules handle an IRQ correctly. * That an IRQ can interrupt the target. * That an IRQ can be cleared and a new IRQ can be processed. The reason for introducing this test was an issues we had previously with the IRQ delivery on the FPGA, see issue #1355 for more details. This test can be run by CI, and used manually to test the IRQs on an FPGA. Fixes: #1402 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 either access it online or build it locally by following the steps below.
$ sudo apt install curl python3 python3-pip $ pip3 install --user -r python-requirements.txt
$ ./util/build_docs.py --preview
This compiles the documentation into ./build/docs
and starts a local server, which allows you to access the documentation at http://127.0.0.1:1313.
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).