This is content of my tb.f file.
Thing is that there are two classes in each package that uses each other.
I tried to import each package to another and i get recursive import error, obviously.
Then i tried to typedeff one class to tell compiler that it will be defined later but in that case it says that
Forward declaration for type 'command_transaction' was not defined.. I think it is because these to packages are not in the same scope (because thats how questa works, but i am not sure). How should i overcome this problem.
One more thing. What does creating work library does to my project? I thought i can see all the files that i compiled before in any of the next compiled files, but i am wrong.
Also, i used scripts that wrote someone else and everything that i mentioned above worked perfectly. How to overcome this scope problem in scripts beside importing files one to another?
Any direction where to look is wellcomed.