commit | 0c49992bc0b713f91bb7ba01cd78eaf89f49d04a | [log] [tgz] |
---|---|---|
author | Rupert Swarbrick <rswarbrick@lowrisc.org> | Fri Mar 26 11:05:20 2021 +0000 |
committer | Rupert Swarbrick <rswarbrick@gmail.com> | Sun Mar 28 15:57:15 2021 +0100 |
tree | dd764a77dc86ca826c2a9dc7ce68cfa2407a673c | |
parent | c7a5044e87da31cf4b4d8bb62a9c0f7ac639bdab [diff] |
[kmac] Fix app_config_t to work with Verilator Verilator doesn't have proper support for unpacked structs. Since we don't need one here, we can just declare app_config_t to be packed. Also, it seems to have rather strange behaviour with int enums when used as fields in a struct. I've reported this on the Verilator bug tracker as issue #2855 but there's an easy workaround here, which is probably what we'd want for synthesizable code anyway. Signed-off-by: Rupert Swarbrick <rswarbrick@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).