OpenCores
no use no use 1/1 no use no use
Connecting single PCI device to FPGA
by Unknown on Jul 16, 2007
Not available!
Hi everyone,

I am very new to the PCI bus system but currently, my project requires
me to access and control a single PCI32 device using the FPGA. The PCI
device that I am trying to access is a PCI-32bit device working at
33MHz and the FPGA that I am using is a Spartan-3 FPGA. I would like
to implement a simple hardware-based controller and would like to
avoid implementing any cpu architecture on the FPGA. I believe finding
a core is the easiest way to do this.

If my understanding about the PCI bus system is correct, I believe I
would need a core that could make your FPGA to interface and control a
PCI32 device. However, I have tried looking at several PCI32
controller cores on the web, but it seems to me that most of the cores
are for turning your FPGA into PCI32 device BUT not to control another
PCI32 device.

Please advise if my understanding is wrong. I would greatly
appreciated any opinion from any of you on what is the easiest way to
control a single PCI32 device using an FPGA.

Connecting single PCI device to FPGA
by Unknown on Jul 16, 2007
Not available!
Hi, 1. A PCI32 device can be controlled just by using some simple buffers also; it all depends upon the exact application and the target device. 2. Using the PCI core at opencores also you can control a PCI32 target. The opencores has a master as well as a target interface. For your application you just have to remove the target part. Of course you will have to do a lot because opencores PCI is made for WISHBONE bus. You will to have to write some converter between WISHBONE and your processor bus. 3. If you can provide some more details then I may be able to give some more suggestions. With regards Pankaj Pailwar Bangalore ----- Original Message ----- From: yasirmm at gmail.comyasirmm at g...> To: Date: Mon Jul 16 09:12:49 CEST 2007 Subject: [oc] Connecting single PCI device to FPGA
Hi everyone,

I am very new to the PCI bus system but currently, my project
requires
me to access and control a single PCI32 device using the FPGA. The
PCI
device that I am trying to access is a PCI-32bit device working at
33MHz and the FPGA that I am using is a Spartan-3 FPGA. I would
like
to implement a simple hardware-based controller and would like to
avoid implementing any cpu architecture on the FPGA. I believe
finding
a core is the easiest way to do this.
If my understanding about the PCI bus system is correct, I believe
I
would need a core that could make your FPGA to interface and
control a
PCI32 device. However, I have tried looking at several PCI32
controller cores on the web, but it seems to me that most of the
cores
are for turning your FPGA into PCI32 device BUT not to control
another
PCI32 device.
Please advise if my understanding is wrong. I would greatly
appreciated any opinion from any of you on what is the easiest way
to
control a single PCI32 device using an FPGA.




Connecting single PCI device to FPGA
by Unknown on Jul 17, 2007
Not available!
yasirmm at gmail.com wrote:
If my understanding about the PCI bus system is correct, I believe I
would need a core that could make your FPGA to interface and control a
PCI32 device. However, I have tried looking at several PCI32
controller cores on the web, but it seems to me that most of the cores
are for turning your FPGA into PCI32 device BUT not to control another
PCI32 device.
The opencores PCI core _can_ be configured as a PCI HOST so in theory you could use this to 'control' your PCI device. Check out Section 3.1.2. of the PCI IP Core Specification document on opencores. You will still need some sort of processor (unless you're a fan of coding long state machines I suppose) to configure both the device's configuration registers and the PCI core registers (though I suppose in a known configuration the latter could be hard-wired at compilation time). Regards, -- Mark McDougall, Engineer Virtual Logic Pty Ltd, http://www.vl.com.au> 21-25 King St, Rockdale, 2216 Ph: +612-9599-3255 Fax: +612-9599-3266
Connecting single PCI device to FPGA
by Unknown on Jul 18, 2007
Not available!
Hi, Thank you very much for the replies guys. My project aim is to get an FPGA to be able to communicate with the PC through a 1394b interface. To do this I am using a TSB82AA2 Lynx chip and a TSB81BA3 chip as a 1394b interface controller. Quoting from the datasheet: "The TSB82AA2 OHCI-Lynx operates as the interface between a 33-MHz/64-bit or 33-MHz/32-bit PCI local bus and a compatible 1394b PHY-layer device". Therefore, the FPGA will have to be interfaced as a PCI local bus to the TSB82AA2. Currently I am facing two problems: 1. How to control the Lynx Chip as PCI local bus, and 2. How, if Im using a PCI core, to actually connect the signals from the PCI core to the TSB82AA2 as both have the same exact signals on them. (For example, signal Request is an input on FPGA core as well as on the TSB82AA2) Thank you very much! Yasir p/s: Pankaj Pailwar, could you please explain: "A PCI32 device can be controlled just by using some simple buffers" Looks very interesting. Thanks! ----- Original Message ----- From: pankaj.pailwar at gmail.compankaj.pailwar at g...> To: Date: Mon Jul 16 15:31:40 CEST 2007 Subject: [oc] Connecting single PCI device to FPGA
Hi, 1. A PCI32 device can be controlled just by using some simple buffers also; it all depends upon the exact application and the target device. 2. Using the PCI core at opencores also you can control a PCI32 target. The opencores has a master as well as a target interface. For your application you just have to remove the target part. Of course you will have to do a lot because opencores PCI is made for WISHBONE bus. You will to have to write some converter between WISHBONE and your processor bus. 3. If you can provide some more details then I may be able to give some more suggestions. With regards Pankaj Pailwar Bangalore ----- Original Message ----- From: yasirmm at gmail.com To: Date: Mon Jul 16 09:12:49 CEST 2007 Subject: [oc] Connecting single PCI device to FPGA
> Hi everyone,
>
> I am very new to the PCI bus system but currently, my project
> requires
> me to access and control a single PCI32 device using the FPGA.

The
> PCI
> device that I am trying to access is a PCI-32bit device

working at
> 33MHz and the FPGA that I am using is a Spartan-3 FPGA. I

would
> like
> to implement a simple hardware-based controller and would like

to
> avoid implementing any cpu architecture on the FPGA. I believe
> finding
> a core is the easiest way to do this.
> If my understanding about the PCI bus system is correct, I

believe
> I
> would need a core that could make your FPGA to interface and
> control a
> PCI32 device. However, I have tried looking at several PCI32
> controller cores on the web, but it seems to me that most of

the
> cores
> are for turning your FPGA into PCI32 device BUT not to control
> another
> PCI32 device.
> Please advise if my understanding is wrong. I would greatly
> appreciated any opinion from any of you on what is the easiest

way
> to
> control a single PCI32 device using an FPGA.
>
>





Connecting single PCI device to FPGA
by Unknown on Jul 23, 2007
Not available!
On Wed, 18 Jul 2007 10:26:21 +0200 (CEST) yasirmm at gmail.com wrote:
Currently I am facing two problems:
1. How to control the Lynx Chip as PCI local bus, and


use a PCI core and a pci host controller. Do the rest as the
software driver for the chip.

2. How, if Im using a PCI core, to actually connect the signals from
the PCI core to the TSB82AA2 as both have the same exact signals on
them. (For example, signal Request is an input on FPGA core as well as
on the TSB82AA2)


Read the PCI standard, it explains it.


p/s: Pankaj Pailwar, could you please explain:
"A PCI32 device can be controlled just by using some simple buffers"
Looks very interesting. Thanks!


Understand the PCI standard, then it's easy.

Attila Kinali

--
Praised are the Fountains of Shelieth, the silver harp of the waters,
But blest in my name forever this stream that stanched my thirst!
-- Deed of Morred


Connecting single PCI device to FPGA
by Unknown on Jul 24, 2007
Not available!
Hi, I am also looking for more or less the same information as the mentioned questions. I've search at other forum boards but haven't got the information I required. Really hope that some 'expert' could help me and our fellow friends. Cheers! ----- Original Message ----- From: yasirmm at gmail.comyasirmm at g...> To: Date: Wed Jul 18 10:26:21 CEST 2007 Subject: [oc] Connecting single PCI device to FPGA
Hi, Thank you very much for the replies guys. My project aim is to get an FPGA to be able to communicate with the PC through a 1394b interface. To do this I am using a TSB82AA2 Lynx chip and a TSB81BA3 chip as a 1394b interface controller. Quoting from the datasheet: "The TSB82AA2 OHCI-Lynx operates as the interface between a 33-MHz/64-bit or 33-MHz/32-bit PCI local bus and a compatible 1394b PHY-layer device". Therefore, the FPGA will have to be interfaced as a PCI local bus to the TSB82AA2. Currently I am facing two problems: 1. How to control the Lynx Chip as PCI local bus, and 2. How, if Im using a PCI core, to actually connect the signals from the PCI core to the TSB82AA2 as both have the same exact signals on them. (For example, signal Request is an input on FPGA core as well as on the TSB82AA2) Thank you very much! Yasir p/s: Pankaj Pailwar, could you please explain: "A PCI32 device can be controlled just by using some simple buffers" Looks very interesting. Thanks! ----- Original Message ----- From: pankaj.pailwar at gmail.com To: Date: Mon Jul 16 15:31:40 CEST 2007 Subject: [oc] Connecting single PCI device to FPGA
> Hi,
>
> 1. A PCI32 device can be controlled just by using some simple
> buffers
> also; it all depends upon the exact application and the target
> device.
> 2. Using the PCI core at opencores also you can control a

PCI32
> target.
> The opencores has a master as well as a target interface. For

your
> application you just have to remove the target part. Of course

you
> will
> have to do a lot because opencores PCI is made for WISHBONE

bus.
> You
> will to have to write some converter between WISHBONE and your
> processor bus.
> 3. If you can provide some more details then I may be able to

give
> some > more suggestions. > With regards > Pankaj Pailwar > Bangalore > ----- Original Message ----- > From: yasirmm at gmail.com > To: > Date: Mon Jul 16 09:12:49 CEST 2007 > Subject: [oc] Connecting single PCI device to FPGA
> Hi everyone,
>
> I am very new to the PCI bus system but currently, my

project
> requires
> me to access and control a single PCI32 device using the

FPGA.
> The
> PCI
> device that I am trying to access is a PCI-32bit device

> working at
> 33MHz and the FPGA that I am using is a Spartan-3 FPGA. I

> would
> like
> to implement a simple hardware-based controller and would

like
> to
> avoid implementing any cpu architecture on the FPGA. I

believe
> finding
> a core is the easiest way to do this.
> If my understanding about the PCI bus system is correct,

I
> believe
> I
> would need a core that could make your FPGA to interface

and
> control a
> PCI32 device. However, I have tried looking at several

PCI32
> controller cores on the web, but it seems to me that most

of
> the
> cores
> are for turning your FPGA into PCI32 device BUT not to

control
> another
> PCI32 device.
> Please advise if my understanding is wrong. I would

greatly
> appreciated any opinion from any of you on what is the

easiest
> way
> to
> control a single PCI32 device using an FPGA.
>
>

>
>





Connecting single PCI device to FPGA
by Unknown on Jul 25, 2007
Not available!
On Tue, 24 Jul 2007 18:05:00 +0200 (CEST) ameliaw.azman at gmail.com wrote:
I am also looking for more or less the same information as the
mentioned questions. I've search at other forum boards but haven't got
the information I required.

Really hope that some 'expert' could help me and our fellow friends.


Read the PCI specifications. They explain this things quite clearly.
If you don't have access to the official docs, there are some
old versions of the pci specs floating around on the net, just google
for them.

Attila Kinali

--
Praised are the Fountains of Shelieth, the silver harp of the waters,
But blest in my name forever this stream that stanched my thirst!
-- Deed of Morred


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