commit | 0677219017e53b80296f3bbb926942d629905eb4 | [log] [tgz] |
---|---|---|
author | Srikrishna Iyer <sriyer@google.com> | Thu Mar 24 00:04:41 2022 -0700 |
committer | Srikrishna Iyer <46467186+sriyerg@users.noreply.github.com> | Thu Mar 24 15:48:18 2022 -0700 |
tree | 12904890e82d5bbc73ecf2c6a6d8d4a67b467a7c | |
parent | 3db7ca39807617662e1659be460a837dc5f041f2 [diff] |
[rv_dm dv] Test drive compile-time seed This commit test-drives the compile-time randomization method by introducing a pre-processor macro `BUILD_SEED` which is set to the DVSim generated random seed value. This macro is added to `common_sim_cfg.hjson`, which will apply to all simulators. For RV_DM, the pre-processor macro `RV_DM_JTAG_IDCODE` is removed and in the env package, the `RV_DM_JTAG_IDCODE` parameter is set to the `BUILD_SEED` preprocessor macro instead. On successive simulation runs, the IDCODE value in the design has shown to be set to random values, demonstrating that this method is working. The IDCODE value returns 1 when `--build-seed 1` is passed on the command line. Signed-off-by: Srikrishna Iyer <sriyer@google.com>
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 and our documentation on project organization and processes 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).