commit | ef5bc57ef8f9c06db162afd4fe79129b3eefae4f | [log] [tgz] |
---|---|---|
author | Guillermo Maturana <maturana@google.com> | Fri Jan 28 11:38:29 2022 -0800 |
committer | Matute <maturana@google.com> | Fri Jan 28 15:09:48 2022 -0800 |
tree | 6fe083200969e2324db69cfe2b6c059d338b347a | |
parent | c44ac27e3e27bdd1c4792ceae183073b92eca0d4 [diff] |
[dv/mubi] Fix randomization This changes the distributions for mubi values to be more uniform. The true and false values weights are scaled to the others become uniform. The distributions for 400000 values of mubi4 with weights False=4, True=2, Others=2 become more uniform: a measurement gives mubi 00000000 count 0.017827 mubi 00000001 count 0.017930 mubi 00000002 count 0.017708 mubi 00000003 count 0.017695 mubi 00000004 count 0.017825 mubi 00000005 count 0.499032 mubi 00000006 count 0.017642 mubi 00000007 count 0.018132 mubi 00000008 count 0.017825 mubi 00000009 count 0.017962 mubi 0000000a count 0.250962 mubi 0000000b count 0.018163 mubi 0000000c count 0.018027 mubi 0000000d count 0.017687 mubi 0000000e count 0.017718 mubi 0000000f count 0.017862 The previous code's measurement is shown in the linked issue. Fixes #10257 Signed-off-by: Guillermo Maturana <maturana@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).