commit | c041ff798c0647fb4508abbe2d926b86c3f0e666 | [log] [tgz] |
---|---|---|
author | Philipp Wagner <phw@lowrisc.org> | Wed May 20 10:00:40 2020 +0100 |
committer | Philipp Wagner <mail@philipp-wagner.com> | Wed May 20 23:08:20 2020 +0100 |
tree | 1748929aa7e1df71be0b3745fe3fbfda6ac67f51 | |
parent | edaff6e549b1768d8d6d6cbe795e6622460b0430 [diff] |
[dvsim] Enable round-trip of env variables into log Environment variables are read by the dvsim tool and written back into a log file. We define this log file as being UTF-8 encoded. The contents of self.exports (read through os.environ()) are, however, locale-dependent. Python retains the UTF-8 bytes it cannot decode in the system locale in the string within a private Unicode coding space. This patch enables writing them back into the log file. An orthogonal (and desirable) fix is to change the CI runners to use UTF-8 locales. 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).