cocotb-test icon indicating copy to clipboard operation
cocotb-test copied to clipboard

[Enhancement] Specify VCS output executable instead of simv for parallel runs

Open amal-khailtash opened this issue 3 years ago • 2 comments

Using pytest-xdist or pytest-parallel would not work with single generated simv. Specifying a different work_dir does not seem to work either.

Having a way to separate VCS runs (output to a different directory) or a different name for simv would solve this issue.

amal-khailtash avatar Mar 11 '21 15:03 amal-khailtash

Something like this? https://github.com/themperek/cocotb-test/blob/b992e3c3c7644f8581811cd2ca6a01d23f2115b3/tests/test_parameters.py#L53-L54

sim_buld specify where it will be compiled.

themperek avatar Mar 12 '21 16:03 themperek

I guess I was confused between work_dir and sim_build. That could work, but if I wanted to create all tests in the same directory, this would not let me do that. Still a good work around. Thanks.

amal-khailtash avatar Mar 12 '21 19:03 amal-khailtash