eine on master
docs/about: fixed typo from "GD… (compare)
py run.py '<library_name_set>.<testbench_name_set>.<test-case-name_set>' -v
You can pass the dictionary as string or as the path to a file. Optionally, you can encode the string:
TB.get_tests("stringified*").set_generic("tb_cfg", JSON_STR) TB.get_tests("b16encoded stringified*").set_generic("tb_cfg", b16encode(JSON_STR)) TB.get_tests("JSON file*").set_generic("tb_cfg", JSON_FILE) TB.get_tests("b16encoded JSON file*").set_generic("tb_cfg", b16encode(str(TEST_PATH / JSON_FILE)))
You only need one of those. The four of them are used in the example for illustration.
Q> While running simulation using ModelSim, I am always getting the warning: " Warning: There is an 'U'|'X'|'W'|'Z'|'-' in an arithmetic operand, the result will be 'X'(es)." and I want to get rid of this warning. How can I do it?
What I did and is not working>
Is there any other things I can try out from run.py?
@dpaul24 You're using
allow_empty=True. Is that because it didn't find any testbenches? Note that the sim option only applies to testbenches added before the sim option was set.
Well I did not give it much thought, I just think it would be safe to use the TRUE setting. btw - All my TBs are loaded I use vu_prj.set_sim_option("disable_ieee_warnings", True, allow_empty=True)