1/1
QUESTION: PCI to ISA coding?
by Richard on Jan 17, 2006 |
Richard
Posts: 9 Joined: Mar 4, 2002 Last seen: Jan 27, 2025 |
||
hello, Although I've done PLD design off and on over the past 15 yrs; I've yet to do my first FPGA project. So please bear with my ignorance... I have a legacy ISA motion-control board which needs to be converted to PCI bus format. We cannot redesign the entire motion system; so we need to be able to "replicate" the ISA card on a PCI board. This is to avoid any modification of the software application; other than the bare minimum of changing the addresses of the port I/O, if needed. I should mention that there is -nothing- fancy going on over the ISA bus. All the card/PC does is simple Port-I/O, plus a single IRQ line. No DMA, no memory-type accessing, nothing at all other than port-I/O in a single 8-address block. I have looked at the PLX PCI9052, however it is a costly part, and if I have to do a redesign anyway, I'd very much like to collect all the 74HC glue logic into one part. As well as converting the entire through-hole board into a totally SMT design. So I'm very attracted to the idea of using a single FPGA to perform both the PCI-intfc job of the 9052 and all other logic functions of the board. My questions are these: 1) The PLX part has a "mode" where it basically emulates an ISA bus. Does the OpenCore PCI core have this functionality? Since the application is all about timing of pulses etc., it is important that the card-side of the PCI-interface act just like an 8mhz ISA slot. 2) Is it possible to set up a PCI-card so that it responds to the same port-I/O instructions as an ISA card would ? In other words, can the PCI card be set up so that it looks to the CPU like an I/O port at, say, 3F8. What I'm trying to get at is this: can the PCI card be made to work in place of the ISA card -without- having to modify the application-software in any way? And -without- having to write any sort of seperate 'device driver'. (I cannot modify the software to look for / talk to a device driver. I -can- modify what port-addresses it calls, if need be) It would be a huge benefit if the software didn't need to be touched; as the original programmer is years gone. 3) If I understand the terminology correctly; all I need is a simple "slave" or "target" PCI interface. Is that correct? 4) I also need to emulate an AD7628 dual 8b DAC. I plan on using a counter/PWM setup in the FPGA. If anyone can point to tutorials or examples of how to do this in the most gate-efficient way, that'd be great! If you'd be kind enough to cc replies to my email, I'd be grateful. thanks very much! Richard -- ============================ www.OregonStone.Com ============================ Please do NOT add or "subscribe" me to any lists or databases. |
QUESTION: PCI to ISA coding?
by Unknown on Jan 17, 2006 |
Not available! | ||
Hello Richard.
I think that I have solution right for you. I have developed a simple PCI
Target core witch suits your requirements exactly.
I have done many such projects, all works fine.
I can emulate ISA card so no single line of software has to be modified.
Addresses and interrupts can be hardwired, or P&P (jumper selectable).
All in simple and cheap ALTERA MAX3000 or ACEX1K parts.
I can integrate rest of You project in ALTERA CPLD/FPGA
I'm sorry for my english. It's not my native language. I live in
Poland-Europe.
If you interested, please contact me.
best regards
Wojtek.
----- Original Message -----
From: "Richard" metal at fullwave.com>
To: pci at opencores.org>
Sent: Tuesday, January 17, 2006 8:39 AM
Subject: [pci] QUESTION: PCI to ISA coding?
hello,
Although I've done PLD design off and on over
the past 15 yrs; I've yet to do my first FPGA
project. So please bear with my ignorance...
I have a legacy ISA motion-control board which
needs to be converted to PCI bus format.
We cannot redesign the entire motion system; so
we need to be able to "replicate" the ISA card
on a PCI board. This is to avoid any modification
of the software application; other than the bare
minimum of changing the addresses of the port
I/O, if needed.
I should mention that there is -nothing- fancy
going on over the ISA bus. All the card/PC does
is simple Port-I/O, plus a single IRQ line.
No DMA, no memory-type accessing, nothing at
all other than port-I/O in a single 8-address block.
I have looked at the PLX PCI9052, however it
is a costly part, and if I have to do a redesign
anyway, I'd very much like to collect all the 74HC
glue logic into one part. As well as converting
the entire through-hole board into a totally SMT
design.
So I'm very attracted to the idea of using a single
FPGA to perform both the PCI-intfc job of the
9052 and all other logic functions of the board.
My questions are these:
1) The PLX part has a "mode" where it basically
emulates an ISA bus. Does the OpenCore PCI
core have this functionality? Since the application
is all about timing of pulses etc., it is important
that the card-side of the PCI-interface act just
like an 8mhz ISA slot.
2) Is it possible to set up a PCI-card so that it
responds to the same port-I/O instructions as
an ISA card would ? In other words, can the PCI
card be set up so that it looks to the CPU like an
I/O port at, say, 3F8.
What I'm trying to get at is this: can the PCI card
be made to work in place of the ISA card -without-
having to modify the application-software in any way?
And -without- having to write any sort of seperate
'device driver'. (I cannot modify the software to
look for / talk to a device driver. I -can- modify
what port-addresses it calls, if need be)
It would be a huge benefit if the software didn't
need to be touched; as the original programmer is
years gone.
3) If I understand the terminology correctly; all I
need is a simple "slave" or "target" PCI interface.
Is that correct?
4) I also need to emulate an AD7628 dual 8b DAC.
I plan on using a counter/PWM setup in the FPGA.
If anyone can point to tutorials or examples of how
to do this in the most gate-efficient way, that'd be
great!
If you'd be kind enough to cc replies to my email,
I'd be grateful.
thanks very much!
Richard
--
============================
www.OregonStone.Com
============================
Please do NOT add or "subscribe"
me to any lists or databases.
_______________________________________________
http://www.opencores.org/mailman/listinfo/pci
|
QUESTION: PCI to ISA coding?
by Unknown on Jan 18, 2006 |
Not available! | ||
Hi
this is in regards to the message bellow which u send
on the PCI List.
Im also intrrested in an simple target only PCI core
which can be implemented on Xilinx CPLD.pleaselet me
know the details.
Regards,
Rajan Gajjar
--- Wojciech Cynk ARCO wojtek at arco.pl> wrote:
Hello Richard.
I think that I have solution right for you. I have
developed a simple PCI
Target core witch suits your requirements exactly.
I have done many such projects, all works fine.
I can emulate ISA card so no single line of software
has to be modified.
Addresses and interrupts can be hardwired, or P&P
(jumper selectable).
All in simple and cheap ALTERA MAX3000 or ACEX1K
parts.
I can integrate rest of You project in ALTERA
CPLD/FPGA
I'm sorry for my english. It's not my native
language. I live in
Poland-Europe.
If you interested, please contact me.
best regards
Wojtek.
----- Original Message -----
From: "Richard" metal at fullwave.com>
To: pci at opencores.org>
Sent: Tuesday, January 17, 2006 8:39 AM
Subject: [pci] QUESTION: PCI to ISA coding?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|
QUESTION: PCI to ISA coding?
by metal on Jan 22, 2006 |
metal
Posts: 1 Joined: Oct 3, 2012 Last seen: Oct 4, 2012 |
||
Hello Rajan,
Did you ever get any replies?
I had one reply by email, but it turned out not to be an open-core.
If you've had any replies from somebody with the source-code for a basic target core, please do let me know via email !
metal at fullwave.com
Or if somebody has modified the core on this site to strip out non-essentials, that would be great!
thanks very much,
Richard
----- Original Message -----
From: Rajan Dhrangadhariarajan_dd at y...>
To:
Date: Wed Jan 18 04:11:33 CET 2006
Subject: [pci] QUESTION: PCI to ISA coding?
Hi
this is in regards to the message bellow which u send on the PCI List. Im also intrrested in an simple target only PCI core which can be implemented on Xilinx CPLD.pleaselet me know the details. Regards, Rajan Gajjar |
QUESTION: PCI to ISA coding?
by Unknown on Jan 22, 2006 |
Not available! | ||
Hi
You can try this sites
http://www.fpga4fun.com/PCI.html
http://ben.com/minipci/
hope it is usefull to you
they are nice and small core, but im trying to find
other core if available
Regards,
Rajan Gajjar
--- metal at fullwave.com wrote:
Hello Rajan,
Did you ever get any replies?
I had one reply by email, but it turned out not to
be an open-core.
If you've had any replies from somebody with the
source-code for a basic target core, please do let
me know via email !
metal at fullwave.com
Or if somebody has modified the core on this site to
strip out non-essentials, that would be great!
thanks very much,
Richard
----- Original Message -----
From: Rajan Dhrangadhariarajan_dd at y...>
To:
Date: Wed Jan 18 04:11:33 CET 2006
Subject: [pci] QUESTION: PCI to ISA coding?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
> Hi
> > this is in regards to the message bellow which u send
> on the PCI List.
> Im also intrrested in an simple target only PCI core
> which can be implemented on Xilinx CPLD.pleaselet
me
> know the details.
_______________________________________________
http://www.opencores.org/mailman/listinfo/pci
> Regards, > Rajan Gajjar > |
QUESTION: PCI to ISA coding?
by dave on Jan 31, 2006 |
dave
Posts: 4 Joined: Dec 10, 2008 Last seen: Apr 23, 2009 |
||
Hi Richard,
For this type of interface maybe a big CPLD would be better than a
FPGA. They are live on powerup and can withstand +5v on their IO's,
with new FPGA's ALTERA Cyclone, XILINX Sparten 3E you would need
protection such as FET bus switches to protect the PCI pins.
The Lattice website has a complete simple PCI target design you can
download as long as you agree to use only Lattice parts. I found it a
help even though in the end I did my own target design.
Dave
----- Original Message -----
From: Richardmetal at f...>
To:
Date: Tue Jan 17 08:39:14 CET 2006
Subject: [pci] QUESTION: PCI to ISA coding?
hello,
Although I've done PLD design off and on over the past 15 yrs; I've yet to do my first FPGA project. So please bear with my ignorance... I have a legacy ISA motion-control board which needs to be converted to PCI bus format. We cannot redesign the entire motion system; so we need to be able to "replicate" the ISA card on a PCI board. This is to avoid any modification of the software application; other than the bare minimum of changing the addresses of the port I/O, if needed. I should mention that there is -nothing- fancy going on over the ISA bus. All the card/PC does is simple Port-I/O, plus a single IRQ line. No DMA, no memory-type accessing, nothing at all other than port-I/O in a single 8-address block. I have looked at the PLX PCI9052, however it is a costly part, and if I have to do a redesign anyway, I'd very much like to collect all the 74HC glue logic into one part. As well as converting the entire through-hole board into a totally SMT design. So I'm very attracted to the idea of using a single FPGA to perform both the PCI-intfc job of the 9052 and all other logic functions of the board. My questions are these: 1) The PLX part has a "mode" where it basically emulates an ISA bus. Does the OpenCore PCI core have this functionality? Since the application is all about timing of pulses etc., it is important that the card-side of the PCI-interface act just like an 8mhz ISA slot. 2) Is it possible to set up a PCI-card so that it responds to the same port-I/O instructions as an ISA card would ? In other words, can the PCI card be set up so that it looks to the CPU like an I/O port at, say, 3F8. What I'm trying to get at is this: can the PCI card be made to work in place of the ISA card -without- having to modify the application-software in any way? And -without- having to write any sort of seperate 'device driver'. (I cannot modify the software to look for / talk to a device driver. I -can- modify what port-addresses it calls, if need be) It would be a huge benefit if the software didn't need to be touched; as the original programmer is years gone. 3) If I understand the terminology correctly; all I need is a simple "slave" or "target" PCI interface. Is that correct? 4) I also need to emulate an AD7628 dual 8b DAC. I plan on using a counter/PWM setup in the FPGA. If anyone can point to tutorials or examples of how to do this in the most gate-efficient way, that'd be great! If you'd be kind enough to cc replies to my email, I'd be grateful. thanks very much! Richard -- ============================ www.OregonStone.Com ============================ Please do NOT add or "subscribe" me to any lists or databases. |
1/1