Trying to run the UART TB example from the most current release.
Have followed the Getting Started instructions where I have my own folder sitting parallel to the UVVM download and I have compiled the uvvm_util library and the uvvm_vvc_framework library. Both of these libraries sit inside a ‘sim’ folder in my own workspace folder.
Now trying to run the shipped bitvis_uart example.
Don’t want to compile and run stuff within the UVVM_master downloaded directory, I want to run it in my workspace folder where I previously compiled the utils & vvc_framework libs.
Tried copying the bitvis_uart folder into my workspace folder.
Then following the testbench_guide.pdf from the uart_tb folder, it tells me to run sims from the bitvis_uart/sim folder and to execute the command ‘do …/script/compile_all_and_simulate.do’
I get this error:
** Error: Cannot open macro file: …/…/script/compile_src.do
Error in macro C:/graemej/Design_Data/UVVM/Graeme_UVVM_Workspace/bitvis_uart/script/compile_dependencies.do line 27
Cannot open macro file: …/…/script/compile_src.do
Looks like the scripts rely on a relative path that i can’t seem to override with an argument
What am I doing wrong ?
The PDF instructions work as long as I don’t try copying the bitvis_uart & bitvis_vip_uart folders into my own workspace folder where I compiled the base libraries.
Seems I have to run the examples from within the uvvm unzipped download or else the relative paths in the scripts results in compile errors.
I’m surprised as if any customer following design assurance would have the downloaded base libraries set as read only so that they cannot be modified (unless you have admin permissions).
I would expect to copy examples from the install directory into my own workspace and run things where I have write access.
Yes, and you can as long as you keep all relative paths, and I do not see why they should be changed when copied. The run script expects to find source files somewhere relative to where the script is called from, and also any other script that needs to be run.
Absolute paths would not work.