Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

AMBA APB verification environment using SV

Status
Not open for further replies.

Ashima 02

Newbie level 2
Joined
Sep 15, 2015
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
13
I am looking for AMBA APB'S RTL as I have to write its verification environment using SystemVerilog.
 

dpaul

Advanced Member level 4
Joined
Jan 16, 2008
Messages
1,490
Helped
307
Reputation
614
Reaction score
304
Trophy points
1,373
Location
Germany
Activity points
11,169
In the simplest form you need to get hold of a APB slave and connect it to your APB BFM (which you have developed in SV). You can then verify master & slave transactions.
Generally ARM, Synopsys provides such slave IPs (if you have the license).
If you are looking for a free one, try opencores.org
 

Ashima 02

Newbie level 2
Joined
Sep 15, 2015
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
13
I am looking for a free RTL code of APB, but unfortunately not getting on opencores or any other site.

How should I proceed?
 

dpaul

Advanced Member level 4
Joined
Jan 16, 2008
Messages
1,490
Helped
307
Reputation
614
Reaction score
304
Trophy points
1,373
Location
Germany
Activity points
11,169
In the worst case you need to write your own slave model.
But it is not the best practice since your target is to develop an APB verification environment. So using a self developed APB slave might be prone to errors and you cannot guarantee that your verification environment is robust.

Have you looked extensively in the internet?
My google search with the phrase "apb slave verilog code" gives this as a first link: https://www.edaplayground.com/s/example/192
See if you can use the design.sv given in the right-hand window as your slave unit.

If the above is not satisfactory then you need to find a free larger design in which there is an existing APB subsystem (there might be some in GitHub or Opencores). From there stip-off an APB slave and use it.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top