FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-15-2005, 03:17 AM
Mike Zhang
Guest
 
Posts: n/a
Default PCI configuration questions.

Hi folks, I am starting to implement a simple PCI core using Spartan-II. I
have already implemented the basic read and write transfer before I find
this IDSEL signal which is used by PCI configuration transfers. My PCI board
just needs to read and write data from/to a fixed address. There is no need
for burst or back-to-back, nor plug-and-play. Do I need to implement the PCI
configuration? How about plug-and-play?

Mike


Reply With Quote
  #2 (permalink)  
Old 09-15-2005, 06:06 AM
Joel Kolstad
Guest
 
Posts: n/a
Default Re: PCI configuration questions.

"Mike Zhang" <[email protected]> wrote in message
news:9Z3We.933$Jm.252@newssv[email protected]. .
> Hi folks, I am starting to implement a simple PCI core using Spartan-II. I
> have already implemented the basic read and write transfer before I find
> this IDSEL signal which is used by PCI configuration transfers. My PCI board
> just needs to read and write data from/to a fixed address. There is no need
> for burst or back-to-back, nor plug-and-play. Do I need to implement the PCI
> configuration? How about plug-and-play?


If you're talking about some sort of embedded system where you know exactly
what all the PCI devices in the system are and where they are in memory, I
suppose you can "get away" with not bothering to implement configuration
reads/writes. However, if this is supposed to be a standard plug-in PCI card
for a PC, Mac, etc., you absolutely need to implement configuration
reads/writes -- without them, the BIOS and OS will have no idea where you card
is, so there's a chance some other card will overlay you card's address space
and cause the system to malfunction, freeze, etc.

Assuming you're getting paid for your engineering time, from what you're
describing, I have a suspicion you'd be better off using some "off the shelf"
PCI interface IC such as those from PLX or Cypress... or at least drop in
Xilinx's (or someone else's) PCI core -- it'll quickly pay for itself!

---Joel Kolstad



Reply With Quote
  #3 (permalink)  
Old 09-15-2005, 07:35 AM
Mike
Guest
 
Posts: n/a
Default Re: PCI configuration questions.

Thank you Joel!
It sounds like there is no short-cut for me on this. Yes, I would have
chosen another route had I not already spent so much time and effort on
this
one. I will stick with this plan and see what happen.
Thanks!

Mike


Joel Kolstad wrote:
> "Mike Zhang" <[email protected]> wrote in message
> news:9Z3We.933$[email protected]. .
> > Hi folks, I am starting to implement a simple PCI core using Spartan-II. I
> > have already implemented the basic read and write transfer before I find
> > this IDSEL signal which is used by PCI configuration transfers. My PCI board
> > just needs to read and write data from/to a fixed address. There is no need
> > for burst or back-to-back, nor plug-and-play. Do I need to implement the PCI
> > configuration? How about plug-and-play?

>
> If you're talking about some sort of embedded system where you know exactly
> what all the PCI devices in the system are and where they are in memory, I
> suppose you can "get away" with not bothering to implement configuration
> reads/writes. However, if this is supposed to be a standard plug-in PCI card
> for a PC, Mac, etc., you absolutely need to implement configuration
> reads/writes -- without them, the BIOS and OS will have no idea where you card
> is, so there's a chance some other card will overlay you card's address space
> and cause the system to malfunction, freeze, etc.
>
> Assuming you're getting paid for your engineering time, from what you're
> describing, I have a suspicion you'd be better off using some "off the shelf"
> PCI interface IC such as those from PLX or Cypress... or at least drop in
> Xilinx's (or someone else's) PCI core -- it'll quickly pay for itself!
>
> ---Joel Kolstad


Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
EDK and ISE questions el_boricua FPGA 1 08-11-2005 07:35 AM
Questions ! NewBie Verilog 2 04-08-2004 08:25 AM
Re: Questions in Altera FPGA MegaCore Compact-PCI Configuration Spaceunder Windows NT Paul Burke FPGA 0 08-06-2003 02:17 PM


All times are GMT +1. The time now is 02:21 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved