Skip to content

always_random_inputs

Nicolai Mueller edited this page Sep 12, 2024 · 1 revision

Type

String Array

Default

none - Can be specified if desired.

Description

Specifies all signals that are fresh random inputs. Fresh random signals supply new randomness for each simulated clock cycle, generated by an internal PRNG.

Impact

We recommend to use this setting if your masked design requires fresh (online) randomness.

Examples

"simulation": {   
    "always_random_inputs": [
      "OneBitFreshRand",
      "FiveBitFreshRand[4:0]"
    ]
}

In this example, we specify the signal named OneBitFreshRand and the five-bit vector FiveBitFreshRand as fresh random value.

Clone this wiki locally