Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

PCI interface with FPGA

Please if anyone can guide me how to input the data in FPGA through PCI interface

i will be obliged if u tell the steps to follow

regards

uzmeed

15 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi

    Dave thanx again

    yes here is the link to the datasheet

    as im unable to post a link so u please go to website of

    gage-applied.com

    and then follow the link

    Products/PDF/Octopus_CS82XX.pdf

    this data sheet is that of 82xx but i will be using 83xx (some how unable to open it )

    i wil be using 8 channel 100MHz sampling rate with 14 bit digitization

    i hope u can help me more in this regard

    thanx

    uzmeed
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    If you have a digitizer board, then do you have a link to its data sheet?

    Does the board have an FPGA or a PCI chip for the PCI interface? Provide details.

    How fast does your digitizer operate?

    How fast does your PCI interface operate? Eg., 33MHz clock/32-bit, or 66MHz clock/64-bit, or what?

    The PCI bus can perform up to say 40MB/s pretty easily using a Master interface, eg. your board DMAing to host memory (a PC).

    Cheers,

    Dave
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    thnak u dave

    u ans atleast set the direction for me

    let me explain more

    i hav a digitizer board that output data on PCI interface the work i have to do is that i hav to pick the data from PCI at the rate it is sampled

    regards

    uzmeed
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Please provide more details, eg., do you have a board with an FPGA already on it, if so, what FPGA?

    There are two types of PCI devices; masters and targets.

    Targets are pretty simple and dumb. They can respond to reads and writes on the PCI bus, and their performance is pretty slow. However, if all you need to do is blink an LED, then a PCI target might work for you. I recall seeing a PCI Lite core mentioned in the Embedded IP and Peripherals guide.

    http://www.altera.com/literature/ug/ug_embedded_ip.pdf

    If you need high performance over the PCI bus, then you need a PCI master interface. A PCI master interface can become the 'master' of the PCI bus, and it initiates PCI reads and writes. The master interface normally contains a DMA controller to perform read and write transactions.

    If you are designing a board, then you need to determine the cost of the PCI master/target core (or the cost of writing one) relative to the use of something like a PLX Technologies PCI Master/Target interface chip, eg. the PCI9054 (or some of the newer devices).

    The device drivers for PCI interfaces are pretty simple. I can point you to code examples for Linux if you need them.

    Cheers,

    Dave