cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
561 Views
Registered: ‎10-04-2018

AXI VIP Usage

Dear Forum,

Please help to use AXI VIP in my design.

So based on users doc to user AXI VIP I need to 

1) import <component_name>_pkg

2) declare agent

3) start agent

However when I import the <component_name>_pkg, vivado gives elaboration error. It is not able to find the imported package.

 

vivado1.png

And this is the error:

vivado2.png

Please help to use AXI VIP. I also reviewed the AXI VIP example design, in that design instate of <component_name>_pkg the <instance_name>_pkg is imported,

and agent was created by <instance_name>_mst_t agent statement. So is this right?

I have tried with this way i.e. used <instance_name> instead of <component_name> than the agent calling gives error.

 

Thanks

H

 

 

0 Kudos
4 Replies
Highlighted
Adventurer
Adventurer
511 Views
Registered: ‎10-04-2018

 

Any updates on this?

0 Kudos
Highlighted
Adventurer
Adventurer
503 Views
Registered: ‎10-12-2018

Hi @hayk.petr

I do not know if you have solved your problem yet.

It seems you have done correctly in the code, but I am suspicious that if you configured your AXI VIP properly in your block design.

I had such a problem before.

Regards,

Amir

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
488 Views
Registered: ‎10-04-2016

Hi @hayk.petr

The line is incorrect:

import axi_vip_0_pkg::; 

It should be

import design_1_axi_vip_0_1_pkg::;

The package for your second instance of the AXI VIP should be like this:

import design_1_axi_vip_0_2_pkg::;

Regards,

Deanna

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
Highlighted
Adventurer
Adventurer
478 Views
Registered: ‎10-04-2018

@demarco thanks for the answer

Please take a look on pg267, page 48, where is written that component_name is master name and not instance name.

But your suggestion worked.

0 Kudos