You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using tb_path(runner_cfg) in a testbench to get the path of the current testbench, and to read stimuli files from that folder.
If I turn on check/location preprocessing with ui.enable_check_preprocessing() / ui.enable_location_preprocessing(), tb_path returns a path inside vunit_out/preprocessed/.
This doesn't work, because this directory doesn't contain the stimuli files.
Is there a way to get the original path containing the testbench that works regardless whether preprocessing is turned on or not?
The text was updated successfully, but these errors were encountered:
You can always create your own path to the test data in Python and set another generic which will work regardless of preprocessing. Anyway we could fix such that the tb_path generic works regardless of preprocessing as well.
I'm using
tb_path(runner_cfg)
in a testbench to get the path of the current testbench, and to read stimuli files from that folder.If I turn on check/location preprocessing with
ui.enable_check_preprocessing()
/ui.enable_location_preprocessing()
, tb_path returns a path insidevunit_out/preprocessed/
.This doesn't work, because this directory doesn't contain the stimuli files.
Is there a way to get the original path containing the testbench that works regardless whether preprocessing is turned on or not?
The text was updated successfully, but these errors were encountered: