commit | 789a3dfec861fb520a8792dc26af1b9fd70856c0 | [log] [tgz] |
---|---|---|
author | Eunchan Kim <eunchan@google.com> | Mon Oct 28 23:04:51 2019 -0700 |
committer | Eunchan Kim <eunchan@google.com> | Tue Oct 29 11:14:30 2019 -0700 |
tree | e17b1eba210860ae005a7b454b46702bbdfbf49a | |
parent | 086b703acda59da05d368540398c4eb668b60f34 [diff] |
[reggen] skipto error fix Previous fix #654 wasn't correct. Problem: `skipto` field value should be string as shown in example, not integer. But `rv_plic.hjson.tpl` set it to integer type. It results in to wrap the value with `hex()` to make it string type. This make the rv_plic reports correct error but it let build_docs.py failed. ``` Traceback (most recent call last): File "./util/build_docs.py", line 165, in <module> main() File "./util/build_docs.py", line 151, in main process_all_files() File "./util/build_docs.py", line 127, in process_all_files ... File "/mistletoe/base_renderer.py", line 95, in render return self.render_map[token.__class__.__name__](token) File "util/docgen/lowrisc_renderer.py", line 301, in render_lowrisc_escape if validate.validate(obj) == 0: File "util/reggen/validate.py", line 1363, in validate " which is not a multiple of the register size " + TypeError: 'str' object cannot be interpreted as an integer ``` Resolution: Rolled-back the `validate.py` error report code. And changed `rv_plic.hjson.tpl` to make `skipto` to string type. Issue reported by @asb
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).