commit | 8a0c2cb5e14708ce16e1c41c444037a2932dc24f | [log] [tgz] |
---|---|---|
author | Miguel Young de la Sota <mcyoung@google.com> | Mon Oct 21 12:45:50 2019 -0500 |
committer | Miguel Young <mcyoung@google.com> | Wed Oct 23 10:11:26 2019 -0500 |
tree | 0a72a5a423906c994f733ef6e17613bddb2abf9f | |
parent | 6c2a57c7517547a1a481cd1f030ef0c3dee95266 [diff] |
[test] Add an FPGA test executor, similar to the Verilator executor. The new test executor, functional_fpga_test.py, is similar to the existing Verilator executor, but rather than accepting the Verilator model, a boot loader, and a binary (in vmem form) it accepts a spiflash executable, a /dev path (the UART port for the FPGA) and the binary. Much like the Verilator test requires building the Verilator model, this test expects a ROM-spliced bitfile has already been flashed to the FPGA. This test does not provide everything necessary to do a full FPGA test; it instead serves as a starting point for future test executors and, more importantly, provides a smoketest for the FPGA flow.
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.
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 python3 python3-pip $ pip3 install --user -r python-requirements.txt
$ ./util/build_docs.py --preview
This compiles the documentation into ./opentitan-docs
and starts a local server, which allows you to access the documentation at http://127.0.0.1:5500.
Have a look at CONTRIBUTING.md for guidelines 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).