commit | 97da1d1dc7bcec9b9b278ef65929ddc453a18726 | [log] [tgz] |
---|---|---|
author | Rupert Swarbrick <rswarbrick@lowrisc.org> | Thu Dec 03 16:28:05 2020 +0000 |
committer | Rupert Swarbrick <rswarbrick@gmail.com> | Tue Dec 08 08:42:14 2020 +0000 |
tree | 933ccafd984979a2e317a619937a7d9e6e35da07 | |
parent | 249a544e5ddf6cb522159f0373fef6cecf861549 [diff] |
[dv] Make width conversion explicit in dv_base_env_cfg::initialize This is needed if BUS_AW doesn't equal `UVM_REG_ADDR_WIDTH. The implicit (unsigned) conversion will do the right thing if csr_base_addr is a fixed value, but will zero-extend '1 to something like 0x00000000ffffffff if BUS_AW = 32 and `UVM_REG_ADDR_WIDTH == 64, which breaks the magic address handling in set_base_addr. 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).