commit | 52fce1573fbce408e13a9aa74466600194d3965d | [log] [tgz] |
---|---|---|
author | Philipp Wagner <phw@lowrisc.org> | Fri Nov 06 15:38:15 2020 +0000 |
committer | Philipp Wagner <mail@philipp-wagner.com> | Wed Nov 11 14:55:37 2020 +0000 |
tree | c34a8f4863d76e07abdd21cd18b6aea0a09bbf19 | |
parent | 3fc9e27df345c5014fa32984f3d13e4f3d5db3c2 [diff] |
[systemtest] Fix timeout handling in find_in_uart0() The timeout never triggered in the test_sim_verilator.find_in_uart0() function due to an optimization which is no longer useful: only every 100 lines we tried to check the timeout. This worked fine when reading log files (where the function originally came from), but isn't working well any more. Besides, the implementation was broken and the counter could never increment properly. Also follow up on a refactoring made a couple days ago, where find_in_files() now can return a subprocess.TimeoutException, which needs to be handled downstream. Signed-off-by: Philipp Wagner <phw@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).