Continue to Site

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.

[help] How to access PCI bus

Status
Not open for further replies.

123456vn

Newbie level 1
Joined
Sep 12, 2005
Messages
0
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,280
Activity points
1,289
Hello everybody!
I'm developing an ADDA card on PCI bus. The first stage I need to do is to access PCI bus. But I don't know how to do that. Could you help me?
 

hi to access the PCI bus you need to get hold of the PCI config space and cycle around the devices in it till you get the device that you want to control. one you get the base address of the device you want to control in the memory, you can use the IO commands. search for PCI config space in google and you will get sample code.
 

  • Like
Reactions: mig29

    mig29

    Points: 2
    Helpful Answer Positive Rating
Hi Anacoda,

Assuming that this is a personal project, using BDS XPCI PCI IP core might help you at least with the PCI interface part of the design.
BDS XPCI PCI IP core is a Xilinx (TM) LogiCORE (TM) PCI compatible (replacement) PCI IP core.
32-bit version BDS XPCI32 PCI IP core is available for as little as $100 for non-commercial, non-profit, personal use, and the same 64-bit version BDS XPCI64 PCI IP core (Includes BDS XPCI32 PCI IP core) goes for $200.
Since the pricing starts at only $100, it is ideal for HDL learners, FPGA beginners, FPGA hobbyists, computer hardware enthusiasts, or student graduation projects.
BDS XPCI PCI IP core comes with a PCI testbench for Verilog HDL which allows the user to simulate the design extensively on HDL simulators before firing up the FPGA.
ModelSim including ModelSim XE is supported by BDS XPCI PCI IP core, and the next release of BDS XPCI PCI IP core will support a $50 Verilog HDL simulator called Veritak by Sugawara Systems (http://www.sugawara-systems.com) as a low cost alternative to ModelSim XE. (Current version doesn't function properly in Veritak, but the problem has been fixed.)
VHDL support is currently poor, but VHDL porting of reference designs and PCI testbench should be available in a month. (Porting has been taking a little longer than expected.)
BDS XPCI PCI IP core officially supports the following PCI boards.

- Insight Electronics Spartan-II 150 PCI (Already discontinued)

- Insight Electronics Spartan-II 200 PCI Development Kit
**broken link removed**


BDS XPCI PCI IP core "unofficially" supports the following PCI boards.

- Avnet Xilinx Spartan-3 Evaluation Kit
http://www.em.avnet.com/evk/home/0,...8806%26PVW%3D%26BID%3DDF2%26CTP%3DEVK,00.html
http://www.em.avnet.com/ctf_shared/evk/df2df2usa/Xilinx Spartan-3 Evaluation Kit - Brief 022504F.pdf

- Enterpoint Broaddown2 Development Board
http://www.enterpoint.co.uk/moelbryn/broaddown2.html


So with BDS XPCI PCI IP core, almost anyone can make their own PCI device for about $450 to $550. ($300 to $400 for the board + $100 for BDS XPCI32 PCI IP core + $50 for Veritak.)
For commercial users who want to modify a Xilinx LogiCORE PCI or want to convert a design that uses Xilinx LogiCORE PCI to an ASIC (FPGA to ASIC conversion), BDS XPCI PCI IP core is also available in Verilog HDL RTL.
For more information, visit Brace Design Solutions website at http://www.bracedesignsolutions.com.


Kevin Brace


123456vn said:
Hello everybody!
I'm developing an ADDA card on PCI bus. The first stage I need to do is to access PCI bus. But I don't know how to do that. Could you help me?


--
Brace Design Solutions
Xilinx (TM) LogiCORE (TM) PCI compatible BDS XPCI PCI IP core available for as little as $100 for non-commercial, non-profit, personal use.
http://www.bracedesignsolutions.com

Xilinx and LogiCORE are registered trademarks of Xilinx, Inc.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top