So, I’m working on RISCV verification using UVM and as a part of that my TB contains 4 agents namely data,instruction,interrupt and reset. For these 4 agents i created 4 interfaces and also instantiated them in the top module. But when i run the code i get the error as interface_name not defined in the top module for the instance.
Do not post images of your code as they can’t be used to attempt to compile/debug. Instead, you should include the code as part of your post using the appropriate code tags. Better yet, put your code on EDA Playground and provide a link.
You don’t show how you compile your code. Do you compile all files to the same library? Or separate libraries? Are there any syntax errors while compiling?