Parameters File
The parameters file is a JSON dictionary that can control the testbench and vary the behaviour of testcases, an example of its structure is shown below:
| params.json | |
|---|---|
seed- sets the random number seeding value for thetb.randominstance;verbosity- control the verbosity of different logging hierarchies:tb- sets the global verbosity;tb.int- sets the verbosity of Forastero's internal orchestration and scheduling methods (i.e. those controlling test setup and teardown);tb.test.my_testcase- sets the verbosity for a given testcase;- More information can be found in the logging documentation.
profiling- when included this enables YAPPI profiling of the testbench and writes the profiling data to the given file path;fail_fast- when set totruethis will abort the testcase at the first scoreboard mismatch, when set tofalsethe testcase will be allowed to continue to run after a mismatch but will still report the failure;testcases- set global or specific testcase parameters, see the details in the testcases documentation.
Forastero locates the test parameters file by reading the TEST_PARAMS
environment variable: