OpenCores
no use no use 1/1 no use no use
PCI test bench
by bianchi on May 14, 2013
bianchi
Posts: 11
Joined: Apr 15, 2013
Last seen: Oct 27, 2017
Hello Guys,

Does anyone know where I can find a PCI testbench ?
Any links / resources will be very appreciated,

Thank you
RE: PCI test bench
by kuzmi4 on May 14, 2013
kuzmi4
Posts: 45
Joined: Aug 1, 2008
Last seen: Oct 8, 2024
2 bianchi
As I remember, PLDA.COM can give you PCI-TB after registration, with eval. Also Altera have Megacore TB for PCI (ug_pcitestbench.pdf for description).
And what about OpenCores projects?
RE: PCI test bench
by bianchi on May 14, 2013
bianchi
Posts: 11
Joined: Apr 15, 2013
Last seen: Oct 27, 2017
Are there any test bench around here in Open cores ? Free version one for a simple test that it's sending the right data and timing.
Megacore is a paid version one I think, even I can't use the PCI core on Megacore,
too expensive for learning and understanding on how to PCI works

I saw one test bench on :
http://opencores.org/project,pci,home

but how can I remove "Wishbone" from the test ?
and how can I use it with quartus or I need to use Modelsim ?

I have one pci.v and how can I test that code on test bench ?
thank
RE: PCI test bench
by peio on May 14, 2013
peio
Posts: 19
Joined: Nov 25, 2004
Last seen: Dec 20, 2023
Hi,

PCI Megacore is free in the Quartus Web Edition. There, you generate the funtional IP Core and the BFM. The documentation is quite good.
You can use the PCI BFM generated to simulate PCI IP Cores from Opencores o from Altera.

Peio
RE: PCI test bench
by bianchi on May 15, 2013
bianchi
Posts: 11
Joined: Apr 15, 2013
Last seen: Oct 27, 2017
It's not for free.....
Please see the attachment...
pci core.jpg (36 kb)
RE: PCI test bench
by peio on May 15, 2013
peio
Posts: 19
Joined: Nov 25, 2004
Last seen: Dec 20, 2023
ok. You can't synthesize the Altera IP core without license.
In any case you can use the PCI BFMs from Altera to simulate the Opencores pci32tlite IP Core.

Peio
RE: PCI test bench
by bianchi on May 15, 2013
bianchi
Posts: 11
Joined: Apr 15, 2013
Last seen: Oct 27, 2017
ok. You can't synthesize the Altera IP core without license.
In any case you can use the PCI BFMs from Altera to simulate the Opencores pci32tlite IP Core.

Peio


Hi Peio,

What's BFM ? Is that a file *.bfm ? Yea, if it can, it would be nice...
How to do that ? with ModelSim, I tried following the manual from Altera for simulation but some are blocked and can't write to chip ( must have a license ) so expensive for only gaining the understanding of PCI.....
it's not for commercial...
RE: PCI test bench
by bianchi on May 16, 2013
bianchi
Posts: 11
Joined: Apr 15, 2013
Last seen: Oct 27, 2017
I got it "Bus Functional Model", I'm not sure if Altera provide it for free :
http://www.alteraforum.com/forum/showthread.php?t=33040
......So Altera have decided to stop shipping the PCI BFM with their IP...........
RE: PCI test bench
by bianchi on May 16, 2013
bianchi
Posts: 11
Joined: Apr 15, 2013
Last seen: Oct 27, 2017
ok. You can't synthesize the Altera IP core without license.
In any case you can use the PCI BFMs from Altera to simulate the Opencores pci32tlite IP Core.

Peio

do you mean these files ? Please have a look on attachment, thank you
pci_mt32.zip (43 kb)
RE: PCI test bench
by bianchi on May 16, 2013
bianchi
Posts: 11
Joined: Apr 15, 2013
Last seen: Oct 27, 2017
I'm until this far, please see attachment,
How can I use altera_tb.v as my source of simulation ?
thank you
modelsim2.jpg (495 kb)
RE: PCI test bench
by bianchi on May 16, 2013
bianchi
Posts: 11
Joined: Apr 15, 2013
Last seen: Oct 27, 2017
I took it from altera "local_bfm" directory, am I right ?
I don't understand how to use them ?
I compiled them together with my pci.v in my ModelSIM, but I didn't see any response...
anyone has a clue ?

thanks
no use no use 1/1 no use no use
© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.