-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
Description
My project has multiple submodules inside the lib folder which are structured as shown below:
lib/osvvm
lib/OSVVM-AXI4 <- has been renamed from AXI4
lib/OSVVM-Common
lib/OSVVM-Scripts
lib/OSVVM-UART <- has been renamed from UART
...
To avoid name collisions I renamed the AXI4 folder to OSVVM-AXI4 (and adjusted the .pro accordingly). This caused all tests to fail.
Exemplary for this testcase:
%% 2350 ns Log PASSED in Default, TryCount 32
%% 2370 ns Alert ERROR in Default, File, C:/Projects/PoC/lib/AXI4/AxiStream/ValidatedResults//TbStream_AxiSetOptionsBurstCheckAsync3.log, did not open
%% 2370 ns DONE FAILED TbStream_AxiSetOptionsBurstCheckAsync3 Total Error(s) = 1 Failures: 0 Errors: 1 Warnings: 0 Passed: 483 Affirmations Checked: 484
Root cause
Inside AxiStream/TestCases/OsvvmTestCommonPgk.vhd the path to the validated results is defined generically as follows:
constant OSVVM_VALIDATED_RESULTS_DIR : string := osvvm.OsvvmScriptSettingsPkg.OSVVM_HOME_DIRECTORY & "/AXI4/AxiStream/ValidatedResults/" ;Previously this constant was defined relatively:
constant OSVVM_PATH_TO_TESTS : string := "../../OsvvmLibraries/" ;Can this path constant be created without depending on the folder name?
Workaround
For now I just changed the path manually (and removed the extra "/"):
constant OSVVM_VALIDATED_RESULTS_DIR : string := osvvm.OsvvmScriptSettingsPkg.OSVVM_HOME_DIRECTORY & "/OSVVM-AXI4/AxiStream/ValidatedResults" ;/cc @Paebbels
Paebbels
Metadata
Metadata
Assignees
Labels
No labels